Page 1 of 1
Posted: Sun Jun 22, 2003 10:59 pm
by zsepi
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...
Posted: Mon Jul 07, 2003 6:46 am
by hank
You can try this code...
[c]
#include "stdio.h"
#include "conio.h"
void main()
{
int k ;
while( ( k=getche() )!='\n' ){
//..........
}
}
[/c]
Posted: Mon Jul 07, 2003 8:58 am
by Dominik Michniewski
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
Posted: Thu Sep 04, 2003 1:00 pm
by Russell John
Dominik Michniewski wrote:
using "conio.h" under unix is not allowed ...
Thanks for the info... didn't knew that!
What to use in UNIX then?

Posted: Thu Sep 04, 2003 1:08 pm
by Krzysztof Duleba
Dominik already wrote.
conio is a Borland extension, not present in the standard, not supported by other compilers, definitely not present in gcc.