Register for your free account! | Forgot your password?

You last visited: Today at 01:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Learning C++

Discussion on Learning C++ within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 158
Received Thanks: 93
Learning C++

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?
lol-lol is offline  
Thanks
1 User
Old 03/14/2009, 19:14   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491


i would say C# easier but thats only because i know it better than C++
PeTe Ninja is offline  
Thanks
1 User
Old 03/14/2009, 19:46   #3
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Quote:
Originally Posted by PeTe Ninja View Post


i would say C# easier but thats only because i know it better than C++
no, it is (easier), but its not better
InfamousNoone is offline  
Old 03/14/2009, 20:29   #4
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
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.
unknownone is offline  
Old 03/14/2009, 20:32   #5
 
machine77's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 257
Received Thanks: 61
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
machine77 is offline  
Old 03/14/2009, 20:34   #6
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by machine77 View Post
C++ is better than C#.
No
unknownone is offline  
Old 03/14/2009, 20:38   #7
 
elite*gold: 0
Join Date: Feb 2009
Posts: 158
Received Thanks: 93
ok ... Is C# same program of C++?? i did a calculator ... but copied the code

and i found the code from google
lol-lol is offline  
Old 03/14/2009, 20:59   #8
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
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?





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
PeTe Ninja is offline  
Old 03/14/2009, 21:05   #9
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by PeTe Ninja View Post
is this site good?

It's good as a reference if the knowledge is already there, but it aint teaching material.
unknownone is offline  
Old 03/14/2009, 21:52   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
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)
tao4229 is offline  
Old 03/14/2009, 23:18   #11
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
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?
unknownone is offline  
Old 03/15/2009, 01:53   #12
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
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 **** 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.
tao4229 is offline  
Reply


Similar Threads Similar Threads
Learning how to code?
12/04/2009 - Mabinogi - 6 Replies
Well there's no sticky for some guidance, yet people always seem to push other people to code it themselves. Is it really easy? How much time would it take me to learn it from scratch to do something as "simple" as metallurgy? And like what methods would be best for today? Or is this something that just happens to be a neat byproduct ability after taking a class in advanced computer programming or something?
c++ learning
10/31/2009 - Kal Online - 21 Replies
Hello all Can anyone be so kind teach me the basic programing for c++, i have a good idea how to bypass the r11 security but i cant make it because i dont know how to use c++ Helpers pm me Enjoy
Learning..little direction plz
06/17/2009 - Dekaron - 0 Replies
got the unpacker,ran it, have the data file, now what do i do to get it to run like an .exe so i can select it with the GG killer launcher?
Learning VB
05/04/2007 - Conquer Online 2 - 5 Replies
I am currently learning Visual Basic programming. to learn, a friend taught me some things: agreement window Buttons to open other forms and a simle 'dice' game. though i wanted an highscore on the dice game and did this: if form3.highscore.caption < form3.score.caption then



All times are GMT +1. The time now is 01:25.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.