![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| Software Programming Software programming talk, ask questions about computer software programming or help others |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| > cout<<"what ever you want to write"; Try some spaces on either side of the '<<': #include <iostream> int main(void) { cout << "hello"; return 0; } | |||
| Advertisements |
| | #2 | ||
| On second thought, this makes no difference at all. What exactly is the code that you can't get to work, and what compile errors are you getting? "Johan Venter" <jventer@writeme.com> wrote in message news:3f00ceb1$1_1@news.brisbane.pipenetworks.com.. . > > cout<<"what ever you want to write"; > > Try some spaces on either side of the '<<': > > #include <iostream> > > int main(void) { > cout << "hello"; > return 0; > } > > | |||
| | #3 | ||
| use it with endl to display properly. cout << "Hello World " << endl; "Johan Venter" <jventer@writeme.com> wrote in message news:3f00ceb1$1_1@news.brisbane.pipenetworks.com.. . > > cout<<"what ever you want to write"; > > Try some spaces on either side of the '<<': > > #include <iostream> > > int main(void) { > cout << "hello"; > return 0; > } > > > | |||
| Featured Websites | ||||
|
![]() |
| Tags: doing, right |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| Featured Websites | ||||
|