most of the time I use this site for quick reference:
http://www.cplusplus.com/ref/
to answer your specific question, here is the documentation on printf: http://www.cplusplus.com/ref/cstdio/printf.html
though you might wanna have a look at some C tutorial...
How to make it in C? (me again:P)
Moderator: Board moderators
-
- Guru
- Posts: 834
- Joined: Wed May 29, 2002 4:11 pm
- Location: Wroclaw, Poland
- Contact:
you also may use this:
[c]
#include <stdio.h>
while((k = getchar()) != '\n')
{
/* something to do */
}
[/c]
using "conio.h" under unix is not allowed ...
Best regards
DM
[c]
#include <stdio.h>
while((k = getchar()) != '\n')
{
/* something to do */
}
[/c]
using "conio.h" under unix is not allowed ...
Best regards
DM
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)
Born from ashes - restarting counter of problems (800+ solved problems)
-
- New poster
- Posts: 40
- Joined: Mon Jul 21, 2003 9:21 am
- Location: Planet Earth
- Contact:
-
- Guru
- Posts: 584
- Joined: Thu Jun 19, 2003 3:48 am
- Location: Sanok, Poland
- Contact: