
Results 1 to 3 of 3
Thread: C++ Scripting Tutoial #1
-->
-->
Hybrid View
-->
-
07-02-09, 11:30 PM #1
Don't mean to be a bother..
I don't mean to be a bother but there is so much hear that is kinda misleading. Hope you take this as a friendly correction
Starting with pre processor. You refer to it as a symbol. It is referred to as an operator. You also talk about how in your case your including iostream.h file. You should make sure to add that these are library files and the < and > symbols that surround iostream are to tell the specific compiler to locate that header file in its library folder.
Then the int main() is pretty much correct other then the fact that you only need int main() for executable files.. But that is a completly different subject and didn't need to be added so your good on that part
For curly brackets "{ }" you should explain the code within these brackets are called blocks of code.
Sorry for being such a correction freak.. I just like to help people and make it esier for people to understand stuff.
For cout and and displaying text. I really urge people to explain it for what it really is. Think of cout as Console Output and cin as Console Input. It is so much easier to understand and 100 times quicker to explain.
return 0; means to return a value of 0 which tells the function that no errors occured during the compile & run of the program.
-
08-02-09, 03:05 AM #2
Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!
SEO Blog