| View previous topic :: View next topic |
| Author |
Message |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Oct 16, 2008 2:40 am Post subject: C# or C++ - Which Is More Beneficial? |
|
|
i was wanting to learn a better language than vb.net, and i wanted a professional (CEF) oppinion on what would be more beneficial for me to learn. i couldn't decide on Visual C# or C++ (using Visual Studio). could you please give me your personal oppions because i've googled and researched adn still undecided. atm i'm more towards C#.
_________________
|
|
| Back to top |
|
 |
Frostbyt3 Master Cheater
Reputation: 0
Joined: 07 Jan 2008 Posts: 323 Location: Australia
|
Posted: Thu Oct 16, 2008 2:56 am Post subject: |
|
|
In your case I would defenitely go with C#. It took me 3 days max to learn the difference, and less than a week to learn all the new features and finding my way around.
In comparison to C++, C# may not be as powerful, but its a helluvalot easier to use, and is a much more modern language, and has quite a bright future.
But that depends of course on what you plan to do. What DO you want to do with either language?
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Oct 16, 2008 3:12 am Post subject: |
|
|
| Frostbyt3 wrote: | In your case I would defenitely go with C#. It took me 3 days max to learn the difference, and less than a week to learn all the new features and finding my way around.
In comparison to C++, C# may not be as powerful, but its a helluvalot easier to use, and is a much more modern language, and has quite a bright future.
But that depends of course on what you plan to do. What DO you want to do with either language? |
i was thinking the same thing as you with that pro for C#. and what i was planning to do with it was basically making programs and hopefully even trainers for games. i was just looking for basically a next step up from vb.net.
_________________
|
|
| Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Thu Oct 16, 2008 3:57 am Post subject: |
|
|
| fullyawesome wrote: | | i was just looking for basically a next step up from vb.net. |
Well, C# is a .NET lang, so yeah maybe thats you're option Suppose you hadn't said that though, and you were completely new and deciding between then I would have said C++. So much more powerful and flexible. Arguments both ways as always though...
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Oct 16, 2008 4:25 am Post subject: |
|
|
| [Psych] wrote: | | fullyawesome wrote: | | i was just looking for basically a next step up from vb.net. |
Well, C# is a .NET lang, so yeah maybe thats you're option Suppose you hadn't said that though, and you were completely new and deciding between then I would have said C++. So much more powerful and flexible. Arguments both ways as always though... |
yeah that's the difficult part. i was learning a little C++ quite a while ago now and stopped so that's why i'm unsure.
_________________
|
|
| Back to top |
|
 |
TehBestNewbZ Expert Cheater
Reputation: 0
Joined: 28 Jul 2006 Posts: 109
|
Posted: Thu Oct 16, 2008 8:40 am Post subject: |
|
|
You have learnt vb.net?
Assuming vb.NET was easy as a pie to learn (in your case), then I'd recommend you to learn C++ and sometimes C in certain situations.
Both C++ and C# are powerful, even though C# is an extension of C++ and is simpler to learn.
C++ has been around for a while, C++ has more resources than C#.
Microsoft has implemented a new dialect for C++ in this year, which is called C++/CLI. It's an extension of ANSI/ISO C++. Which even makes C++ more powerful, google C++/CLI for more information.
####
The biggest strength of C++ is evident when you need to also use OS functionality that is only exposed as native or COM APIs since you can just call them.
The biggest strength of C# is that it is a simpler language with a build model that allows for easier tools support.
So basically, choose C++ if you want to make a lot of things (like making advanced hacks for MS, bypasses, etc) and willing to learn even if it's harder to learn. C# can do the same but is limited as compared to C++. If you want to learn a language that's simpler, choose C#.
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Thu Oct 16, 2008 9:32 am Post subject: |
|
|
| Go for whatever, but I think you'll have a firmer ground to stand on and a better understanding to work off of if you start with C/C++.
|
|
| Back to top |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Thu Oct 16, 2008 9:32 am Post subject: |
|
|
| TehBestNewbZ wrote: | You have learnt vb.net?
Assuming vb.NET was easy as a pie to learn (in your case), then I'd recommend you to learn C++ and sometimes C in certain situations.
Both C++ and C# are powerful, even though C# is an extension of C++ and is simpler to learn.
C++ has been around for a while, C++ has more resources than C#.
Microsoft has implemented a new dialect for C++ in this year, which is called C++/CLI. It's an extension of ANSI/ISO C++. Which even makes C++ more powerful, google C++/CLI for more information.
####
The biggest strength of C++ is evident when you need to also use OS functionality that is only exposed as native or COM APIs since you can just call them.
The biggest strength of C# is that it is a simpler language with a build model that allows for easier tools support.
So basically, choose C++ if you want to make a lot of things (like making advanced hacks for MS, bypasses, etc) and willing to learn even if it's harder to learn. C# can do the same but is limited as compared to C++. If you want to learn a language that's simpler, choose C#. |
No.
If you only want to hack - choose C++
If you want to hack and produce stuff really fast - choose C#
If you want to produce high quality stuff but a bit slower, more in-depth thinking - choose C++
There's your options. I chose C# and I've not really seen any problem with it with editing memory but all I do is basic routines. So yeah.
_________________
CLICK TO HAX MAPLESTORAY ^ !!!! |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Thu Oct 16, 2008 1:30 pm Post subject: |
|
|
correct me if im wrong
in C# you can't create .dll that would load false functions which is an important feature to hooking with c++. you could create a .exe but you can't inject a .exe into a process
_________________
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Oct 16, 2008 2:36 pm Post subject: |
|
|
would it be a bad thing if i started with C#, and then once i've gotten better to advance to C++?
_________________
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Thu Oct 16, 2008 2:50 pm Post subject: |
|
|
| C++, C# is easy to learn afterwards.
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Thu Oct 16, 2008 3:04 pm Post subject: |
|
|
It's not the lang, it's more about how do you think like a computer.. Well, VB is a little exception here, but I guess you might learn how to think like a computer with that too.
After you've learnt how to code, then think about your project and the lang. If you want to do it properly, go with C++, else if you want it done quickly, go for C#. Syntax for other "basic" languages (excluding VB :D) is easy to learn after you've gotten into one. So, if you want more efficient code, usage of less resources, but more work, go for C/C++, else C#.
|
|
| Back to top |
|
 |
FullyAwesome I post too much
Reputation: 0
Joined: 05 Apr 2007 Posts: 4438 Location: Land Down Under
|
Posted: Thu Oct 16, 2008 3:07 pm Post subject: |
|
|
k, thank you all for help. =D
_________________
|
|
| Back to top |
|
 |
Heartless I post too much
Reputation: 0
Joined: 03 Dec 2006 Posts: 2436
|
Posted: Fri Oct 17, 2008 2:38 pm Post subject: |
|
|
I choose C++ because I'm planing to go on to make games.
_________________
What dosen't kill you, usually does the second time. |
|
| Back to top |
|
 |
Frostbyt3 Master Cheater
Reputation: 0
Joined: 07 Jan 2008 Posts: 323 Location: Australia
|
Posted: Fri Oct 17, 2008 4:59 pm Post subject: |
|
|
| HornyAZNBoy wrote: | | I choose C++ because I'm planing to go on to make games. |
That's so not true. I have written easily 10+ games with graphic quality rivalling c++, in c#, with only about a 3% performance loss. It took about 30% less time aswell.
And after a tiny bit of optomising, thanks to C#'s Garbage collection, I only have a 1% performance loss.
Just look at MOGRE, Axiom, XNA, or even SlimDX.
C# is actually the choice for most game developers, but since they may want to port it to consoles, they cannot use a managed language, so Instead they use it on they're tools.
I went C# so I could make games in a reasonable amount of time without a mammoth team.
|
|
| Back to top |
|
 |
|