Printf Issues
From: Ao the Unstoppable (cyanbloodbane_at_gmail.com)
Date: 11/30/04
- Next message: Phlip: "Re: Printf Issues"
- Previous message: Jerry Coffin: "Re: C++ hash map container"
- Next in thread: Phlip: "Re: Printf Issues"
- Reply: Phlip: "Re: Printf Issues"
- Reply: Jack Klein: "Re: Printf Issues"
- Reply: Andrew Koenig: "Re: Printf Issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Nov 2004 22:21:56 -0800
Hi. I'm pretty new to C/C++, and I was wondering how to correctly use
printf and then create a new line. What in printf creates a new line,
as if it was endl; in cout?
For example:
printf ("Hello World!");
printf ("How are you?");
How would I make it skip a line to output:
Hello World!
How are you?
...rather than:
Hellow World!How are you?
Thanks.
- Next message: Phlip: "Re: Printf Issues"
- Previous message: Jerry Coffin: "Re: C++ hash map container"
- Next in thread: Phlip: "Re: Printf Issues"
- Reply: Phlip: "Re: Printf Issues"
- Reply: Jack Klein: "Re: Printf Issues"
- Reply: Andrew Koenig: "Re: Printf Issues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|