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?
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.
DutchOriginally Posted by Kuro Tensai
Yes and no.Originally Posted by Kuro Tensai
Both.Originally Posted by Kuro Tensai
0.21, probably.Originally Posted by Kuro Tensai
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.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
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.
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...
Start with a "live CD" version until you understand it... no point trashing your system over a complete unknown.Btw, what is the best version of lunix to download?
Of course you can...2nd- Can i created beautiful modern games, with amazing graphics using c?
Last edited by CommonTater; 12-05-2011 at 11:30 AM.
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.
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?
> 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.
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.
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.
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.
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.
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?
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.
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.
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