| | |
substitute of semicolon
![]() |
[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 |
action api array auto based beginner binary bitmap c++ c/c++ calculator challenge char class classes code coding compile console conversion count createcopyofanyfileinc delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game garbage givemetehcodez graph gui hmenu homeworkhelp homeworkhelper iamthwee ifstream input insert int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node noob output parameter pointer primenumbersinrange problem program programming project python random read recursion reference rpg sockets string strings temperature template test text text-file tree url variable vector video win32 windows winsock wordfrequency wxwidgets





