|
Post by nervous on Nov 15, 2008 18:12:30 GMT -5
See who can get the 1000th post on this thread! Winner gets a cookie or somthing
1...
|
|
|
Post by jdog6973 on Nov 15, 2008 18:50:00 GMT -5
2... but with the amount of people on this forum it should be like 100
|
|
|
Post by Chain_the_Warforged on Nov 15, 2008 21:35:59 GMT -5
int i = 1
for(i >= 1000; i++) { cout << i << "\n"; }
|
|
|
Post by jdog6973 on Nov 15, 2008 22:36:04 GMT -5
?
|
|
|
Post by monkeyface on Nov 16, 2008 5:40:07 GMT -5
I believe he was hinting at "3", so...
4.
|
|
|
Post by Chain_the_Warforged on Nov 16, 2008 12:11:26 GMT -5
That would actually output the numbers 1 to 1,000 in order, but hey....
cout << "5";
|
|
|
Post by monkeyface on Nov 16, 2008 12:39:29 GMT -5
oh right. Lol...
6
|
|
inari
Student
Training w/Orion
Posts: 23
|
Post by inari on Nov 16, 2008 17:22:05 GMT -5
Lol, coding languages come in handy when trying to understand chain... 7
|
|
|
Post by nervous on Nov 17, 2008 15:26:13 GMT -5
it doesnt matter if it takes a long time , thats the point.
8
|
|
inari
Student
Training w/Orion
Posts: 23
|
Post by inari on Nov 18, 2008 21:10:44 GMT -5
9... Why are we even doing this? It makes no sense....
|
|
|
Post by Chain_the_Warforged on Nov 18, 2008 22:42:42 GMT -5
int ten = 10;
cout << ten;
|
|
Chaotic Seraph
Student
Training w/ Arnick2
Angel no more; I provide luck that turns to curse.
Posts: 120
|
Post by Chaotic Seraph on Nov 19, 2008 19:25:00 GMT -5
once-- yay for spanish! It doesnt have to make sense Inari because thats the point of it lol!
|
|
|
Post by Chain_the_Warforged on Nov 19, 2008 21:45:51 GMT -5
int number[1000];
number[12] = 12;
cout << number[12];
//I think I'll try and make a more complex, less intuitive function for each number I post....
|
|
inari
Student
Training w/Orion
Posts: 23
|
Post by inari on Nov 19, 2008 22:01:49 GMT -5
Int cats;
cats = 1000;
cout << "I have"; cout << cats; cout << "Cats"; cout << end1; cats = cats - 987; cout << "Now I have" << cats << "Cats" << end1; // That was actually quite fun!
|
|
|
Post by Chain_the_Warforged on Nov 19, 2008 22:07:13 GMT -5
int numberoutput = 0; int numberinput = 14;
int GetNumberInSequence (int number) { numberput = numberinput - 1; for(int i = 0; i >= number; i ++) { numberoutput ++; cout << numberoutput << "\n"; } }
int Main() { GetNumberInSequence(numberinput); }
//Even more complex! This is fun!
EDIT: Oops, missed something quite obvious.
|
|