View Poll Results: Should I learn C# as a stepping stone to C++?

Voters
7. You may not vote on this poll
  • Yes

    1 14.29%
  • No

    6 85.71%
Results 1 to 10 of 10

Thread: What first... C# or C++?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Location
    www.massassi.net
    Posts
    6

    What first... C# or C++?

    A few monthes ago I bought Visual Studio.NET 2002, and I am learning VB.NET though a book. I eventually want to learn both C# and C++, but I don't know which I should do first. Here are my options:

    1. Learn C# out of the book, then take a class in C++.

    2. Take a class in C++, then learn C# out of a book.

    Right now I plan on using C# as a stepping stone to C++, but I think C# has it's own addvantages depending on the program.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    C++ is my vote. It has a lot of the fundamentals you will need with a lot of other languages. C# and Java will be much easier to learn if you know C++ first.

    You can start with C#, but if you learn C++, you can also use it with the framework, along with without the framework. C# you can't.

  3. #3
    Hyperactive Member
    Join Date
    Feb 2002
    Posts
    261
    You'll soon find that C# is 99.999999999999999999% like VB.NET. Just go ahead and learn C# as well, it'll only take you a few extra days to learn, at most.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    C++ first. I don't think RAD lanugages should be used as stepping stones to C++.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Location
    www.massassi.net
    Posts
    6

    Question Does this change anything?

    ...bear in mind that I already know alot about VB.NET.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Well, if you learn C# now you only learn a new syntax.
    If you learn C++ you actually learn a new language, and I don't think C# would help you with that.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7
    Lively Member
    Join Date
    Aug 2002
    Posts
    126
    it depend what kind of application you are going to write.
    c# has almost what manage c++ has, except Templates and the ability to produce native code (i.e. unmanaged code).
    c# is full oop, type safe language which is simpler to learn then c++.
    if u developing IT systems, and want quick productive outcome take c#. it doesn't mean that c# are not good at other fields, it does in most of the programming challenges, but in that domain it is the best.
    if u want to enjoy from both, the CLR and native win32 goto c++.
    c++ required more invest (i'm not talking about manage code, but on native code), because u must deal with things like memory allocation, pointers, threading etc.
    u can also produce manage code with manage c++, but it is a little more cumbersome then producing it with c#.

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    But the situation is different. He already knows a lot of VB.Net, so he actually doesn't need C# except maybe so that he can read examples or work with other developers. C++ on the other hand gives him a complete new field of operation.

    And I tell you one thing: if you know both C++ and VB.Net, learning C# takes no more than an hour.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I agree with CornedBee, by learning C++, he already has the syntax down for C#. And since he knows the framework from VB.Net, there isn't much to learn. C++ is the way to go if you ask me.

  10. #10
    Lively Member
    Join Date
    Aug 2002
    Posts
    126
    i am not talking about syntax at all, i am talking about the framework.
    if u already familiar with the framework it doesn't matter what language u choose, they all target the same IL.
    manage c++ indeed has a few things that other language doesn't, but i don't recommend to start with manage c++ for these targets.
    if u really want to learn c++ deeply, take some academic courses first, to understand software archietecture like data structure or operating systems, then follow c and c++.
    writing good c/c++ programs required good experience, and deep understanding about the system infrastructure.

    .net framework intend to do the opposite of c/c++ because it gives u to focus on the business problem u r going to solve, not on the technical details like memory management, pointers etc.

    so again, it is depend on the system u r going to develop.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width