Is there a big diference between C+ & C#?

Started by Icey, Tue 09/08/2011 11:06:04

Previous topic - Next topic

Paper Carnival

Quote from: Wyz+ on Tue 09/08/2011 14:57:00
The main difference is that that C# is shit and C++ is not.

Why is it shit exactly? Have you ever seriously tried it, or are you prejudicial against it like I used to be?

On a related tone, having .h files, too many pointers, 3 different operators for scoping (".", "->" or "(*x)." and "::") and generally uglier syntax does look like shit scattered all over my otherwise sexy code.

Wyz

Hover over my previous post for a bit. ;)
Life is like an adventure without the pixel hunts.

Paper Carnival

I suppose my trolling detection sense was obscured by my passion :P

bicilotti

The best thing about C# is XNA.

No I mea-

Calin Leafshade

XNA is also excellent. (I am making a game with it :D)




Eigen

I've touched C#, not in any inappropriate place, I assure you, but I got to say I don't like it much. I guess it comes down to personal preference as to why I like C and especially C++ more. To me, in addition to obvious perks already stated here (multiplatform support, etc.), it feels more robust and closer to the hardware. Yes, you could write stuff in Assembly .. but rather not. C, when compiled, is the closest to what you might do in Assembly. You can even use Assembly in C language itself. All good stuff in my mind.

Another C-like language I've recently became to like very much (thanks to my job) is Objective-C. Its syntax is based on Smalltalk, so nothing like C, but it's based on it, so you can write C in that as well. Basically you write stuff like [Player getObject:APPLE] or [Player give:APPLE to:AnotherPlayer]. Once you get the hang of it, rapid programming ensues .. it's just so easy to write. There are other really good things about it as well .. like dynamic-typing and the ability to change what method to call on an object at run-time.

Bottom line. Use the language that best suits the needs of your project and that you're most efficient in.

Icey

Hey calin do you think you could give me some ponters with XNA? I don't really know how to start out with it  :-\

Calin Leafshade


monkey0506

I'd just like to point out that registering VS Express is free, and you don't need a keygen to do it legally.

The Object Browser is very much your friend by the way. As is Google.

Icey

I got VS ultimate

Google is my bestest friend however I thought I ask around here. And also I did check google. But I think its a hell of a lot to ask here. I get the answers I needed here vs me search from page to page to see the difference.

monkey0506

#30
Quote from: Studio3 on Tue 09/08/2011 15:42:40And Monkey you would lose that bet because I did download the free one however it expired on me. So I did take my chance and look up a Keygen.

Quote from: Studio3 on Tue 09/08/2011 23:04:04I got VS ultimate

Huh..somebody doesn't understand what "lose that bet" means. Go figure.*

Quote from: Studio3 on Tue 09/08/2011 23:04:04Google is my bestest friend however I thought I ask around here. And also I did check google.

Ah, you've completely missed my point. I mentioned the Object Browser immediately before mentioning Google because I was directly talking about your efforts to understand how to use the XNA framework. You know, Google can help with that too.

Quote from: Studio3 on Tue 09/08/2011 23:04:04But I think its a hell of a lot to ask here.

Hah. So..I'm not trying to dissect your post word-for-word here, but I'm trying to understand what this was supposed to mean exactly. Asking about the differences between "C+" (sic) and C#, is a rather broad topic for discussion, and so is "how to use xna plxkthnz". Put together I suppose that would be "a hell of a lot".

Quote from: Studio3 on Tue 09/08/2011 23:04:04I get the answers I needed here vs me search from page to page to see the difference.

Good heavens, having to actually look through the results that Google gives you is hard. ::)

*There's a difference between a "free trial" and a "free version" of a program. Visual Studio Express is completely free (legally). The trials of other versions of Visual Studio are also free, but once they expire you no longer have a legal right to use that version (unless you legally purchase that version). I specifically indicated that you used some illegal means to "obtain" (or in this case, unlock) your version of VS, and indeed, you downloaded an illegal keygen instead of using the free Express version of Visual Studio.

R4L

Honestly Icey, I think before you go and do all of this that maybe you should get AGS down and actually make something that shows that you can take it to the next level.

But I'm not going to tell you what to do.  :P

Icey

#32
I have tings in AGS I got to finish. And I have made other things and AGS before you no /:)

And Monkey the whole point is that
1. I did not torrent
2. And I think it's easier to ask question here as people know me here. Also I had no clue exactly what to look for vs AGS. Sure I can search up a tutorial on youtube but it doesn't mean it's going to work all the time. I never even used C# so that is why I needed to no was there a big DIFFERENCE. Cause I dont want to make more/harder work for me. The whole RPG thing is enough and I am finally getting a good grasp on that.

Good, now that that's out of the way I can start reading up on the many,many sites for XNA including the RPG one.

monkey0506

#33
I should really drop this, but why stop now just when I'm on a roll? :=

The "whole point" is not about whether or not you "used a torrent" the whole point is about whether or not you obtained (or gained access, unlocked, etc., etc.) your copy of Visual Studio via illegal means. Hence the part where I said "or other illegal means".

Really, I don't care how you got it, that you have it, or anything of the sort. I'm more of a pirate that you'll ever be. So that's not what I'm trying to get across.

What I'm trying to get across to you is that whether you used a torrent, keygen, or murdered your neighbor to steal his license, you didn't purchase your own license to the copy of VS2010 that you are using. It is therefore illegal. I don't care. I'd probably do the same thing (except I didn't, and I'm using VS2008 Express, legally). I just want you to be aware of what you're doing, because your arguments thus far are highly indicative that you feel that if the FBI came a-knockin' that you'd have nothing to hide.

It's cool that you didn't know if there was a big difference between what you're used to and what you're trying to get yourself into. I don't even care that you asked. Good job, you found an answer. Still, it wouldn't have been that hard to figure it out with a slight bit of Googling. Either way, you got it sorted out now, and I'm sure it's only a matter of time before we're all buying PMQ DLC on XBLA just so we can get the achievements..I mean, it's gonna be like the best game ever, but achievements are all that matters. That's how you can rub your friends' noses in it.

Icey

So would it be better for me to use the express version? Also is there a 2010 version cause I think I cant work with xna 4.0 on anything lower than 2010.

monkey0506

It would be not illegal. "Better" is a matter of opinion, and like I said, I don't really care which version you're using or how you got it. I was just pointing out that the copy you have isn't legal despite your insistence that you got it for free (which..isn't an argument?).

You can keep using the version you've got if you want. Or don't. I don't care either way. But yeah, there is a VS2010 Express edition which is legally free from Microsoft under license.

InCreator

#36
I liked first "hello world" example better, with C++

static void... um, what? How come every program has to start with a shitty name for RPG dungeon?

Wonkyth

"But with a ninja on your face, you live longer!"

Khris


Wonkyth

Quote from: InCreator on Wed 10/08/2011 07:38:52
How come every program has to start with a shitty name for RPG dungeon?
"But with a ninja on your face, you live longer!"

SMF spam blocked by CleanTalk