Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / difference between c# and c++?

Author
Message
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 31st Jul 2004 20:03
what are the main differences between c# and c++, is c# easy to learn if you know c++?

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 31st Jul 2004 20:04
c# is fully OO and fully supports .net.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 31st Jul 2004 20:23
They are completely different. C# is 100% object-orientated, every single last thing is an object. It also handles memory allocation for you, garbage collection, etc etc - all the things you do yourself in C++. Knowing C++ first will make little difference if you move to C# other than the way commands/functions are structured.

"I am not young enough to know everything."
- Oscar Wilde
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 31st Jul 2004 20:24
The main problem is that you need .NET installed first (21+Mb download).


I came, I saw and I forgot all about it... or something...
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 31st Jul 2004 20:38
got broad-band, and the .net framework comes on ms windows home sp1 disk

so the big question is - is c# worth knowing, do game compaines use it?

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jul 2004 21:16
Depends what industry you want to get into doesn't it.

Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 31st Jul 2004 21:21
i want to go into game programming for pc as well as consoles

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jul 2004 21:24
GNU C/C++ is what you want to learn.
Although Microsoft is pushing the multiplatform of .Net, simple fact of the matter is Game Programmers dislike using OO whenever it can be avoided because it takes away thier power and .Net is never going to be multiplatform... thus the ONLY console likely to support it is the Xenon.

Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 31st Jul 2004 21:28
xenon? let me guess ms's follow up of the xbox?

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st Jul 2004 23:16
yay .net


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Aug 2004 00:19
Xenon is the name of it right now, the SDK at work has it on the main loader screen but we won't know until we have the actual console infront of us.

I'm suppose to fly to some symposum about this next week actually, we find out what the hell the artists get to use.
Microsoft are telling us one thing and ATI are telling us another, have a feeling that Microsoft just don't want to seem behind technology to be honest, as what we have as the hardware is a Dual G5 2.0GHz w/Modified X800 Card ... so bleh!

Just hope I don't fly to Seattle just to find out they still haven't decided. Might not seem like a big deal but we're talking the difference between being able to shift 60,000,000 Polygons/Sec and 110,000,000 Polygons/Sec.
It also changes structures on how detailed our implimentations are.

It's like the difference between getting 1 and 3 Texture Blending Options in DBP; you can add so much character and detail

Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 1st Aug 2004 00:38
i know a bit of c++, enough to make TPC's

another big question:
What should i learn managed or non-managed direct x?

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Aug 2004 00:52
Managed Dx requires .Net to be installed, Non-Managed doesn't.
So think about what audience you aiming for really.

Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 1st Aug 2004 01:38
so i gather that no of the game consoles use managed dx then

PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Error 0 = no error - how is this an error the???
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Aug 2004 04:40
You gather correctly.

Personally, I don't think that we'll see one until the state-of-art of JIT compilation is very close to what you can get from compiling as we do now with our compilers.

Although I agree that C++ is the primary games development language, other languages *are* good experience and have uses in games creation too.

Perl, python and lua are the ones that come immediately to mind, not just for in-game scripting, but for generating game data. Experience in embedding them into a game could be useful too.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Aug 2004 05:07
Raven:

requesting you adjust the overall width of your sig, it is causing the forum to scorll horizontally even with 1024x768. This gets quite annoying to read posts.

thanks
CR


DBP_NETLIB_v1.4.3 - 65 FREE Functions * Click Logo
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 1st Aug 2004 05:12 Edited at: 1st Aug 2004 06:06
i know a bit of python - i'm currently learning it, after reading the careers section at codemasters, which tells you the best way to get into the games industry

so for game prograsmming i should leave c# alone?


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Aug 2004 05:20
Would love to CR, but i've lost my X-Sig password, or username... i forget which i actually forgot
might take it off for the time being while the cartoon is up, but that's mean i'd have to put it back on once i sort my account out.

Why the heck sigs couldn't be dynamic in here i dunno.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 1st Aug 2004 07:08
Raven, just replace the cartoon with a 1x1 pixel rgb(213,228,242) image.



------------------------
As far as the topic goes, I don't like to be restricted to .net, so chances are I'll keep moving on with my C++ or try out object pascal or something(I hear that's good for portability). Heck, Java might be worth a try in the near future, yet I doubt it'll surpass C++ anytime soon.



A book? I hate book. Book is stupid.
(Formerly known as Yellow)
GothOtaku
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: Amherst, MA, USA
Posted: 1st Aug 2004 14:24
C++ is better to learn, there's no real demand for C# yet and it's relatively easy to learn it. You can think of C# as Microsoft's Java (although, the performance is better on .Net) but if you're interested in programming games you should definitely learn C++ becasue it's still the most used game programming language. However, another thing to check out would be NVidia's Cg (C for graphics) which might be the new "it" language for games.
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 1st Aug 2004 19:43
thanks - i'll go and have a look at the nvidia site


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1

Login to post a reply

Server time is: 2024-11-25 17:59:22
Your offset time is: 2024-11-25 17:59:22