You seem not mature enough yet to program. judging from your post. erm.?
So again, I ask what are you looking for?so for embedded platforms i need c, right?
Personally, I'm largely ignoring the sms/skiddie wannabe.
Whilst you can do "anything" in C, it is bone-headed to believe that you should do "everything" in C. To that end, since you will invariably learn multiple skills, where you start doesn't really matter (all roads lead to Rome as they say).
Second, the syntax for C can be learned in a few days. Getting to the point where you no longer make any of the 1000's of dumb mistakes that await you takes MANY years of practice.
Third, regardless of whichever language you choose, if you don't learn "HOW TO PROGRAM", you're screwed anyway. So again, where you start has little bearing on the arrival at some destination.
Being able to say "I can write 'hello world' programs in 100 different languages" isn't a particularly notable achievement.
It might come as a bit of a surprise, but writing a 100K line program is only 10% worrying about where all the braces and semi-colons go. There are a whole range of other skills needed for analysis, design, debugging, testing etc. If you're clueless about all of those, you're basically stuck at the level of solving homework questions. You do not (and cannot) write a substantial program from just sitting at the keyboard and hacking away at the code.
FWIW, if you don't know how to program in any language, then C is a pretty bad choice for a first language.
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 finally understand what object oriented means. Can u program object oriented in c? Someone, the same person who explained me what object oriented means, told it is possible but i dunno if he is roght, since c is no object oriented. Can c do everything c++ can? Can asm do everything both languages can?
Last edited by malvado; 06-04-2011 at 01:30 PM.
lol. this really gets me mavado. But I understand where you're coming from so I'll help you out.
most modern languages that are in use today were made using C. These include C++, Java, Objective-C, C#, Python, JavaScript and on and on.
the forum that you're on right now use PHP which is made from C. The most used Server that delivers millions of web pages a day - Apache - is made from C.
the operating system that runs the iphone, ipad and mac at the core is made from C.
If you're on windows now, at its core is all C code. I can go and on with examples of what applications and hardware has C code inside it, however I'll stop there and tell you this: "When the concrete cases are understood, the abstractions are readily made".
google it, you'll find the author.
the point is this malvado: All these programs and other languages were made from C. They aren't necessarily better as some ppl on here will tell you. Simply tweaked to accomplish a specific task. whether that be making larger and more complex programs, or being able to run on multiple platforms etc.
How were they able to accomplish this. because they understood the fundementals. The C programming language doesn't hold your hand like others do. If you learn it, you will learn it like all of us did. making errors, getting frustrated and sometimes even banging your head against the wall. Howeverrr. when you have learned it - or enough of it that you're comfortable with it - you will realize that you could do anything without limits, that you put your mind to. why? because you understood the fundamentals.
What do you want to do, hack Kinect and show some real time 3d teleconferencing features? want to write a multimedia or GUI program in Windows, Linux, or Mac OSX without hardly changing a line of code? or maybe you want to create a new protocol that does something on the web? Would you like to create a Object oriented library so you can create objects in your code or even understand the essence of OOP? Do you want to create another mars rover or video games for a a particular platform.
Because the C programming language is what it is. You will learn a lot about computers, memory, algorithms and libraries and such. You will learn the fundamentals and then, it's just about where your imagination wants to take you.
Warning: Opinions subject to change without notice
The C Library Reference Guide
Understand the fundamentals
Then have some more fun
I finally understand what object oriented means. Can u program object oriented in c? Someone, the same person who explained me what object oriented means, told it is possible but i dunno if he is right, since c is no object oriented. Can c do everything c++ can? Can asm do everything both languages can?
Both C and C++ get compiled to assembly, which then gets turned into machine code. Given that fact, yes, everything you can do with C, you can do with C++ or assembly. Each language is better suited for some tasks and worse for others, but no one language is best for everything.
I would bet serious money that you don't really understand what object oriented means, at least not fully. C is not object oriented. There are certain features of OO languages you can implement in C, but they are not there by default and it is a god awful amount of work to put them in there. If you need OO features, write in C++. If you need smaller, more efficient code, write in C. If you have to do some tricky hardware programming, or you're smarter than all the compiler writers, use assembly.
If you can't understand what we've been saying by now, I think there's no hope for you. Perhaps a few more years of programming and maturing, and you will understand what we've been trying to tell you. I move for this thread to be closed before you come back and ask the same ridiculous question for the umpteenth time.
This repetitiveness is, well, repetitive.
You've basically asked "can c do...." several times now, so I think you've got all the answers you're going to get.
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.