A89: Re: A92: Letters and Numbers


[Prev][Next][Index][Thread]

A89: Re: A92: Letters and Numbers




In a message dated 8/6/99 11:04:46 AM Eastern Daylight Time, 
dysup@coah1.telmex.net.mx writes:

> > >  _main()
>  > >  {
>  > >       char str[14];
>  > >       int num = 245;
>  > >
>  > >      sprintf(str,"%d",num);
>  > >      DrawStr(0,0,num,4);
>  > >  };

l'm getting problems with the DrawStr function.  my compiler says that 
"passing arg 3...makes a pointer from an interger without a cast."  And so 
DrawStr doesn't print anything.  What's the problem?
Also, what does making the str[14] array do?  and how is that a part of 
sprintf( ?  Thanks!


Follow-Ups: