[QUOTE=Cesar Augusto;37120741]C++ it's just a C with object oriented. Learn C before C++ helped me a lot. The syntax is similar. :)[/QUOTE]
C++ is not just C with Object Orientation. The syntax is similar, that's about it. C++ simplifies C in many ways, and adds a lot of useful things, one being Object Orientation.
Ok...but I started with C and C++ is easy for me now.
Hugs :)
[QUOTE=Cesar Augusto;37122029]Ok...but I started with C and C++ is easy for me now.
Hugs :)[/QUOTE]
Ok...but it's kind of unnecessary. You could start in C++ and write the same programs, and it will be more friendlier.
[QUOTE=ief014;37122095]Ok...but it's kind of unnecessary. You could start in C++ and write the same programs, and it will be more friendlier.[/QUOTE]
Most of the books I see on C + + says it is fundamental the domination of C language.
Ok...this is not my topic. My friend HTMLfreak, don't start with VB, start with C, C++ or C# (my opinion). :)
Great, another one of thóse posts. We should have a sticky about this.
[QUOTE=Kirth;37137774]Great, another one of thóse posts. We should have a sticky about this.[/QUOTE]
We used to have one, it was deleted/taken off sticky with no provided reason.
Well, that's a shame.
[QUOTE=Cesar Augusto;37122183]Most of the books I see on C + + says it is fundamental the domination of C language.
Ok...this is not my topic. My friend HTMLfreak, don't start with VB, start with C, C++ or C# (my opinion). :)[/QUOTE]
Well, i have done a bit of research, and it doesn't look like C++ would be good to start off. I have decided on Java, As it seems to have a lot of similarities to C, and i can start with doing basics and then work up to something better
Language is irrelevant. If you can learn the fundamentals of a programming language you can learn a new language within a weekend.
[QUOTE=HTMLfreak;37408237]Well, i have done a bit of research, and it doesn't look like C++ would be good to start off. I have decided on Java, As it seems to have a lot of similarities to C, and i can start with doing basics and then work up to something better[/QUOTE]
i have very little programming history except c# and i just dived right into c++, granted i have problems with the shitty switch statement which i find rather useless, I'm still learning c++. But here is a example of something basic.
[code]#include "stdafx.h"
#include "iostream"
#include "string"
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string userinput;
string password = "screwdriver";
cout << "Enter the password: ";
getline(cin, userinput);
if(userinput == password)
cout << "The password is correct!";
else
{
cout << "The password you entered is incorrect!";
}
getchar();
return 0;
}
[/code]
I can see why people compare it to Java.
Learn java. It's easy, it's object oriented, syntax looks nice. And learn about Classes/Objects before you learn anything else. Understanding how they work first will make it easier for you in the long run.
Sorry, you need to Log In to post a reply to this thread.