Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C# or C++ - Which Is More Beneficial?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
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

PostPosted: Thu Oct 16, 2008 2:40 am    Post subject: C# or C++ - Which Is More Beneficial? Reply with quote

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
View user's profile Send private message MSN Messenger
Frostbyt3
Master Cheater
Reputation: 0

Joined: 07 Jan 2008
Posts: 323
Location: Australia

PostPosted: Thu Oct 16, 2008 2:56 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Oct 16, 2008 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Thu Oct 16, 2008 3:57 am    Post subject: Reply with quote

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 Wink 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
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Oct 16, 2008 4:25 am    Post subject: Reply with quote

[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 Wink 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
View user's profile Send private message MSN Messenger
TehBestNewbZ
Expert Cheater
Reputation: 0

Joined: 28 Jul 2006
Posts: 109

PostPosted: Thu Oct 16, 2008 8:40 am    Post subject: Reply with quote

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
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Oct 16, 2008 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Oct 16, 2008 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Oct 16, 2008 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Oct 16, 2008 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Thu Oct 16, 2008 2:50 pm    Post subject: Reply with quote

C++, C# is easy to learn afterwards.
Back to top
View user's profile Send private message MSN Messenger
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Thu Oct 16, 2008 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Oct 16, 2008 3:07 pm    Post subject: Reply with quote

k, thank you all for help. =D
_________________
Back to top
View user's profile Send private message MSN Messenger
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Fri Oct 17, 2008 2:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Frostbyt3
Master Cheater
Reputation: 0

Joined: 07 Jan 2008
Posts: 323
Location: Australia

PostPosted: Fri Oct 17, 2008 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites