Jump to content

C# C C++

- - - - -

  • Please log in to reply
7 replies to this topic

#1
eman ahmed

eman ahmed

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
-what's the difference between C , C++ ,C#?
- I learned Java but I didn't know any programming language except java
so I want some one suggest to you programming language from above to learn it

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
C# was based on Java. C is not object-oriented. C++ is basically an extension of C that is object-oriented. You would do best to think of them as three completely different languages.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
artificial

artificial

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 624 posts

eman ahmed said:

so I want some one suggest to you programming language from above to learn it

WingedPanther already told you something about the three programming languages. Which one you should learn depends on what you plan to program and which language is the most comfortable for you. In fact, you can create similar types of applications with the mentioned languages. The difference is that C is for example better for low-level programming, whereas C# tries to make creating GUI applications easier (this is only one point).

Greets,
artificial
Sometimes words ain't enough to express something. That's why computer scientists use double words.

#4
eman ahmed

eman ahmed

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
from the previous words , I will study C++ because it's extension of c
and c# is based on java

#5
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
C# is new language developed using both the core elements of Java and C++, But C# seems to have a lot of flavor from Java so my recommendation would be "learn C#"

#6
eman ahmed

eman ahmed

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
I am confused now
learn c# or C++
please If some one read this , recommend to me one of the two languages to learn it after java

#7
hpe

hpe

    Newbie

  • Members
  • Pip
  • 1 posts
Hi,

If you want to leverage the most from what you already know, choose C#. It's very similar to Java and the main new topic would be delegates. You should be productive in a matter of days. On top of the small language differences you'll find that the main difference is the new APIs in the .NET framework.

However, if you want to dig in and learn/do something more hardcore, go with C++. The main obstacle would be to familiarise yourself with pointers, pointers to pointers,method pointers and having to deal with all memory allocation and deallocaion yourself as Java and C# have garbage collection, it might be a challenge. It's hard work getting to be a good C++ programmer but depending on what you want to do, it can be the only choise. Think advanced games and scientific number crunching. For productivity apps in corporate environments C# (or Java) should be your choise.

I would suggest you learn C#, first because it'll take you little effort but you'll be rewarded quickly.

If you go the C++ route, check out QT and/or Boost

Hope this helps
/hpe

#8
eman ahmed

eman ahmed

    Learning Programmer

  • Members
  • PipPipPip
  • 79 posts
thanks a lot hpe . I will learn c++ to face the problems of pointer and pointer of pointers
and the problem of doesn't exit garbage collctor




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users