Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29

Thread: C++ Tutorial Chapters 1 & 2

  1. #11
    Senior Member
    Join Date
    Nov 2001
    Location
    Ireland
    Posts
    734
    emrys > I "stoked"

  2. #12

    Thumbs up

    Thanks Jeth, don't stop there though, must acquire more info.
    /me likes jethro as a teacher

    Greg

  3. #13
    It's a good thing you do, Jethro... Keep up the good work!

    If you wanna know more read a book, try 'Sams Teach Yourself C++ in 21 Days'
    Keep in mind not to expect the 21-day miracle, though... Take your time with it and don't try to learn too much at one time (1, you'll burn out and 2, you'll forget too much stuff... It's a lot to soak in). Other than that, it's a great book! That's how I got started and it's the book that I reccomend the most as well...

    Rev
    Many will ask, \"Where do you want to go today?\" because they\'re still scratching for ideas.

    With *NIX, there\'s already a way. The sum of us just need roadmaps to get there.

  4. #14
    Antionline Quitter..Srsly
    Join Date
    Aug 2001
    Posts
    457
    bah argentina lost....i still think they will go all the way :P
    \"\"A weak mind is like a microscope, which magnifies trifling things but cannot receive great ones.\" — G.K. Chesterton, 19th-century English essayist and poet\"

  5. #15
    Hey jeth thanks for the tutorial, it helped a lot

  6. #16

    Talking just a thought...

    the SYSTEM("PAUSE") function is nice if you just want to double click the *.exe file and run the program, but if you have alot of programs and are running in a dos prompt, why not change the path of the executables? example:

    (there are many ways to do this)

    path=c:\<directory where your .exe files are>

    the above is the same as: path c:\<directory>

    and the same as path = c:\<directory>

    (told ya there were many ways to do it )

    all you have to do is type (in your dos prompt, and without quotes):

    C:\> "path=c:\<put your directory here>"

    C:\> "program_name"

    and that's it...obviously you can replace path=c:\ with any of your other drives.

    -Nitro-

  7. #17
    Ahhh C++ so EZ and yet so cool.

  8. #18
    Senior Member
    Join Date
    Aug 2001
    Posts
    259
    don't forget that the == is used as a comparison so if you want to see if a variable is equal to something like
    if (variablea == 7)
    dosomething;
    but if you want to set a variable to something use the = sign like, if you use the single equals in a comparison it gives some screwy results.
    int variablea =7;
    Alternate realities celebrate reality. If you cant handle the reality your in, then you wont be able to handle the one your attempting to escape to.

  9. #19
    thankx jethro
    it helped me alot
    but where is ch3??
    i hope it's in the way

  10. #20
    Senior Member
    Join Date
    Oct 2001
    Posts
    186
    Here is a good link to notes and some example code from my last c++ class at kent state. They are helpfull and contain information not provided here that could help on the quest to greater knowledge of c++. enjoy
    http://trident.mcs.kent.edu/~collard/class/oop/
    Ben Franklin said it best. \"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.\"

Posting Permissions

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