Thread: Wanting to learn a new programming language

  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    4

    Wanting to learn a new programming language

    Hey everyone,
    I know you probally get alot of new people here so im gonna try and be as less annoying as possible. I am wanting to learn a programming language on my spare time and i was just wondering if C++ is a good one to start with, I have xcode on my ibook and im not quite sure how to use it dose anyone know of a good site as to where i can start learning or any recommendations on a easyer programming language to start with? Thanks all in advance

  2. #2
    Registered User
    Join Date
    Aug 2007
    Location
    U.K.
    Posts
    148
    The reason I've started to learn C++ (my first language) is because after a lot of threads like yours, and asking people, it seems that with C++ you can pretty much do anything. There is a big job market for it, and also once you know it, learning C is not a big deal.

    Also C++ I believe is harder to learn than some other languages, so me not knowing any, if I can learn this to a good level, then most of the other languages should come more easy.

  3. #3
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    yes very true, I have looked at a few tutorials its just xcode for mac is kinda weird when i start a new c++ file it make about 10 different files and im not sure which one to start editing

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    Is there a more simple compiler for mac out there. It seems like xcode is quite complicated to make a simple c program

  5. #5
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by insutama View Post
    Is there a more simple compiler for mac out there. It seems like xcode is quite complicated to make a simple c program
    xcode is an IDE, not a compiler. The compiler is "gcc," and it's already installed.

  6. #6
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    oh okay so if i just open gcc it will be alot simpler to do basic c rather than use xcode because xcode makes like 15 files when i start a new one

  7. #7
    Registered User
    Join Date
    Apr 2006
    Posts
    2,149
    I would recommend not starting with C++ as your first language. C++ is a hard language with a steep learning curve. I recommend Java or Python as starting languages.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  8. #8
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by insutama View Post
    oh okay so if i just open gcc it will be alot simpler to do basic c rather than use xcode because xcode makes like 15 files when i start a new one
    Being an IDE, that is not surprising. First, verify that the command 'gcc' actually works on your system (from the console). If you have xcode installed, it certainly should.

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by King Mir View Post
    I would recommend not starting with C++ as your first language. C++ is a hard language with a steep learning curve. I recommend Java or Python as starting languages.
    For indentation, definitely recommend Pyhton, as above. Wonderful language in that it requires correct indentation or it won't work at all.
    That mentioned, I don't see C++ as a very hard thing. You don't need to worry about a lot of things you can abstract. It probably won't have a garbage collector, but otherwise it's quite similar to Java.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #10
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by insutama View Post
    yes very true, I have looked at a few tutorials its just xcode for mac is kinda weird when i start a new c++ file it make about 10 different files and im not sure which one to start editing
    I'm pretty sure that xcode allows you to start an "empty" project, in which case you don't get 10 files. [Although I haven't got a Mac, so I have never used xcode].

    --
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which language to start with
    By slats in forum A Brief History of Cprogramming.com
    Replies: 51
    Last Post: 05-16-2008, 06:32 AM
  2. Language for text.
    By virgoman57 in forum C Programming
    Replies: 3
    Last Post: 05-12-2008, 02:31 AM
  3. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  4. Language Script..
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 03-30-2003, 06:48 AM
  5. Good site to learn about Prog. language concept?
    By Extrovert in forum Tech Board
    Replies: 5
    Last Post: 03-13-2003, 02:46 AM