Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: c++ book

Hybrid View

  1. #1

    c++ book

    Hi guys today I got a c++ book from my teacher and it looks like all the examples are for windows. I havent a lot of time to look through it yet. If they do work how do I compile and run it. The book is 'Sams teach Yourself c++ in 21 days"

  2. #2

    Re:c++ book

    not that i know didly about c++ - but most the stuff should work fine under linux with gcc

  3. #3
    Associate
    Join Date
    Dec 2002
    Posts
    13

    Re:c++ book

    [quote author=pbharris link=board=9;threadid=7821;start=0#msg71480 date=1064641063]
    [...] but most the stuff should work fine under linux with gcc
    [/quote]
    Note that you need to compile C++ programs with "g++", not with "gcc", though both are part of "gcc", in the meaning of "GNU Compiler Collection".

  4. #4

    Re:c++ book

    Grab an O'rielly programming book. Most other books will be aimed towards Windows, and will have code for Windows that doesn't like UNIX.

  5. #5

    Re:c++ book

    I would like to get another book but I have no money unless I can find a place to get it used.

  6. #6

    Re:c++ book

    Bruce Eckel has a really good C++ book which can be read online or downloaded for free. His books get good reviews and he's also a big believer in open souce
    The ulr is http://www.mindview.net/Books








    http://mindview.net/Books/TICPP/ThinkingInCPP2e.html

  7. #7
    Guest

    Re:c++ book

    I'm a sicko, I really like the explanations in Sam's Teach yourself C++ for Linux in 21 days.

    But then again.. I'm a very dumb guy when it comes to coding.

  8. #8

    Re:c++ book

    What kind of topics are covered? If you're going to learn C++ in 21 days, chances are pretty slim that you'll start getting into the OS-specific stuff. Every single program I ever wrote in my first year programming class compiled and ran under linux and windows, and that's a 4 month course. You may have to change the names of some includes, but really most changes should be trivial.

  9. #9
    Guest

    Re:c++ book

    [quote author=Tyr_7BE link=board=9;threadid=7821;start=0#msg75823 date=1072418631]
    What kind of topics are covered? If you're going to learn C++ in 21 days, chances are pretty slim that you'll start getting into the OS-specific stuff. Every single program I ever wrote in my first year programming class compiled and ran under linux and windows, and that's a 4 month course. You may have to change the names of some includes, but really most changes should be trivial.
    [/quote]

    In my book, the programs should compile and run under Windows as well (unless they note that otherwise - mostly for programs that crash on Windows). It doesn't get OS specific untill after day 21 (there's an extra week with Linux stuff - not counted in the title to comform to SAMs standard titles)

  10. #10
    Associate
    Join Date
    Aug 2004
    Posts
    10

    Re:c++ book

    I learned from Sams Teach Yourself C++ in 21 days as well. I think I turned out to be a decent coder for the time I've put into it... heck, I'm developing a MUD.

    It proved to be a decent text with the help of the unix man pages, google and about a year of my patience.

    If I could go back (I wouldn't!) I'd probably learn from Thinking in C++ or an O'Reilly text, but Jessy Liberty done a fine job anyhow. Actually, I'm reading Thinking in C++ on occasion anyhow. It's a very enlightening (and free) e-book!

    Everything in STYC++I21D (ever feel like creating random acronyms? ;D) will compile with G++.

Similar Threads

  1. Unix Book
    By omidkamangar in forum Linux - General Topics
    Replies: 3
    Last Post: 07-14-2006, 01:22 AM
  2. Manage Groups in Address Book in XP
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 08:23 PM
  3. Manage Groups in the Address Book
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 06:19 AM
  4. A good C book?
    By Aaron_Adams in forum Linux - Software, Applications & Programming
    Replies: 12
    Last Post: 04-28-2004, 07:02 PM
  5. Trying to figure out the best book for XMAS
    By Rastar in forum Linux - General Topics
    Replies: 4
    Last Post: 12-18-2001, 10:12 AM

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
  •