The Royal Nick Humphrey Global World IT Forum, Home Edition  

Go Back   The Royal Nick Humphrey Global World IT Forum, Home Edition > Programmering Forum > C, C++ og C# Forum
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 24-06-04, 04:53
zalo zalo is offline
Junior Member
 
Join Date: 24 Jun 2004
Location: .
Posts: 2
Default forskjell på c,c++ og c#?

hva er forskjell på c,c++ og c#?
er det objektorientert?
Og er det en annen type "språk" enn java?
Reply With Quote
  #2  
Old 24-06-04, 14:39
Nickleus's Avatar
Nickleus Nickleus is offline
Nick Humphrey - Admin
 
Join Date: 06 Apr 2004
Location: Noreg
Posts: 2,794
Send a message via MSN to Nickleus Send a message via Skype™ to Nickleus
Default

C er basisen for C++ og var skrevet på 70-tallet.
C++ er en videreutvikling av C og inneholder elementer som gjør stor-skala programmering lettere.
C# ligner mer på java enn C og C++ på den måten at den er objektorientert.

Se også: http://cboard.cprogramming.com/showthread.php?t=5352

Her en interessant kommentar om hva man bør lære og i hvilken rekkefølge:
Quote:
quote:
Learn C# directly. After this, learn, in this order:

1. how to use the library (ASP .NET, WinForms, ADO .NET) properly

2. OOD design, design patterns and analysis

3. algorithms and data structures

Knowing these 3 things will make you a lot better as a programmer than someone who knows assembler, C and C++, but doesn't know the 3 things above.

I'm not saying that ASM and C and C++ are worthless. On the contrary, they are worth learning.

But this is a matter of priority and choosing where to spend your learning time and effort.

Learn the 3 subjects I indicated above!

Jay
Thursday, April 22, 2004
Kilde: http://discuss.fogcreek.com/joelonso...&ixPost=134732
__________________
Nick Humphrey
Download for free my experimental music, art, poetry and pictures.
My album Classic E B-sides can be purchased on both itunes and amazon.com.
Help me improve my phrasebook of world languages.
I offer remote healing services.
My blog.
Reply With Quote
  #3  
Old 01-03-06, 09:08
Entmaster Entmaster is offline
Junior Member
 
Join Date: 01 Mar 2006
Posts: 1
Default

så forskjellen på c++ og c# er at c++ er en OOP-påbygning til C, mens C# er et OPP-språk bygd fra grunnen?
__________________
"Fighting evil with evil then only evil can win"
Reply With Quote
  #4  
Old 01-03-06, 11:01
runarb runarb is offline
Member
 
Join Date: 18 Jul 2004
Location: .
Posts: 55
Default

Quote:
C# is an object-oriented programming language developed by Microsoft as part of their .NET initiative. Microsoft based C# on C++ and was influenced by some aspects of Visual Basic. C# has a procedural, object oriented syntax that combines aspects of several other programming languages (most notably C++, Delphi, Visual Basic, and Java) with a particular emphasis on simplification (fewer symbolic requirements than C++, less decorative requirements than Java.)
- http://en.wikipedia.org/wiki/C_Sharp

En stor forskjel meleom C# kontra C og C++ er at C# ikke kjøres av prossesoren direkte, men av en viretuel maskin. Dette gjør at man blant annet ikke har direkte minnetilgang, at kjørehastigheten på programet ikke bli optimal, og at C# ikke kan brukes til utvikling av opperativsystemer.
Reply With Quote
  #5  
Old 01-03-06, 11:18
Nickleus's Avatar
Nickleus Nickleus is offline
Nick Humphrey - Admin
 
Join Date: 06 Apr 2004
Location: Noreg
Posts: 2,794
Send a message via MSN to Nickleus Send a message via Skype™ to Nickleus
Default

Vakker oppsummering runarb. Tusen takk!
__________________
Nick Humphrey
Download for free my experimental music, art, poetry and pictures.
My album Classic E B-sides can be purchased on both itunes and amazon.com.
Help me improve my phrasebook of world languages.
I offer remote healing services.
My blog.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +2. The time now is 10:55.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Check out my phrasebook
All rights reserved 2004-2009