Thread: Seris C++ help needed!

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    7

    Seris C++ help needed!

    I need to know the basics of C++, Like what ever code must end with, start with etc. If somone could post somthing that would help me. I would appresate it! And if somone wanted, If they could post one of there programs with C++, as an example or not. So I could see the magic that C++ can do.
    Last edited by blah569; 10-04-2005 at 05:10 PM.

  2. #2
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    this is what a C++ program starts with:

    #

    This is what the program ends with:

    }

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    7
    Any other pointers?

  4. #4
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    yes, google is your friend, along with the keyword "tutorial"

  5. #5
    ^ Read Backwards^
    Join Date
    Sep 2005
    Location
    Earth
    Posts
    282
    yes, google is your friend, along with the keyword "tutorial"
    Or he could look at the tutorials at the site he is currently posting.
    http://www.cprogramming.com/tutorial.html

    P.S. Your spelling (and typing) is atrocious; and that will probably only hurt you when you start programming.

  6. #6
    Registered User
    Join Date
    Oct 2005
    Posts
    7
    Quote Originally Posted by Enahs
    Or he could look at the tutorials at the site he is currently posting.
    http://www.cprogramming.com/tutorial.html

    P.S. Your spelling (and typing) is atrocious; and that will probably only hurt you when you start programming.
    Start programing? I have been programing for a very long time! But, I have not masterd C++ yet, sadly .

  7. #7
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by rockytriton
    this is what a C++ program starts with:

    #

    This is what the program ends with:

    }
    And usually a .h file ends with #endif
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  8. #8
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    yea forgot that, but that's unless you use:
    #pragma once

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    I thought a C++ program began with a /
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  10. #10
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Quote Originally Posted by Salem
    I thought a C++ program began with a /
    You've gone senile ol' Salem.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  11. #11
    1479
    Join Date
    Aug 2003
    Posts
    253
    Quote Originally Posted by Dae
    You've gone senile ol' Salem.
    I think he is refering to comments....
    Knowledge is power and I want it all

    -0RealityFusion0-

  12. #12
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    no need to comment the inclusion of header files

  13. #13
    Registered User
    Join Date
    Sep 2005
    Posts
    142
    you can just write,,,,,,,, 10001010101000100100101001001001000101010010010101 00100101001010010100010000101101011111100101010101 01001010101010010101010101010101010101010101010101 00010101010101010101010101010101010100101010101010 10001010110101011110101010101010101010110111010101 001010011101000101010101010101.........
    and it would mean absolutly nothing.

  14. #14
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Quote Originally Posted by rockytriton
    no need to comment the inclusion of header files
    How about file headers, then? Did you know the GPL requires you to use one? So does the MPL, and it just might be a basic requirement in assigning any license to source code.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free needed or not?
    By quantt in forum Linux Programming
    Replies: 3
    Last Post: 06-25-2009, 09:32 AM
  2. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 11:55 AM
  3. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  4. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 08-31-2004, 11:24 PM
  5. Commands needed
    By bookworm in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-16-2003, 04:50 PM