| 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.....
|
Posted: Wed Aug 20, 2008 10:58 pm Post subject: C++ or C# for a beginner? |
|
|
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 |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Thu Aug 21, 2008 4:10 am Post subject: |
|
|
C++ can do everything C# can and more.
C# is .NET |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Thu Aug 21, 2008 4:26 am Post subject: |
|
|
| C++ is not cross-platform (not properly anyway) ? If you intend to just program on Windows systems, I advise C++. |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Thu Aug 21, 2008 5:52 am Post subject: |
|
|
| 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 |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Thu Aug 21, 2008 6:36 am Post subject: |
|
|
If you should deside to study c#, then 'head first C#' is really awesome! _________________
Intel over amd yes. |
|
| Back to top |
|
 |
RAKO Master Cheater
Reputation: 0
Joined: 26 Jun 2006 Posts: 454
|
Posted: Thu Aug 21, 2008 6:37 am Post subject: |
|
|
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 |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
|
| Back to top |
|
 |
RAKO Master Cheater
Reputation: 0
Joined: 26 Jun 2006 Posts: 454
|
Posted: Thu Aug 21, 2008 6:47 am Post subject: |
|
|
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 |
|
 |
Fredd Expert Cheater
Reputation: 0
Joined: 18 Mar 2008 Posts: 240 Location: Somewhere past the rainbow, past the gold.....
|
Posted: Thu Aug 21, 2008 9:23 am Post subject: |
|
|
So I'm hearin more of a C++? _________________
|
|
| Back to top |
|
 |
jackyyll Expert Cheater
Reputation: 0
Joined: 28 Jan 2008 Posts: 143 Location: here
|
Posted: Thu Aug 21, 2008 9:38 am Post subject: |
|
|
| 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 |
|
 |
Hieroglyphics I post too much
Reputation: 0
Joined: 06 Dec 2007 Posts: 2007 Location: Your bedroom
|
Posted: Thu Aug 21, 2008 10:02 am Post subject: |
|
|
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 |
|
 |
Fredd Expert Cheater
Reputation: 0
Joined: 18 Mar 2008 Posts: 240 Location: Somewhere past the rainbow, past the gold.....
|
Posted: Thu Aug 21, 2008 10:36 pm Post subject: |
|
|
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 |
|
 |
Hieroglyphics I post too much
Reputation: 0
Joined: 06 Dec 2007 Posts: 2007 Location: Your bedroom
|
Posted: Thu Aug 21, 2008 10:50 pm Post subject: |
|
|
Put a sleep or a loop or something... _________________
|
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Thu Aug 21, 2008 11:58 pm Post subject: |
|
|
| 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 |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Fri Aug 22, 2008 2:00 am Post subject: |
|
|
| 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 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 |
|
 |
|