Learning C++

03/14/2009 18:54 lol-lol#1
I want to learn how to use this program ... if anyone know a site or a good video about that plz tell me .. Thanks

And i use 2008 is it good?
03/14/2009 19:14 PeTe Ninja#2
[Only registered and activated users can see links. Click Here To Register...]

i would say C# easier but thats only because i know it better than C++
03/14/2009 19:46 InfamousNoone#3
Quote:
Originally Posted by PeTe Ninja View Post
[Only registered and activated users can see links. Click Here To Register...]

i would say C# easier but thats only because i know it better than C++
no, it is (easier), but its not better
03/14/2009 20:29 unknownone#4
Whether it's better or not is subjective, but I think you misread PeTe's message.

He simply meant he understands C# more than he does C++, which sounds reasonable.

To OP: VS 2008 is an IDE and compiler suite, but it doesn't offer true C++ (as the ISO standard). You have the choice of using C++ for native compilation, which is what you would use, but note that it does stray from the C++ standard and, if you aren't aware, you'll produce unportable code.
The other option is to use C++/CLI, to build .Net assemblies with Microsofts extensions, and the .Net libraries. It generally isn't a goof choice of language, because it still carries the "bad" parts of C++, which C# aims to better. You should really only use C++/CLI if it's required to interface a .Net assembly to some other native code, hardware drivers and stuff that C# can't do, otherwise, just use C#.

As for where to learn: Get a book. C++ is complicated, and if you don't properly understand what you're learning it's easy to shoot yourself in the foot. I've yet to see a 'tutorial website' that is descriptive enough to learn from, although ebooks are fine.
03/14/2009 20:32 machine77#5
C# is easier, C++ is verry hard, i have German ebooks, but not english.
C++ is better than C#.
Visual Basic is very easy. For C++ you can search Ebooks google :P
03/14/2009 20:34 unknownone#6
Quote:
Originally Posted by machine77 View Post
C++ is better than C#.
No
03/14/2009 20:38 lol-lol#7
ok ... Is C# same program of C++?? i did a calculator ... but copied the code :D

and i found the code from google :D
03/14/2009 20:59 PeTe Ninja#8
Quote:
Originally Posted by unknownone View Post
I've yet to see a 'tutorial website' that is descriptive enough to learn from, although ebooks are fine.

is this site good?

[Only registered and activated users can see links. Click Here To Register...]



question for anyone who can answer this

how can i populate a list box with ini files from a folder

like its " + name + " . ini

i already made it so it can make a person name there and save as ini file and all that, but i dont know howto retrieve it so i can have all of them in like a list

if can help please =]


, oh and yeah i understand C# better :D
03/14/2009 21:05 unknownone#9
Quote:
Originally Posted by PeTe Ninja View Post
is this site good?

[Only registered and activated users can see links. Click Here To Register...]
It's good as a reference if the knowledge is already there, but it aint teaching material.
03/14/2009 21:52 tao4229#10
After I had truly "learned" C#, C++ was really easy.
I had to ask a few questions around, but after that it wasn't hard at all.
They have a lot of the same things in common, but in C++ you have to do a little more work. (Instead of a function returning a string, you have to preallocate a buffer to be copied to, etc)
03/14/2009 23:18 unknownone#11
Quote:
Originally Posted by tao4229 View Post
After I had truly "learned" C#, C++ was really easy.
You don't honestly think that do you?

Have any code you've written that I can look at?
03/15/2009 01:53 tao4229#12
Quote:
Originally Posted by unknownone View Post
You don't honestly think that do you?

Have any code you've written that I can look at?
I'm not talking big commercial adobe crap or anything, but grasping the basics wasn't that complex. The two languages are similar in syntax is what I'm trying to get across.

There is differences, but syntax is similar, and once you get the differences down between the languages, it's not as hard as jumping straight into C++.

I'm not saying if you can write a hello world in C#, you can go pro in C++, I'm just saying that it's easier to transfer between languages than to learn one.