-->
Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 3 of 3
--> -->

Hybrid View

-->
  1. #1
    Scout

    Join Date
    Feb 2009
    Posts
    24
    Post Thanks / Like
    Rep Power
    17
    Reputation
    6

    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.




  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Scout

    Join Date
    Jul 2008
    Posts
    6
    Post Thanks / Like
    Rep Power
    17
    Reputation
    26
    Quote Originally Posted by Shon3m View Post
    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.
    i wrote this up in only like 10 minutes, so ill take what you said in effect.

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 06:29 AM.
Powered by vBulletin® Copyright ©2000-2025, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org
-->