|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: printf
"you type in printf("Hello World); and that should do it.
That won't do it, you forgot closing quotes. printf("this gets printed: first number = %d, second number here= %d\r",first_number, second_number); When it sees the %, it prints the first_number, then the words agian till it sees the next %,.. The %d is a format descriptor, there is %s for strings,... google on printf format. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| printf issue | Max Brin | Programming | 6 | 24-01-2006 17:03 |
| Printf | BillyJ | Programming | 9 | 21-01-2006 14:03 |
| printf problem | miketwalker | Programming | 7 | 31-01-2005 13:19 |
| printf isn't printf-ing. Help! | Meandmyself | Programming | 14 | 15-02-2004 16:27 |