| | |
substitute of semicolon
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
[Oooooh, when will these questions cease to poison new programmers...?]
Yes. Hone your Googling skills if you are out of hints. [Bonus: Google the groups. Don't make me mention comp.lang.c (ooops!).]
Yes. Hone your Googling skills if you are out of hints. [Bonus: Google the groups. Don't make me mention comp.lang.c (ooops!).]
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
•
•
•
•
Originally Posted by Rashakil Fol
Use an empty while loop.
C++ Syntax (Toggle Plain Text)
while(cout<<"Hello World") { }
Try
I would assume that like most things cout would return a +ive int if it has success
C++ Syntax (Toggle Plain Text)
#include <iostream> int main(){ while((std::cout << "Hello World"<< std::endl) == 0){} }
I would assume that like most things cout would return a +ive int if it has success
![]() |
Similar Threads
- Laptop substitute - indigeneous idea...!!! (Motherboards, CPUs and RAM)
- substitute for conio.h in linux (C)
- program overwritng the 1st input (C++)
Other Threads in the C++ Forum
- Previous Thread: managed c++ - managing a string
- Next Thread: Just Starting. Confused.
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct temperature template templates text text-file tree url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





