I have used VB for sometime now, and would like to learn a version of C. Which whould I start off with?
I have used VB for sometime now, and would like to learn a version of C. Which whould I start off with?
c++ handles someof the more gritty aspects of programming that you are not used to.
there is a c++ tutorial
http://www.cprogramming.com/tutorial.html
here is a c vs c++ companrison..
http://www.eventhelix.com/RealtimeMa...erformance.htm
Personally.. If you fancy entering an object oriented language, I can only recommend javaSince it has numerous advantages.
Java is an OOPL as is C++. Java is much easier but C++ is much harder![]()
Thanks.
Matt
Is there a reason for wanting to learn C? I'd advise learning Java or C# - they are much less error prone when starting out.
"All our beliefs are being challenged now, and rightfully so, they're stupid." - Bill Hicks
C/C++ is only 'nasty' when your not used to it, learning all the variable types, how far you can cast, pointers etc can be a real nightmare for folks learning the language.. And there is a very good reason for this, C++ is a language where the programmer controls the program, not its developers. As such is a VERY powerful language, however that power allows you to make terrible mistakes as well, but its your job to find and correct them.
And in my opinion this is far better for you, how can you learn while being insulated from screwups by bytecode inturpreters?
But it isn't horrible, and once you get into it chances are you'll never look back, C is a base for MANY different programming languages.
But if your going to learn a system programming language, go for C++, It has more friendlier features, STL (Standard Template Library) isn't all that difficult to use.
basic hello world C++ program
people generally spend too much time bashing C/C++ because of what they have heard from other non-C/C++ coders, its silly really.Code:#include <iostream> using namespace std; int main(int argc, char* argv) { cout << "Hello World!!" << endl; return 0; }
Last edited by aidanjt; 09-02-2005 at 02:13 PM.
I went from FORTRAN (don't ask) to C to C++ to Java.
I'd probably suggest starting with Java to be honest. It's good to start thinking in terms of OO design as earlier as possible and Java hides a few of the trickier concepts, such as pointers and garbage collection, from the programmer.
Java is also good because the online documentation is very good and some of the free IDEs are rather good.
Why not learn both java and C++ thats what we did at uni, seeing as you already know
a prog lang it shouldnt be any prob to learn both at the same time.
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)