1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

C# before C++?

Discussion in 'C, C++, C#' started by invinceable, Jun 5, 2009.

  1. invinceable

    invinceable Regular Member

    Joined:
    Jul 12, 2008
    Messages:
    427
    Likes Received:
    73
    Home Page:
  2. godmonkee

    godmonkee Regular Member

    Joined:
    Jan 12, 2009
    Messages:
    396
    Likes Received:
    766
    Occupation:
    IM
    Location:
    Gallifrey
    In my opinion, C is hard enough as it is, so you may as well jump in at the deepend and do do C#, just my opinion, and I would avoid C++, but it all depends on what you want to do with it, to be honest as to what you learn.
     
    Last edited: Jun 5, 2009
  3. king.a

    king.a Newbie

    Joined:
    Jun 3, 2009
    Messages:
    1
    Likes Received:
    0
    C# is fairly easy compared to C/C++ I have got the basics down, I can make a calculator like its no body's business. You can probably learn to do that in one day Console.Writeline("Good Luck"); ;)
     
  4. dpalat

    dpalat Regular Member

    Joined:
    Aug 14, 2008
    Messages:
    378
    Likes Received:
    69
    Occupation:
    IM
    Location:
    Kramsterdam
    Home Page:
    Well i try c, c++, java, c# and all i can tell i, go with C#. C# have all best parts of c++ and java.

    Bad parts:
    slower then c++ and computer need .net installed. You will learn c# easier then c++ .
    I code all in "C# express" you can download it for free and sell programs you don't need to buy compiler.

    great examples : www.codeproject.com

    good luck!
     
  5. ShadeDream

    ShadeDream Elite Member

    Joined:
    Nov 27, 2008
    Messages:
    2,209
    Likes Received:
    5,230
    Location:
    He who laughs last, laughs longest.
    You mean Microsoft's Visual C# Express? You can't legally sell the software you create using that? Can you?
     
  6. s0phia

    s0phia Regular Member

    Joined:
    Nov 11, 2008
    Messages:
    266
    Likes Received:
    280
    in university we started with C and then did C++, that order made sense to me, but id say you can start however you want :)
     
  7. edc

    edc Regular Member

    Joined:
    Dec 9, 2007
    Messages:
    279
    Likes Received:
    85
    Location:
    Straight Outta LoCash
    Do C# first. Between the development tool, the .NET framework, and the fact that C# will protect you from some of the memory allocation shenanigans that C++ makes you pay attention to, C# is a great language for writing applications that run on Windows (or in a browser).

    On the other hand, if you want to write games or interface with hardware, C++ or C is the way to go. The lower level (i.e. to the hardware) control that these languages give you almost can't be beat.

    PHP is probably the best thing to learn if you want to leverage coding skills for internet marketing.

    I'm a long time programmer, so take it from me - if you know what you want you're better off outsourcing it than coding it, unless it requires a very high level of programming skill to tackle. Focus on putting together the ideas and processes that will make you money, and leave the taskwork (like programming) to others.

    -e-
     
  8. drey2k

    drey2k Power Member

    Joined:
    Jan 4, 2009
    Messages:
    551
    Likes Received:
    169
    Occupation:
    Finance guy
    Location:
    USSR 1943
    How come?
     
  9. underplay

    underplay Newbie

    Joined:
    Jan 13, 2009
    Messages:
    27
    Likes Received:
    1
    My response should be interesting...I started coding C++ when I was in middle school(long ass time ago). At first it was the hardest thing to understand. Because C/C++ is one of the lowest levels of coding besides a few others, which like someone mentioned above makes memory allocation and similar problems complicated.

    But in my opinion learning C++ first made everything else easier...really...after going from pure C++ and no other libraries to help me, to other languages with pretty much every function/lib you can need...its cake(just time consuming). I suggest you try coding a couple of C++ hello world's for a few weeks then try out something else...

    P.S. Oh yea, I don't code .NET at ALL but you can easily view the source of these win32 apps(dont get your code jacked).
     
  10. rudyvise

    rudyvise Jr. VIP Jr. VIP

    Joined:
    Jul 6, 2008
    Messages:
    358
    Likes Received:
    169
    Occupation:
    Corporate Copywriter
    Location:
    England
    The answer is : Where do you want to go as a Programmer?

    If you want to be the worlds greatest kernel hacker then C is your baby.

    If you want to write heavy duty robust commercial applications then C++ is your baby.

    If you want to write cool tools and bots then C# is your baby.

    I would say, start with a language that fits what you want to achieve as a programmer and bloody well know it inside out.

    Get in the C? ZONE.

    best,

    Rudy
     
  11. sen0lis

    sen0lis Registered Member

    Joined:
    Apr 22, 2009
    Messages:
    97
    Likes Received:
    12
    I started with C++.

    Can't go wrong with C++. Its amazing language for writing malware.
     
  12. rambang

    rambang Newbie

    Joined:
    Jun 7, 2009
    Messages:
    49
    Likes Received:
    7
    well depends abot the time you want to spend. making bots in c# is very easy but not very optimised. I like c++ but some applications are much faster in c#.
    if you start working with c++ and implement your own libraries you're applications will run much faster.
    II've made bots in java, c# and c++. and the fastest are in c++
     
  13. Exxtra

    Exxtra Junior Member

    Joined:
    Aug 9, 2009
    Messages:
    140
    Likes Received:
    127
    Occupation:
    Ecommerce and Email Marketing
    Location:
    You've got mail!
    C++ is a superset of C, meaning that it adds onto C. You can compile C code on a C++ compiler but not vice versa...not that there are many C-only compilers out there anymore.

    C# is a dumbed down version of C++ that runs in a .NET sandbox. It's quick and easy, but it's limited by .NET and the fact that it produce bloated, slow-running programs.

    Delphi is something you should consider, it's about as quick and powerful as C++ with no dependencies on .NET or other frameworks (true standalone EXE) but easy to learn like C#...it's like the programming world's little secret. I myself do C++ and Delphi.
     
    • Thanks Thanks x 2
  14. Zakk-

    Zakk- Junior Member

    Joined:
    Sep 16, 2009
    Messages:
    141
    Likes Received:
    15
    I started with C++ in highschool, it is a complicated language, but not too bad. Everything I started to learn after that came easier.

    I suggest if you are looking to automate BH type things, go with C# as C++ is annoying at things of that nature and C# seems to do it much easier.
     
  15. Cogofwar

    Cogofwar Registered Member

    Joined:
    Aug 10, 2009
    Messages:
    81
    Likes Received:
    31
    C# is the language where object oriented programming started to make sense to me, I think it's great for learning. Much better than Visual Basic. Also, the .Net framework is more logically structured and easier to remember than the archaic standard C++ libraries.

    If you want to be able to throw a program together fast C# is better. If you want to manipulate memory at a lower level and stuff like that C++/C is better.
     
    Last edited: Oct 14, 2009
  16. wgn_white

    wgn_white Regular Member

    Joined:
    Oct 12, 2009
    Messages:
    242
    Likes Received:
    26
    I vote for C++

    and use the Dev C++ blooshed as editor, linker, and compiler.
     
  17. xbada

    xbada Junior Member

    Joined:
    Jul 31, 2009
    Messages:
    102
    Likes Received:
    118
    Occupation:
    full time im
    Location:
    usa
    I would start with c++ and attempt to code things in the style of c, while reserving the power of c++ when you really need it. Kills two birds with on stone.
     
  18. AutoBlogger

    AutoBlogger Power Member

    Joined:
    Oct 20, 2009
    Messages:
    780
    Likes Received:
    928
    Occupation:
    IM, AutoBlogging and Urban Planning
    Location:
    The Global Village
    All the programming languages are easier than learning anything else. I started learning programming with C and ends at python. Basically I know 8 languages and code with them. It took only 8 month for me to learn them all though i think my IQ level is lower than normal people. So buddy forget about what is easy and what is tough.Everything depends on your interest and practice. Start learning now. My suggestion is start with C. then C++ and then C# and also try VB.NET. I think it will take 2 or 3 month.
    Good Luck.... :)
     
  19. Nicknicholas

    Nicknicholas Junior Member

    Joined:
    Sep 7, 2009
    Messages:
    137
    Likes Received:
    35
    I would go with C++ because IMO it is the most versatile. Its better to keep your options open, and knowing C++ makes learning other languages A LOT easier. If it is too difficult, get started with C# to help introduce you to C++ and take off from there.
     
  20. justone

    justone Elite Member

    Joined:
    Oct 12, 2008
    Messages:
    1,516
    Likes Received:
    1,037
    Occupation:
    -
    Location:
    Europe
    If you just want to write small stuff for yourself and don't like to dig too deep learn C# or Delphi or BC++Builder or VB or even Java.

    If you want to be a professional you'll have to learn C, C++ for sure. Those are the fundament of operating systems and you can program anything with it.

    The higher level programming languages like C# are different. Most are not even true programming languages as they generate bytecode that needs to run through an interpreter to be executed on a system.
    They handle memory management for you and usually contain uncountable ready functions to use.

    When learning C you'll soon see that even the smallest function often needs to be programmed by hand.
    C is the way to go for server applications and console tools.

    C++ is similar but more focused on Object Oriented programming, C++ is mainly for Windows/XFree applications with GUI.
    In principe C++ is as stripped as C but there are huge frameworks for GUI programming that make programming in C++ a lot faster. (checkout the free Codelite IDE which includes C++ compilers for windows, linux, mac and wxwidgets as GUI framework)