Like Tree14Likes

WHat is the best laguage to learn?

This is a discussion on WHat is the best laguage to learn? within the C Programming forums, part of the General Programming Boards category; Can c do anythin c++ can? WHich one of these languages should i learn? Btw, what is the best version ...

  1. #1
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54

    WHat is the best laguage to learn?

    Can c do anythin c++ can? WHich one of these languages should i learn?
    Btw, what is the best version of lunix to download?
    2nd- Can i created beautiful modern games, with amazing graphics using c?
    Last edited by Kuro Tensai; 12-05-2011 at 11:10 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,313
    Quote Originally Posted by Kuro Tensai
    WHat is the best laguage to learn?
    Dutch

    Quote Originally Posted by Kuro Tensai
    Can c do anythin c++ can?
    Yes and no.

    Quote Originally Posted by Kuro Tensai
    WHich one of these languages should i learn?
    Both.

    Quote Originally Posted by Kuro Tensai
    Btw, what is the best version of lunix to download?
    0.21, probably.

    Anyway, here's the deal: general language comparisons generally do not lead anywhere, other than say, a flamewar or a consensus to use the best tool for the job. You need to be specific on what are your motivations, what you want to do, etc. Otherwise, closing this thread would be my best option.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Mar 2011
    Posts
    546
    those are flamewar questions, lol.

    c is different from C++. since C is 'Turing complete' theoretically you can do anything C++ can do, just with a lot more of your own code and less abstraction. the question 'which language is best' depends on your application. in your case games. either one is suitable for games because they are the most widely supported by DirectX and OpenGL, although Microsoft would prefer you use C++ with DirectX. OpenGL is strictly C based. C++ will let you program at a higher level of abstraction, with the downside of being much more complicated to learn and apply properly.

    best Linux? Ubuntu or Mint are a couple of the easiest to load and get going with and are well supported.

  4. #4
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Kuro Tensai View Post
    Can c do anythin c++ can? WHich one of these languages should i learn?
    English ... nearly all programming languages use English keywords and almost all documentation is in English.

    Yes for all practical purposes C can do anything C++ can... but in a different way. Despite the tragic similarity in names, these are two separate and different languages that require totally different mindsets from a programmer...


    Btw, what is the best version of lunix to download?
    Start with a "live CD" version until you understand it... no point trashing your system over a complete unknown.

    2nd- Can i created beautiful modern games, with amazing graphics using c?
    Of course you can...
    Last edited by CommonTater; 12-05-2011 at 11:30 AM.

  5. #5
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    In general, you can do almost everything with any language.
    So choose one and start learning. You'd soon find that choosing one does not stop you from learning the other later on.


    But Real Programmers only learn assembly.
    Last edited by manasij7479; 12-05-2011 at 11:28 AM.
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  6. #6
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    Quote Originally Posted by manasij7479 View Post
    In general, you can do almost everything with any language. So choose one and start learning. You'd soon find that choosing one does not stop you from learning the other later on. ButReal Programmers only learn assembly.
    THIS IS WHAT I'VE BEN THINKING FOR DAYS. pLEASE GUYS ANSWER M: i WANNA CREATED MOVIE MAKERS, MUSIC PROGRAMS THAT ALLOW YOU TO CREATE MUSIC ( BETTER THAN FRUITY LOOPS), MEDIA PLAYERS, BEAUTIFUL GAMES, WEBSITES, BEAUTIFUL GRAPHICS, PROGRAMS TO CREATE AND EDIT MOVIES AND GAMES N ANYTHIN. wHICH LANGUAGE SHOULD I PICK?

  7. #7
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    > 2nd- Can i created beautiful modern games, with amazing graphics using c?
    Are you excellent in artistic design as well as programming?

    There aren't too many published games (especially ones involving exchange of money) where all the required skills are in a single person.

    For Linux, you can also download VMware Player: Run Windows 7, Chrome OS - Free Download for a Virtual PC and a whole host of OS variations at Virtual Appliances : Operating Systems | Virtual Appliance Marketplace

    You can also use https://www.virtualbox.org/ along with a downloaded ISO of the OS of your choice.

    The advantage over a liveCD is permanence (for local saved data) and the abilty to use the host OS at the same time.
    phanideepak007 likes this.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    Oh and there's no need for screaming and yelling on your 2nd post.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  9. #9
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,676
    Please don't yell (turn off your caps lock). There is no "magic bullet" language for what you want to do, and no language you can pick up in 24 hours or 21 days or anything like that. Read this article: Teach Yourself Programming in Ten Years.

    If you want my opinion in a one-word answer: APL.

  10. #10
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Kuro Tensai View Post
    THIS IS WHAT I'VE BEN THINKING FOR DAYS. pLEASE GUYS ANSWER M: i WANNA CREATED MOVIE MAKERS, MUSIC PROGRAMS THAT ALLOW YOU TO CREATE MUSIC ( BETTER THAN FRUITY LOOPS), MEDIA PLAYERS, BEAUTIFUL GAMES, WEBSITES, BEAUTIFUL GRAPHICS, PROGRAMS TO CREATE AND EDIT MOVIES AND GAMES N ANYTHIN. wHICH LANGUAGE SHOULD I PICK?
    We have answered your questions... so turn off your caps lock and stop shouting at us.

    ANY programming language can do most of what you want, so long as it's correctly interfaced to an up to date operating system. Even Pascal, and several dialects of BASIC if you're so inclined.

    You will most likely find C is the best fit with the largest number of OS API calls... Windows and Linux were both written in C. C++ tends to abstract (read:"avoid") this level of interraction with the OS preferring supposedly "higher level" libraries and "widgets" to do much the same tasks. Some will argue this is easier for a programmer (and it probably is), others will argue that it needlessly bloats software with wrappers and indirection... In the end it's a coin toss which language you settle on.

    But you must not --ever-- expect to pick one language and do everything in it... You will discover over time that C is better for some things, C++ for others, that third thing might be better in Java or Python... you use the right tool for the job. A "single language" programmer (like me) is something on an anachronism in today's world...

    You should look at some tutorials for all the various languages, read their documentation... pick he one you feel most comfortable learning with. You will eventually need to learn others, so don't even think that your first language is the end of it.
    Last edited by CommonTater; 12-05-2011 at 11:43 AM.

  11. #11
    Registered User
    Join Date
    Dec 2011
    Location
    Eindhoven, Noord-Brabant, Netherlands
    Posts
    54
    K, sry 4 yellin. I 've decided i will pick c. My goal is to make linux even more interesting than it already is. Where do i get started? Which books do i need?

  12. #12
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    Quote Originally Posted by Kuro Tensai View Post
    My goal is to make linux even more interesting than it already is
    What exactly do you find "interesting" in "linux" now ?
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  13. #13
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    If you don't know how to program at all at the moment, then picking C as a first programming language is a pretty BAD idea. Sometimes it lets you get away with almost anything, yet at other times, even the most minor infraction is severly punished. It will be months before you can write a decent C program, and by that time you may have given up in frustration. Even when it "works", unless you have a good peer group to review your code, you can't be sure that it's not full of bugs waiting to happen.

    If you want an easy start, pick something like python, where you get a nice safe environment, and reward for early success.
    King Mir likes this.
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  14. #14
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Kuro Tensai View Post
    THIS IS WHAT I'VE BEN THINKING FOR DAYS. pLEASE GUYS ANSWER M: i WANNA CREATED MOVIE MAKERS, MUSIC PROGRAMS THAT ALLOW YOU TO CREATE MUSIC ( BETTER THAN FRUITY LOOPS), MEDIA PLAYERS, BEAUTIFUL GAMES, WEBSITES, BEAUTIFUL GRAPHICS, PROGRAMS TO CREATE AND EDIT MOVIES AND GAMES N ANYTHIN. wHICH LANGUAGE SHOULD I PICK?
    Okay, write that into your calender for ABOUT THE NEXT DECADE, because it is almost certainly going to take you that long to do all this no matter what language you decide to start out with.

    This is a C/C++ forum, so of course we are going to recommend C or C++. For the most part, you can do anything in one that you can do in the other, only the means to the end will be different. C is somewhat more portable, but I don't think this will matter WRT what you want to do (high level graphical end-user applications). The other advantages of C are probably also less relevant in this realm than the advantages of C++, so my recommendation to you is C++.

    WRT linux, choose fedora or ubuntu as a first distro, and sign up here:
    LinuxQuestions.org - where Linux users come for help
    AND for fedora:
    FedoraForum.org - Fedora Support Forums and Community
    OR ubuntu:
    Ubuntu Forums

    The LiveCD's are extremely slow to use; if you are comfortable re-partitioning your hard drive, don't bother with the liveCD much, just install and give it a try, but back-up anything important on your windows partition first.
    Last edited by MK27; 12-05-2011 at 12:06 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  15. #15
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Salem View Post
    If you don't know how to program at all at the moment, then picking C as a first programming language is a pretty BAD idea. Sometimes it lets you get away with almost anything, yet at other times, even the most minor infraction is severly punished. It will be months before you can write a decent C program, and by that time you may have given up in frustration. Even when it "works", unless you have a good peer group to review your code, you can't be sure that it's not full of bugs waiting to happen.

    Conversely: that's actually why I would recommend someone begin with C.... It's make or break and it makes you into a very careful programmer.
    phanideepak007 likes this.

Page 1 of 3 123 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why learn C#?
    By Newbeee in forum C# Programming
    Replies: 37
    Last Post: 08-17-2009, 09:44 AM
  2. Where did you learn it?
    By swgh in forum Game Programming
    Replies: 13
    Last Post: 05-12-2006, 04:55 AM
  3. Looking to learn C++
    By Fuzzy91 in forum C++ Programming
    Replies: 40
    Last Post: 04-13-2006, 03:38 AM
  4. You have to learn C in order to learn C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 07-16-2004, 11:33 AM
  5. Were to learn.
    By Black&White in forum C++ Programming
    Replies: 9
    Last Post: 05-19-2004, 05:05 PM

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