+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: C++ forums?

  1. #1
    Junior Member lodebare is on a distinguished road
    Join Date
    Nov 2001
    Posts
    14

    C++ forums?

    any c++ forums for someone just starting to try to learn c++?Thanks

  2. #2
    Senior Member preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481 preacherman481
    Join Date
    Feb 2002
    Posts
    856
    For the wages of sin is death, but the free gift of God is eternal life in Christ Jesus our Lord.
    (Romans 6:23, WEB)

  3. #3
    Junior Member lodebare is on a distinguished road
    Join Date
    Nov 2001
    Posts
    14

    C++?

    Am trying to learn on my own,have downloaded many things. Stuck on first program,it is just a simple Hellow World-but keep getting a syntax error.May have to take a class to get on right track.Thank You.

  4. #4
    Senior Member jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of jethro has much to be proud of
    Join Date
    Nov 2001
    Location
    Ireland
    Posts
    735
    http://jethrojones.hyperlinx.cz/text...usplus_ch1.htm
    Sorry for the spam, but that should clear some things up for you.

  5. #5
    Banned JRoc is infamous around these parts JRoc is infamous around these parts JRoc is infamous around these parts
    Join Date
    Mar 2002
    Posts
    520
    I like the Dev Bloodshed compiler. I recommend it to anyone who likes C or C++. Get it at http://www.downloads.com

  6. #6
    Junior Member lodebare is on a distinguished road
    Join Date
    Nov 2001
    Posts
    14
    Thank you jethro.Thank you JRoc.

  7. #7
    Webius Designerous Indiginous xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute xmaddness has a reputation beyond repute
    Join Date
    Mar 2002
    Location
    South Florida
    Posts
    1,121
    #include <iostream.h>
    int main()
    {
    cout<<"Hello World";
    return 0;
    }


    thats the hello world.
    i use the DJGPP compiler for windows.. it works fairly well DJGPP

    gcc hello.c -o hello.exe
    to compile with it.

  8. #8
    AO Antique pwaring pwaring pwaring pwaring pwaring pwaring pwaring pwaring pwaring pwaring pwaring pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,408
    Game Coding UK has some excellent forums for discussing all aspects of C++, including the game libraries that can be used and DirectX.
    Paul Waring - Web site design and development.

  9. #9
    AntiOnline Senior Member souleman souleman souleman souleman souleman souleman souleman souleman souleman souleman souleman souleman's Avatar
    Join Date
    Oct 2001
    Location
    Flint, MI
    Posts
    2,884
    #include <iostream.h>
    void main()
    {
    cout<<"Hello World";
    }


    Umm, doesn't that work also? Been a while since I wrote a c++ program, but it is a whole line shorter then xmaddness' program
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  10. #10
    Member ihsir is on a distinguished road
    Join Date
    Dec 2001
    Posts
    94
    c/c++/c# site : www.cprogramming.com

    souleman:


    yes it works perfectly

    but int main() should be prefered over void main() coz it will return a value back to the OS/parent program from where it was called. this indicates wether it was successful or not according to the return value.

    void() is normally used for functions. though in small/basic programs there is no harm in using void main()

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides