Quote:
Originally posted by Saga2001
-FooL-
Funny how they all share one thing... they almost always start with a certain line...
C++ = int main() -- from what I've seen that is
|
#include <>
Quote:
Originally posted by Falcor
#include <iostream.h>
int main() {
int number;
cout << "OMG LIKE ENTER A NUMBER :O\n"
cin >> number;
cout << "\nOMG THAT NUMBER IS LIKE" << number << "!!";
}
|
What a disgusting piece of code/output! Much better is...
NPC Code:
#include <iostream.h>
int main()
{
int number;
cout << "OMG LIKE ENTER A NUMBER :O" << endl;
cin >> number;
cout << endl << "OMG THAT NUMBER IS LIKE " << number << "!!";
return 0; // If you are going to use int main(), you need to return a value.
}
Quote:
Originally posted by Gohan43331
I have a spare copy of the NSB, if you would like it...i will post on my site in a few and edit to put the link in...
[edit]
http://brajah.tripod.com/guide.html
Note: HTML file because of stupid tripod which refuses to allow me to remote download.
[/edit]
|
It still isn't up.