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# for a beginner?
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
Fredd
Expert Cheater
Reputation: 0

Joined: 18 Mar 2008
Posts: 240
Location: Somewhere past the rainbow, past the gold.....

PostPosted: Wed Aug 20, 2008 10:58 pm    Post subject: C++ or C# for a beginner? Reply with quote

I'm trying to get started on something productive besides just screwing around with what I can find. I have already gone in about 30 pages in the online c++ guide Microsoft gives you on the start page of VC++2008, which
is not much at all (last thing was converting int to double, I think).

I'm looking through guides to see what is more to me, but I prefer more opinions. I don't wanna know ___ is a bad language for doing ___ when I'm already deep in.

Although I've heard C# is more simple and can do things C++ can't.

Help?

Edit: What about the .NETs?

_________________
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

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

PostPosted: Thu Aug 21, 2008 4:10 am    Post subject: Reply with quote

C++ can do everything C# can and more.

C# is .NET
Back to top
View user's profile Send private message MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Aug 21, 2008 4:26 am    Post subject: Reply with quote

C++ is not cross-platform (not properly anyway) ? If you intend to just program on Windows systems, I advise C++.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

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

PostPosted: Thu Aug 21, 2008 5:52 am    Post subject: Reply with quote

Slugsnack wrote:
C++ is not cross-platform (not properly anyway) ? If you intend to just program on Windows systems, I advise C++.


It is.. O.o
Back to top
View user's profile Send private message MSN Messenger
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Aug 21, 2008 6:36 am    Post subject: Reply with quote

If you should deside to study c#, then 'head first C#' is really awesome!
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
RAKO
Master Cheater
Reputation: 0

Joined: 26 Jun 2006
Posts: 454

PostPosted: Thu Aug 21, 2008 6:37 am    Post subject: Reply with quote

i find c# incredibly easy and i will always use it when i need a quick app done. so I recommend c# to start learning on. but now im going more into c++ and my c# background is a great help. i'm moving into c++ simply because it can do more and most projects are coded with it.

i still like to do c# for gui and then use c++ & introp to do stuff i can't usually do with c#.

_________________
Dark Byte wrote:
Who knows, perhaps i'm a maple gm!!!!
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Thu Aug 21, 2008 6:42 am    Post subject: Reply with quote

RAKO wrote:
i find c# incredibly easy and i will always use it when i need a quick app done. so I recommend c# to start learning on. but now im going more into c++ and my c# background is a great help. i'm moving into c++ simply because it can do more and most projects are coded with it.

i still like to do c# for gui and then use c++ & introp to do stuff i can't usually do with c#.

did u read 'head first' ? they are really nice for begining a new language!

We use them in school and even a retard like me understand 'em Wink

http://headfirstlabs.com/

_________________
Intel over amd yes.


Last edited by NINTENDO on Thu Aug 21, 2008 6:50 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
RAKO
Master Cheater
Reputation: 0

Joined: 26 Jun 2006
Posts: 454

PostPosted: Thu Aug 21, 2008 6:47 am    Post subject: Reply with quote

i haven't read 'head first' but here it is anyway http://knowfree.net/2008/03/27/12249.kf
_________________
Dark Byte wrote:
Who knows, perhaps i'm a maple gm!!!!
Back to top
View user's profile Send private message
Fredd
Expert Cheater
Reputation: 0

Joined: 18 Mar 2008
Posts: 240
Location: Somewhere past the rainbow, past the gold.....

PostPosted: Thu Aug 21, 2008 9:23 am    Post subject: Reply with quote

So I'm hearin more of a C++?
_________________
Back to top
View user's profile Send private message
jackyyll
Expert Cheater
Reputation: 0

Joined: 28 Jan 2008
Posts: 143
Location: here

PostPosted: Thu Aug 21, 2008 9:38 am    Post subject: Reply with quote

Slugsnack wrote:
C++ is not cross-platform (not properly anyway) ? If you intend to just program on Windows systems, I advise C++.


Think you got that backwards... C# isn't that portable..
Back to top
View user's profile Send private message AIM Address MSN Messenger
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Thu Aug 21, 2008 10:02 am    Post subject: Reply with quote

I recommend C++. I have never personally tried much with C# but I know it is good to learn both, because there are pros and cons to both. If you would like to make trainers and stuff then I suggest using like C++ for a dll and if u want a GUI use C# for the GUI is what ElJeffro said to do.
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Fredd
Expert Cheater
Reputation: 0

Joined: 18 Mar 2008
Posts: 240
Location: Somewhere past the rainbow, past the gold.....

PostPosted: Thu Aug 21, 2008 10:36 pm    Post subject: Reply with quote

Noob question.....

(I'm gonna feel SO retarded.)

I got VC++08 a while ago, and started to do some stuff with it.
Thing is, I can't see the hello world thing, or anything else. (I've just been going along as compiling whats I do to see if I got it right, by now.)
Every time I debug the program, I see the window but can't read it. I know it pops up, but I can't read it. I got to a thing where you use the 'cin' and that shows up, but the result doesn't, it disappears too fast to see it.

Is it just like that, or what?

_________________
Back to top
View user's profile Send private message
Hieroglyphics
I post too much
Reputation: 0

Joined: 06 Dec 2007
Posts: 2007
Location: Your bedroom

PostPosted: Thu Aug 21, 2008 10:50 pm    Post subject: Reply with quote

Put a sleep or a loop or something...
_________________

Back to top
View user's profile Send private message AIM Address MSN Messenger
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Thu Aug 21, 2008 11:58 pm    Post subject: Reply with quote

Fredd wrote:
Noob question.....

(I'm gonna feel SO retarded.)

I got VC++08 a while ago, and started to do some stuff with it.
Thing is, I can't see the hello world thing, or anything else. (I've just been going along as compiling whats I do to see if I got it right, by now.)
Every time I debug the program, I see the window but can't read it. I know it pops up, but I can't read it. I got to a thing where you use the 'cin' and that shows up, but the result doesn't, it disappears too fast to see it.

Is it just like that, or what?

Wait for user input:
Code:
std::cin.get(); std::cin.ignore();

Will do the job.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Fri Aug 22, 2008 2:00 am    Post subject: Reply with quote

jackyyll wrote:
Slugsnack wrote:
C++ is not cross-platform (not properly anyway) ? If you intend to just program on Windows systems, I advise C++.


Think you got that backwards... C# isn't that portable..

Oh really ? Could be the case Razz I just seem to remember reading that Java + C# were the more portable versions of C++. I recall reading C++ would be faster because it has none of the intermediate translation overhead (eg. for Java = bytecode conversion in its Virtual Machine and for C# = MSIL/CIL (Microsoft/Common Intermediate Language) which is then assembled to bytecode .NET assembly equivalent created and then run through a .NET runtime). Cause I then thought as long as the machine was able to install the respective runtime, it could run files created by that language. Of course, as you say I am probably wrong. I will check again later.
Back to top
View user's profile Send private message
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