Is it necessary to learn C before C++ if we know VB a little bit?
For the present, is C still popular in the world like a C++ or Java?
Is it necessary to learn C before C++ if we know VB a little bit?
For the present, is C still popular in the world like a C++ or Java?
No, it's not necessary to learn C before C++, IMO.
>> For the present, is C still popular...
Not popular, but still around.
There are many people who dislike C very much, but then again there are us at cprog.com who love it. Try it and see what you think.
> Is it necessary to learn C before C++ if we know VB a little bit?
In my opinion it is not necessary to learn C before C++. C++ is a different language and can be learned as a new language.
> For the present, is C still popular in the world like a C++ or Java?
C++ and Java have other areas of application than C has. So it is hard to make a comparison. But there sure are areas of application where C++ has replaced C, in other areas Java is replacing C++.
Java sucks as a solution and everyone knows it (including Sun) - which is why .NET is, and will, replace several things including Java.in other areas Java is replacing C++
(just my opinions/observations )
gg
back to the oringal questions if so i would be screwed
Languages <> C++, HTML
/*The Ledgend of Ludlow Coming to a PC Near
You intro Cinenmatic Needed email me of
Reply to one of my threads if you can make
one, thats decent. */
Don't worry, one can still get a Cobol job....(a whole lot of stuff has been written in Java).
gg
See what BS has to say about this:
http://www.research.att.com/~bs/bs_f...l#prerequisite
>> Java sucks as a solution and everyone knows it
Solution to what? Know that Java is not only used in web-based apps and client/server-side programming, it's also used in cellphones etc.
Java has grown a lot since it came about and I think that it will still be a contender in web-programming in the future.
IMO, of course.
>Java sucks as a solution and everyone knows it (including Sun) <
Java may suck; but people who use dubious sources to prove the suckiness probably belong in a world of suckiness. Java should be right up your street.
Joe
A lot of people that use C bash C++ people, saying that C++ is slower and harder to learn. But in fact, C++ is usually faster and IMHO it's easier to learn. Here is an example:
http://www.gamedev.net/community/for...opic_id=143301
Don't mind the file I/O part, it is a known fact that fstream.h is kinda slow. But look at how the C people are saying their code runs faster in C than C++, when it is really because they can't program in C++ well.
I love C++. I love classes. I love OOP. I love STL. I use C++, and I never will stop. At least for the applications I'm doing now, for web stuff and UNIX I like Perl.
The posted code in that link is majorly cool! It has syntax highlighting and its own little scroll box so it doesn't mess up the rest of the page. We need to get something like that over here.
L33t sp3@k sux0rz (uZ it t@k3s 10 m1|\|ut3s 2 tr@nzl@te 1 \/\/0rd & th3n j00 h@\/3 2 g3t p@$t d@ m1zpelli|\|gz, @tr0(i0u$ gr@mm@r @|\|d 1n(0/\/\pr3#3|\|$1bl3 $l@|\|g. 1t p\/\/33nz j00!!
Speling is my faverit sujekt
I am a signature virus. Add me to your signature so that I may multiply.
If JoeSixPack told me the world was round, I don't have to consider the source to know that it's true.Java may suck; but people who use dubious sources to prove the suckiness probably belong in a world of suckiness. Java should be right up your street.
The technical statements in that "memo" are true - not because I read them there, but from experience. They wouldn't be any less true if it were originally posted in the Onion.
As for it being an actual Sun memo - who cares - you should read everything with a grain of salt. And yes, I perpetuated the propaganda by saying "even Sun" in my earlier post.
I've earned a descent part of my living developing in Java, and it definitely has its place (especially on the web as The Dog pointed out). I just don't think companies should be re-writing large scale C++ systems/applications in Java out of ignorance (or any other language for that matter). To clarify, this is what I meant by "Java sucks as a solution" - and was in response to "in other areas Java is replacing C++" - which is still true. I'm not trying to bash the language. Java is an excellent OOP language. The problem is folks are applying it in the wrong domains. I'll stop here since I'm WAY off topic for this thread.
I knew I should of edited that post after I sent it, but kicking over an ant hill is fun sometimes
BTW - learn C first. Is it necessary? No, but I think you'll be a much better OO designer/programmer having first mastered modular programming. If this isn't your first programming language and you're ready to try on C++, then definately don't consider C a prerequisite.
gg
Assume I don't know and don't lern C first, but I start my 1st program with C++ and understand all syntax and command. After I need to see and read C code, can I understand all C code or I need to start C code again. Someone ever told me C is subset of C++ right sir..?
Yes, the raw language is a subset - but each has different standard libraries. So you may very well read C code and see function calls that you've never seen before - but looking up what these functions do is trivial. For example, here is "Hello world!" in both languages:
All the looping and branching constructs are the same between C and C++, like for, while, do/while, if/else, etc.Code://C++ version #include <iostream> using namespace std; int main() { cout << "Hello World!" << enld; return 0; } ... /* C version */ #include <stdio.h> int main() { printf("Hello World!\n"); return 0; }
So, if you learn the C++ language/syntax in its entirety, then you will have learned the C language/syntax - you just have to know which parts are C++ only. However, when you learn a language, you will usually also learn the libraries that they use. C++ can access and use the C libraries (and you will in alot of cases), but things like I/O are completely different - like in the code example above.
gg
No - you do not need to have learned C before C++/Java. However, student I have taught and have had C before C++ and/or Java do better. We have noticed this in grades over the past two years.
That is another reason why some colleges/university require some programming background before taking C++/Java.
Mr. C: Author and Instructor