Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Difference between c and c#


ghost's Avatar
0 0

I am looking up the differences between c and c#. So far I have found out that c# seems to be microsofts take on c, but in what way, the syntax or the way the code is layed out or what?

anyone shed any light on this?


ghost's Avatar
0 0

C# actually more resembles C++ than C, as it is object-oriented. Some people describe it as a mix between Java and C++. It has automatic garbage collection I believe.


ghost's Avatar
0 0

MoshBat wrote: Thus far, you can't even use Perl correctly, let alone a more advanced language, such as the ones you have mentioned. I agree. Take it slow and start out with Perl like you've been doing, or Python if you don't like Perl. I would say I'm pretty advanced with languages like Perl and PHP, and I know C++, but it still kicks my ass sometimes.


ghost's Avatar
0 0

MoshBat wrote: [quote]-Kurt- wrote: [quote]MoshBat wrote: Thus far, you can't even use Perl correctly, let alone a more advanced language, such as the ones you have mentioned. I agree. Take it slow and start out with Perl like you've been doing, or Python if you don't like Perl. I would say I'm pretty advanced with languages like Perl and PHP, and I know C++, but it still kicks my ass sometimes.[/quote] Python will beat him, too. He can't quite use an interpreter.[/quote] Then I would recommend some language like JavaScript, but he would probably fuck that up somehow.


ghost's Avatar
0 0

MoshBat wrote: Something like that? Probably, but I doubt he'd get as far as opening Notepad. That takes a lot of skill.


korg's Avatar
Admin from hell
0 0

Damn you guy's are brutal today. Give the man abreak I think he mastered notepad from his last thread. :D


korg's Avatar
Admin from hell
0 0

No for the hundreth time.


korg's Avatar
Admin from hell
0 0

It's from the comic book "korg the destroyer". He was a barbarian that ransacked and basically just kicked ass. My friends gave me that nick along time ago to fit my attitude problem.


korg's Avatar
Admin from hell
0 0

Yeah your mom doesn't profile well. HAAAAA


korg's Avatar
Admin from hell
0 0

Nice.


ghost's Avatar
0 0

Holy fuckin off topic shit… wow… :p


Demons Halo's Avatar
Member
0 0

MoshBat wrote: "I can't get Javascript to work, what's wrong"? … Erm? I really don't know how you can fuck that one up, there mate. What are you trying?

"Well, it just shows the code in a white window. I can change it". … Oh, really? It is called Notepad?

"Oh, yeah! Thanks!". … No problem!

"The problem still stands". … facepalm

Something like that?

rofl.. epic post mosh =P

This may sound stupid but in my opinion PHP (SS language) + python (interpeter language) + C/C++ (compiled language) is all you need if order to understand and be able to work with almost all other languages. I've been looking @ java, perl, VB, ruby etc. and I must say that all of them are pretty similar, so I keep wondering why there are so many -_-


ghost's Avatar
0 0

Demons Halo wrote: PHP (SS language) + python (interpeter language) I wouldn't really consider server-side to be a "type" of language. Both python and and PHP are interpreted languages and both can be used on the server-side. C can be used on the server-side but is not interpreted.


Demons Halo's Avatar
Member
0 0

-Kurt- wrote: [quote]Demons Halo wrote: PHP (SS language) + python (interpeter language) I wouldn't really consider server-side to be a "type" of language. Both python and and PHP are interpreted languages and both can be used on the server-side. C can be used on the server-side but is not interpreted.[/quote]

Sure but as far as I know (and I know very little), you need CGI to run python as a Server-Side. I've personally not tried python in terms of web-programming/Server-Side bullshit, that's why I put PHP in a category by itself!

@ mosh yeah they are =D

äh meaningless if you ask me =P I fail to see the areas where languages like ruby or perl could be better than python in.


spyware's Avatar
Banned
0 0

Perl is a regex language, dickhead. People named it "Practical Extraction and Report Language", for fucks sake.

PHP isn't a "SS" langauge (nice Nazi pun, btw), PHP is just a language that a lot of people use for web design, and because of this, most PHP developers keep in mind that it's used to display content in web browsers.


spyware's Avatar
Banned
0 0

Jesus Mosh, you knew what I meant. s/web design/web development/.

Perl is just not a "network language". Python, for example, would be a better "network language", since you can make a webserver in one line, and it doesn't look like complete (awesome) shit.


korg's Avatar
Admin from hell
0 0

Wow, Sure are a lot of "dickheads" here. Anyway to sum it up every language has it use and everyone uses them to suit what they want to do. Ex: PHP can be used for a lot more than just web dev.


korg's Avatar
Admin from hell
0 0

Because example: skid 1 only knows PHP, That's why.


korg's Avatar
Admin from hell
0 0

MoshBat wrote: You've lost me…

That's not hard to do. What I'm saying is if someone only knows php or python that's all he's going to code in therefore opening up his mind to try everthing they can with what they know.


korg's Avatar
Admin from hell
0 0

Ok, A little slower then. Say skid1 and skid2 want to code a bruteforcer. Skid1 only knows php so he's going to write it in php. While skid2 only knows python so that's what he's doing it in. Of course we know which one is more efficient in the task. Therefore any thing they need to do they'll use what they know. And stop fuckin' up my senarios damnit.


korg's Avatar
Admin from hell
0 0

The point I was making is that –>,<– It's more of the users preference on what lang. to use and how much they can achieve with it.


korg's Avatar
Admin from hell
0 0

Yes, miss Moshbat. I'll try harder.


Demons Halo's Avatar
Member
0 0

I see that you guys hve nothing better to do :/ ah well..

korg is right I guess =P I know only python so if I was given an assignment (except for web programming), I'd use python no matter what sort of assignment it is.


Demons Halo's Avatar
Member
0 0

MoshBat wrote: [quote]Demons Halo wrote: (except for web programming), That can actually be done, given a few server mods.[/quote]

I know it can =P works almost the same way as PHP does. Although using PHP for such tasks would make everything a lot easier. Also in order to use python in servers you'll need to use CGI which (as far as I know) have some security issues.

http://www.tutorialspoint.com/python/python_cgi_programming.htm


Demons Halo's Avatar
Member
0 0

hmm so you're saying that I can run some sort of server app that turns my PC into a python server… interesting indeed, didn't know about that :O


Demons Halo's Avatar
Member
0 0

MoshBat wrote: Ah, google is fantastic, huh?

yes indeed. But for some reason I feel like this is not the most secure solution for web programming. I personally find it better to use one.com or any other web host, but once again, it's a matter of taste =P


Demons Halo's Avatar
Member
0 0

**MoshBat wrote:**You control the server and it's programs == Much better.

You can do anything anyway using web hosts, there is not much they won't allow you to do ^^


Demons Halo's Avatar
Member
0 0

-_- no need to do that =P

btw I'm a bit bored, any ideas for a good programming project?


spyware's Avatar
Banned
0 0

elmiguel wrote: Wow, reading these posts all the way through made me almost forget what the original thread was about. Oh yeah, the difference between c and c#.

I think this article may help:

http://www.c-sharpcorner.com/UploadFile/gtomar/ComparisionofCandcsharplanguages10242007013053AM/ComparisionofCandcsharplanguages.aspx

Hope this helps.

Listen hombre, that's the second fucking hit on google when you search for "the difference between C and C#".

We can google stuff ourselves. If you don't have anything to say, don't say anything.


ghost's Avatar
0 0

Orillian wrote: I want to expand my programming horizons and I am thinking perl, I looked on google and came up with a load of different ones, but can anyone reccomend a good compiler for a perl begginner?

http://www.hellboundhackers.org/forum/viewthread.php?forum_id=22&thread_id=14963

Zenrith wrote: First off. Shut the FUCK up. Apparently you HAVEN'T looked cause this whole thread is shit you could have fucking google'd.

fuser wrote: Zenrith, dude. No need to be so pissed off over that.

OP, I recommend perl monks http://www.perlmonks.org/index.pl?node=Tutorials and programming tutorial's perl page, at http://programmingtutorials.com/perl.aspx

Orillian wrote: I am looking up the differences between c and c#. So far I have found out that c# seems to be microsofts take on c, but in what way, the syntax or the way the code is layed out or what?

anyone shed any light on this?

Oh boy oh boy. Please Fuser, come help the fucking idiot again. Let's see how many language questions he can ask in different threads; all of which he could have easily googled! Were off to a fucking good start.


Futility's Avatar
:(
80 122

Zenrith wrote: Oh boy oh boy. Please Fuser, come help the fucking idiot again. Let's see how many language questions he can ask in different threads; all of which he could have easily googled! Were off to a fucking good start. Dude. Calm the fuck down. Acting tough on the internet is not nearly as cool or original as you think. You're not funny, you're not smart, hell, you're not even convincing. If you want to make a point, try turning your 'raving lunatic' setting off for a minute and act like a real person. Trust me, it's worth it.


ghost's Avatar
0 0

Futility wrote: Dude. Calm the fuck down. Acting tough on the internet is not nearly as cool or original as you think. You're not funny, you're not smart, hell, you're not even convincing. If you want to make a point, try turning your 'raving lunatic' setting off for a minute and act like a real person. Trust me, it's worth it.

Hmm. Cool factor. Damn, you mean I'm not COOL to you guys? SHIT! And I've been trying for SOOOO long.

Original. Shit -> does that exist anymore? At least not on these forums. Well except for Mr. Sex Addict/Troll guy.

Ntvu wrote: Ok, well ever since I started hacking (starting early) it seems like I've been having some problems concentrating. And recently, I've figured out why exactly this is.

It's because of my addiction to porn. I know, it's strange, but that's the reason why. It seems like until I look at porn (and some other stuff which I'll explain later) I can't hack. Not that I can't - I can still concentrate but just not very well. There's something clouding my vision - I guess it's my horniness.

This is what happens every day. I feel all horny so I go to youporn, watch some porn videos, then I go to some other porn sites. And as I'm doing this I just watch and masturbate, like I squirt my penis until I shoot a loadful.

Then I can finally concentrate. So once I get all the cum & shit out of my penis I am once again able to think clearly.

Except… I don't like this. I don't wanna have to look at porn everyday and shoot a loadful of semen just to be able to concentrate on hacking, even though I like it very much.

Does anyone know a solution to this? Please don't suggest counseling… that won't help.

And does this happen to anyone else?

I need to figure this out ASAP.

fuser wrote: This is an original post, IMO. Has to be a troll.

Funny. -> I wasn't trying to be funny. Fuck. No way in hell I could compete with MoshBat. I completely agree with elmiguel.

elmiguel wrote: Man who needs the comic section of the newspaper with you guys around.

Smart. Hmm. Didn't really try to post an intelligent statement, so don't search for it there.

Convincing. Was I trying to convince you that Orillian is an idiot? Noo… you already knew that. Maybe I was trying to show Fuser that if you give an idiot an answer he'll only come back for more answers. Hmm. Might be it. (Give a man a fish and you feed him for a day; teach a man how to fish and you feed… ahh fuck that. He's a fucking idiot who won't learn anyways. -> Orillian, not fuser. Don't want you getting mixed up)

A REAL PERSON? Holy shit. What world are you living in that everyone speaks with respect and is nice all day long? Who are you to decide if I'm acting like a real person or not. Shit…

But I guess laziness / swearing isn't very useful when trying to be convincing, if indeed that was what I was trying. I'll try harder, JUST for YOU!


spyware's Avatar
Banned
0 0

C# programmers usually lead good lives. They happily go to work, boot in to Windows XP SP3, and design and program gently away in a friendly interface. They share and receive knowledge from Microsoft's vibrant community of C# developers, and make use of pre-made code snippets to ease their workload. After getting some coffee with Mike, a colleague, you head back to your computer and program some more. The programmed applications might not work on operating systems that aren't Windows, and perhaps even the old versions of Windows can't be supported by your application, but hey, everything else works! And it's fun!

You earn a solid 4k a month, drive a Honda Civic and you are proud father of a daughter. After walking your dog, you might find yourself sitting in front of your PC reading up on the newest version of .NET, and the numerous enhancements Microsoft bestowed upon it. After reading, you turn off the Dell monitor, and go to bed with your wife.

You are a happy programmer.

C programmers usually lead interesting lives. When they aren't tinkering with their various versions of unix-based distro's, they exchange thought and code on the internet. Between flaming emacs, more, KDE & Gnome users, you try to finish new drivers for that wireless card. While there isn't much help available, reading the source-code of drivers programmed by other hackers helps a lot. At three in the night, you finally feel like a victor, iwconfig displays some data. Those past three weeks of going to bed in the morning start to pay off.

After running some maintenance scripts, you shutdown your three computers and seven monitors. You look around you and notice the mess you've made; various soda cands, candy wrappers and pizza boxen clutter your room. You shrug, and decide to clean it up some other time. You need five steps to reach your bed, and fall down, exhausted. Your thin walls can't shut out the sound of the metro leaving the station. You look at the dim, blue light on your cellphone, no new messages. A mixed feeling of regret and happiness reaches your brain. You slowly feel the effects of caffeine and taurine wearing off, you feel your thoughts slowly coming to a halt. You fall asleep.

You are a happy hacker.


ghost's Avatar
0 0

Haha that was good. Was that copypasta or did you write it yourself? If so, good job :D


Demons Halo's Avatar
Member
0 0

spyware wrote: C# programmers usually lead good lives. They happily go to work, boot in to Windows XP SP3, and design and program gently away in a friendly interface. They share and receive knowledge from Microsoft's vibrant community of C# developers, and make use of pre-made code snippets to ease their workload. After getting some coffee with Mike, a colleague, you head back to your computer and program some more. The programmed applications might not work on operating systems that aren't Windows, and perhaps even the old versions of Windows can't be supported by your application, but hey, everything else works! And it's fun!

You earn a solid 4k a month, drive a Honda Civic and you are proud father of a daughter. After walking your dog, you might find yourself sitting in front of your PC reading up on the newest version of .NET, and the numerous enhancements Microsoft bestowed upon it. After reading, you turn off the Dell monitor, and go to bed with your wife.

You are a happy programmer.

C programmers usually lead interesting lives. When they aren't tinkering with their various versions of unix-based distro's, they exchange thought and code on the internet. Between flaming emacs, more, KDE & Gnome users, you try to finish new drivers for that wireless card. While there isn't much help available, reading the source-code of drivers programmed by other hackers helps a lot. At three in the night, you finally feel like a victor, iwconfig displays some data. Those past three weeks of going to bed in the morning start to pay off.

After running some maintenance scripts, you shutdown your three computers and seven monitors. You look around you and notice the mess you've made; various soda cands, candy wrappers and pizza boxen clutter your room. You shrug, and decide to clean it up some other time. You need five steps to reach your bed, and fall down, exhausted. Your thin walls can't shut out the sound of the metro leaving the station. You look at the dim, blue light on your cellphone, no new messages. A mixed feeling of regret and happiness reaches your brain. You slowly feel the effects of caffeine and taurine wearing off, you feel your thoughts slowly coming to a halt. You fall asleep.

You are a happy hacker.

I nominate this to the BPA (Best Post Award) 2009. If you had to choose, which one would you take? =P


Futility's Avatar
:(
80 122

Zenrith wrote: But I guess laziness / swearing isn't very useful when trying to be convincing, if indeed that was what I was trying. I'll try harder, JUST for YOU! Thanks. That's ALL I ever WANTED! I'm GLAD to SEE that you've learned YOUR lesson.

Also- spyware obviously copy/pasted that. If you know anything about him, you'd be aware of his complete and utter lack of creativity and his knack for using other people's works as his own.


ghost's Avatar
0 0

Futility wrote: Thanks. That's ALL I ever WANTED! I'm GLAD to SEE that you've learned YOUR lesson.

lol. That, was pretty damn funny to read. :happy:


korg's Avatar
Admin from hell
0 0

Futility wrote: Also- spyware obviously copy/pasted that.

No I think spy stays up at night thinking these things up. Love it.


ghost's Avatar
0 0

MoshBat wrote: [quote]Zenrith wrote: [quote]Futility wrote: Thanks. That's ALL I ever WANTED! I'm GLAD to SEE that you've learned YOUR lesson.

lol. That, was pretty damn funny to read. :happy:[/quote] As, were most of your utterly ridiculous posts. It's, just a shame they contained nothing that hadn't been said before. I, can't think of many more sentences where I can incorrectly shove a comma after the first word, just to get across a a point that will probably bounce straight off your… Fuck, it. [/quote]

Already said I wasn't original. Thanks for acting like me and posting complete shit that contained nothing that hasn't been said before. And, I, Can, Shove, A, God, Damn, Comma, Where, Ever. Find some pleasure in life rather then picking at fucking sentences. Unless of course you have nothing better to do; please continue. Run on sentences? MoshBat to the rescue! Too many commas? MoshBat here again!

Btw. Love your utterly ridiculous posts. But you got one up on me, most of your shit is original… or not.


ghost's Avatar
0 0

Already said I wasn't original. Thanks for acting like me and posting complete shit that contained nothing that hasn't been said before. And, I, Can, Shove, A, God, Damn, Comma, Where, Ever. Find some pleasure in life rather then picking at fucking sentences. Unless of course you have nothing better to do; please continue. Run on sentences? MoshBat to the rescue! Too many commas? MoshBat here again!

Dear god learn2grammar. Okay! I understand you're making a point about using a comma where ever you like, but surely this doesn't give you an excuse for incorrect use of capitol letters as well?