C,C++,C#

C,C++,C#

Post by Cat soup on Tue Jun 09, 2009 5:19 pm
([msg=25137]see C,C++,C#[/msg])

I am a little bit confused, it seems to me that there are a lot of different programming languages that start with C.
I have been reading through the different various and assorted threads about the differences between C and C++ but something is still unclear to me. What is C#, is it the same as C and C++, who created these languages and why do they all start with C?
Cat soup
New User
New User
 
Posts: 1
Joined: Tue Jun 09, 2009 5:15 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by xcurious on Wed Jun 10, 2009 6:04 pm
([msg=25218]see Re: C,C++,C#[/msg])

what is C#

http://en.wikipedia.org/wiki/C_Sharp_(programming_language)

is it the same as C and C++

No, it just starts with the same letter, but it has similar syntax compared to C and C++

who created these languages

Check the wiki articles for each language.

why do they all start with C?

Dunno.
- Apologies to all who I have flamed in the past. Thanks mods for unbanning me.


ckw100 wrote:so i have been pacticeing my batch file hacking for networks
xcurious
Experienced User
Experienced User
 
Posts: 79
Joined: Sun Sep 21, 2008 3:49 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by mischief on Wed Jun 10, 2009 6:55 pm
([msg=25223]see Re: C,C++,C#[/msg])

C# is a language created by microsoft that works with the .net framework.

C was created by Dennis Ritchie in 1972.

C++ was created by Bjarne Stroustrup in 1979 initially as "C with objects".

if you want to start learning one, i'd say start with C, move onto C++, and never touch C#. :p
The whole secret of existence is to have no fear. Never fear what will become of you, depend on no one. Only the moment you reject all help are you freed.
--Buddha
User avatar
mischief
Poster
Poster
 
Posts: 355
Joined: Wed Jan 07, 2009 4:16 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by BhaaL on Thu Jun 11, 2009 4:58 am
([msg=25239]see Re: C,C++,C#[/msg])

Still picky about C# just because its related to Microsoft, heh? ;)

I'd recommend the other way round, if you don't know any other languages.
C# is well-defined and unambigeous, and with Mono its not even bound to Windows-Platforms either.
Once you got the hang of it, you might want to continue with C to get into stuff closer to the System: how does memory management work, what are pointers, and learn the problems/caveats of platform-dependent stuff (endianness, API, other stuff).
C++ is, well, C with objects. Most C++ Coders wont admit that its C, and call C (and especially the macros) bad. You'll notice that they are related to each other since theres more than one way to do things, and sometimes you ask yourself "is that supposed to look like that?". Its a decent language, but not the easiest to learn.

Mischief: Make yourself useful, and post those links of the C++ Primer and the Anti-C++ Primer for once ;)
BhaaL
Poster
Poster
 
Posts: 270
Joined: Sun Apr 13, 2008 11:16 am
Blog: View Blog (0)


Re: C,C++,C#

Post by mischief on Thu Jun 11, 2009 8:10 am
([msg=25243]see Re: C,C++,C#[/msg])

The whole secret of existence is to have no fear. Never fear what will become of you, depend on no one. Only the moment you reject all help are you freed.
--Buddha
User avatar
mischief
Poster
Poster
 
Posts: 355
Joined: Wed Jan 07, 2009 4:16 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by BhaaL on Fri Jun 12, 2009 1:40 pm
([msg=25282]see Re: C,C++,C#[/msg])



*yawn*
The first result is labeled as "poor troll" :)
The second result is a deperate attempt on trying to implement a factory class that creates his stuff (by failing to use interfaces and the likes).
The third result is...erm...no idea, he rants about the setup not working on his PC, and then says how great ReSharper is.

Hey, did you know? Also works with C++ :)
(and that gets roughly 50k more results).

Anyways, lets drop that crap, he wants to learn something instead.
BhaaL
Poster
Poster
 
Posts: 270
Joined: Sun Apr 13, 2008 11:16 am
Blog: View Blog (0)


Re: C,C++,C#

Post by r-ID on Sun Jun 14, 2009 10:05 am
([msg=25347]see Re: C,C++,C#[/msg])

C and other similar programming languages (C++, C#, ObjC) have similar syntax.

C - good performance, you can write linux kernel modules, hard to code.
C++ - still good performance, brings objects. You can use C in the code aswell.
C# - programming language with very powerfull framework, easy to code, you can use C,C++ in the code.
ObjC - something between C# and C++. You can use C,C++ in the code aswell.
r-ID
Poster
Poster
 
Posts: 172
Joined: Mon Dec 29, 2008 6:04 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by tgoe on Sun Jun 14, 2009 11:05 pm
([msg=25366]see Re: C,C++,C#[/msg])

Well, I'd say Objective-C is more C+objects than C++ is... because I think C++ is a hilarious amalgamation of everything :)

why do they all start with C?


C is old, successful and popular. It's all about mindshare and compatibility with existing software.
User avatar
tgoe
Contributor
Contributor
 
Posts: 650
Joined: Sun Sep 28, 2008 2:33 pm
Location: q3dm7
Blog: View Blog (0)


Re: C,C++,C#

Post by r-ID on Mon Jun 15, 2009 7:08 am
([msg=25380]see Re: C,C++,C#[/msg])

why do they all start with C

because C is just basics.
r-ID
Poster
Poster
 
Posts: 172
Joined: Mon Dec 29, 2008 6:04 pm
Blog: View Blog (0)


Re: C,C++,C#

Post by tgoe on Wed Jun 24, 2009 2:00 am
([msg=25854]see Re: C,C++,C#[/msg])

That's a circular reference at best :P

It's easy to call C 'basic' after newer languages copy it and add cruft :?
User avatar
tgoe
Contributor
Contributor
 
Posts: 650
Joined: Sun Sep 28, 2008 2:33 pm
Location: q3dm7
Blog: View Blog (0)


Next

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests