Platform problems - advice about equipment.

This is a discussion on Platform problems - advice about equipment. within the C++ Programming forums, part of the General Programming Boards category; Hello Board, I am literally two hours new to C++ programming. I am going down the self taught route as ...

  1. #1
    Registered User
    Join Date
    Nov 2008
    Location
    Camden, London
    Posts
    1

    Smile Platform problems - advice about equipment.

    Hello Board,

    I am literally two hours new to C++ programming. I am going down the self taught route as I don't have the funds for an expensive course.

    I currently use Mac OSX and it has its own compiler and editor. Am I creating more work and possibly causing future problems with coding using a Mac based OS or should I just pick a cheap laptop up?

    Any advice would be grateful.

    Regards and hello all!

    Dr.S

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Should be fine if you make sure you set the "-ansi" switch in the compiler settings. That will force the compiler to only use standard variants of functins and no extensions that are compiler specific. If you want the compiler to be REALLY picky, add "-pedantic".

    C++ is a portable language, and as long as you are using a standards based book (see the book recommendations thread for books), and you don't start going into graphics programming [which by the way is non-standard anyways, but the principles are pretty much the same for all graphical variants - just that functions and mechanisms are called differently). However, for the first part of learning to program, you really should be doing non-graphical programming, so it shouldn't make much difference what OS or platform you use for your training at that point.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by drspock View Post
    I am going down the self taught route as I don't have the funds for an expensive course.

    Dr.S
    I would think a doctor would afford it.
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 03:59 AM
  2. Replies: 9
    Last Post: 12-19-2006, 04:23 PM
  3. MinGW Linking GUI Program
    By Tonto in forum Tech Board
    Replies: 19
    Last Post: 08-23-2006, 04:28 PM
  4. Visual C++ 2005 linking and file sizes
    By Rune Hunter in forum C++ Programming
    Replies: 2
    Last Post: 11-12-2005, 10:41 PM
  5. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21