PDA

Click to See Complete Forum and Search --> : c#, c++


Pino
May 22nd, 2005, 12:38 PM
Ok I've had c# for a while adn too be honest I havent had much time to get down to it, i've only toyed with it. Now then I have a few weeks off college and I want to get stuck into a new language, what are peoples opinions of moving to c++ or c# ?

I'm a Vb programmer (Vb 6) and also program with PHP.

any comments would be most appriciated :)

Hack
May 23rd, 2005, 09:31 AM
I would say go ahead and play with it. I found the moving from C++ to C# was a whole heck of a lot simpler than moving from VB6 to VB.NET

If you know C++, then you will spend most of your time getting familiar with the .NET framework rather than having to fundamentally learn a whole new language.

To be sure, some things are different in C#, but, as I said, it is not like moving from VB6 to VB.NET.

Pino
May 23rd, 2005, 09:34 AM
hmm being a vb6 developer people keep saying leave c#, which is why i'm contemplating moving to c++ rather than c#. but i was thinking, the frameworks going to be big soon, and i'm not sure if you will be able to develop c++ on longhorn?

Hack
May 23rd, 2005, 09:44 AM
hmm being a vb6 developer people keep saying leave c#, which is why i'm contemplating moving to c++ rather than c#. but i was thinking, the frameworks going to be big soon, and i'm not sure if you will be able to develop c++ on longhorn?Oh, I misunderstood you. I thought you knew C++ and was thinking of tackling C#.

Given that you don't know C++, I think it would be more advisable to go after that first. You will get the principles of that language down without the encumbrance of the added requirements of learning the .NET Framework. Once you feel comfortable with C++, then you can transition over to C# without having to learn two things at the same time.

Doubtless there will be people who disagree with that and will advise diving right into C#. However, given that the world of C anything is pretty new to you, I would go the ++ route first.

Pino
May 23rd, 2005, 09:46 AM
Ok thanks, if anyone ahs any other thoughts please share :)

SeanK
May 23rd, 2005, 10:21 AM
I agree with Hack on this one. I really don't know either C++ or C#, but looking at them, it seems like it would be easier to move from C++ to C# as opposed to diving straight into C#.

If you will, it would be kind of like learning to walk before you learn to run. ;)

Hack
May 23rd, 2005, 02:01 PM
If you will, it would be kind of like learning to walk before you learn to run. ;)Exactly... :)

Pino
May 23rd, 2005, 02:04 PM
But c# isnt an upgrade from c++ right?

Hack
May 24th, 2005, 06:00 AM
But c# isnt an upgrade from c++ right?Because C# is encapsulated within the .NET framework, I would actually say that is it an upgrade.

sciguyryan
May 24th, 2005, 06:41 AM
Because C# is encapsulated within the .NET framework, I would actually say that is it an upgrade.


Yes C# is an upgrade from C++ because, as hack said it adds the features from the .NET Framework :)


Cheers,

RyanJ

Pino
May 24th, 2005, 06:42 AM
But c# and c++ are made by differant people, I thought c# was 70% java? style syntax.

NoteMe
May 24th, 2005, 01:53 PM
All those 3 languages looks very much the same. At least if you look at the basic stuff and the syntax. But C++ is a bit lover level, where you use pointers much more. In Java and C# it is much more hidden for you. But if you just look at the syntax, then they look very much the same, but as all ready said, you have the whole .NET part you can play around with in C#. A lot of namespaces and functions that you don't have in C++. Also, it is much easier to do GUI stuff in C# then in C++, and it is really different from the GUI stuff you do in Java.



ии