Thread: Beginners, C++ or C#?

  1. #16
    #junkie
    Join Date
    Oct 2004
    Posts
    240

    Thumbs up

    Wow thanks for such a great response!

    All said, i choose C++. I definitly agree with your points about seeing what goes on under C#.

    And i have some coding understanding, and overall, just the concepts of the few tutorials iv read the concepts in C++ are overall basic (in the beginning ofcourse lol), so im thinking i'll be able to ease myself into it.

    One thing i request howeveris a link to a tutorial on understanding how to code GUI's and communicate through DDE server->client communication. I would like to be able to communicate with mIRC to recode my lovely .. massive MuD allowing me to do a big repetative project lol. But ofcourse i have the hurdles of GUI and DDE which im fully aware of

    Also for later on im thinking of making a client for said MuD and i would need to make a GUI DDE server again to communicate with Flash and mIRC via DDE/XML Sockets (or so im told). I know, sounds like a probject with flash that i may soon abandon, but none the less i would like to try it. The smoothness of Flash would be much easier to create than go through the work of making a gamelike animated client look good and smooth with the collection of nub knowlage i possess lol.

    Anyway, thanks for your replies!

    Oh one last thing, what Compilers do you all use? Please list frontend and backend if possible (ie front: Dev C++ freebie, back: GNU++)
    or ms C++ ect.

  2. #17
    Registered User
    Join Date
    Sep 2004
    Posts
    11
    lol. sorry for raising the c++ pwns , vb is puke debates. I just talked with the school and I think they agreed to extend the c module up to 2 and go to java after that.So that's the end of vb for me because honestly I dont care much about it anyway.

  3. #18
    public static void Main() HopeDagger's Avatar
    Join Date
    Oct 2004
    Posts
    7
    Quote Originally Posted by Zeusbwr
    One thing i request howeveris a link to a tutorial on understanding how to code GUI's and communicate through DDE server->client communication.
    And thus we striketh the problem that hurts newbies that start with C++: it's quite difficult to make GUI or networked apps until you've got quite a bit of C++ knowledge under your belt. Expect to be staring at the boring console for quite some time. :/

    Oh one last thing, what Compilers do you all use? Please list frontend and backend if possible (ie front: Dev C++ freebie, back: GNU++)
    or ms C++ ect. :)
    MSVC++ 7.1 (aka. 2003 .NET)

    If I didn't have that, I'd unhesitantly fall down to Dev-C++ with MinGW. ;)

  4. #19
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    every language has its strong points and it's weak points, and the best thing to do is to learn as many as you can as well as you can.

    personally, I like C++ over every other language, but I know that I'll use VB for a quick GUI app, Java for a quick cross-platform app, and a small batch file for just calling command-line programs...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #20
    #junkie
    Join Date
    Oct 2004
    Posts
    240

    Thumbs up

    ok, i heard it was ;like pulling teath to make GUI apps in C++ compared to C#, so i guess i'll be in console for a while lol. Bummah :/

    But thanks!

  6. #21
    hacker in training AdamLAN's Avatar
    Join Date
    Sep 2004
    Posts
    56
    C++ all the way !!!!!!!!!!!!!!!!!!

  7. #22
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    ok, i heard it was ;like pulling teath to make GUI apps in C++ compared to C#, so i guess i'll be in console for a while lol. Bummah :/
    Definately it's a phenomenal difference when comparing the original C API with Windows.Forms, but there are many wrappers like OWL and MFC desgiend to make the job easier. I don't have a huge amount of experience with either, but I'm sure if you thought there were enough beneifts in using pure C++, you'd be able to find a C++ wrapper / API that would make it easy enough to be worth it.

  8. #23
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    i dont know enough about either to even comment lol. Im just ganna struggle on and learn what i can Eventually when i get through these tutorials from dif authors im prob ganna invest in a book, then eventually invest in MS VS C++

  9. #24
    i could be wrong but considering this is
    cprogramming.com that the people here,
    at least a good percentage would be
    a little biased towards c langauages
    then oh say VB, or Java.


    yes i knwo you asked about picking between C++ or C#
    but other people brought up some other languages,
    so i thought id make that comment.


    as for your question, i know nothing of C#, so i do
    not know how difficult it is starting out in it
    but c++ was the first language i started to learn (still am)
    and it can be quite difficult sometimes, specially
    for comming up with projects to work on your skill
    with when you dont know near enough to attempt a GUI
    based program. i do agree with the most the post above
    i think it would help you keep your interest longer and
    help drive you to succeed in c++ if you started with a simplier
    language first. but i would pick c++ over c# to begin with,
    but c# should defienitly be the choice after c++.

  10. #25
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    Well in a way i did start out with a simpler language, if you can call it a language. I relized i liked programming when i started dinkin around with the simplistic mIRC scripting. I'll prob be flammed for even using the word "language" and "mIRC" in the same line, but none the less for lack of a better word it is a language right lol?

    But ya, so far C++ is going alright, i plan on learning DDE communication for my first goals and using C++ to remake my mIRC MuD. Doing all the work while mIRC does basically nothing. Its all text based but this will help me with more of the basic functions and ingraining the C++ concepts in my head from repetative code. Assuming i can do that through the win console, which im assuming i can lol. .. hopefully hehe
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  11. #26
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    Quote Originally Posted by C++Child
    If you use Visual Basic, you'll never be able to learn C++
    Hey now, let's not pull out the VB bashing I used VB for about 7 years (DirectX in VB about 3 of those years) and it managed to hold its own for the purposes I needed each time.

    Besides, what's better than getting an assignment in class like "Make a calendar program" and being able to simply "Drag" a calendar into your screen and be done in 5 seconds?

    VB was my starting point for programming, and it eased me into others very nicely (Though C and all it's variations are much different, now that I've moved to DirectX and Object Orientated stuff in C++, for the last two and a half years, the transition wasn't that painful at all)

    Efficiency-wise, C++ is no doubt the way to go for anything involving graphical or mathematical processing.

    The problem with VB is that it comes with a lot of extra stuff that isn't necesserily used, which makes it bulky (imagine C++ without the WIN32_LEAN_AND_MEAN at the top of your program, except, much fatter).

    VB wouldn't pay off unless you thoroughly used it for a long time and got past the ideal that most people associate VB to (drag and drop programming with a baby-like difficulty of use, for baby-like applications). To start out, you'll be happy about the baby-like difficulty, but that isn't to say that the more you learn, it won't get more in-depth and rewarding to have learned what you did until that point. (Though it would take a while).

    But yeah, school, work, and all those places...I doubt you'll find a place that uses VB seriously. Java I hear is similar to C++ and while C++ may be more widely used at the moment than Java, it might not stay like that for long. I would recommend C++ just for the possibilities that arise from it compared to something like VB (which would take much time before possibilities other than VB became available).

    The pay-off from C++ in the short and long run is greater than VBs, yes, but the pay-off from VB can be worth it too.
    Last edited by Epo; 10-09-2004 at 07:28 PM.

  12. #27
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    at least a good percentage would be
    a little biased towards c langauages
    then oh say VB, or Java.
    Java's fine. Actually, I view it as sort of a family friend of the C's. VB's fine too, as long as you don't do anything too intense with it.

    >>but c# should defienitly be the choice after c++.
    No, it shouldn't. If you're going after graphical or mathematical processing, as Epo mentioned, go with C++. I also read somewhere, according to a line-by-line performance comparison between the two, C++ ran at about 3 times the speed of C#. In your average point-and-click GUI application, 1/3 the speed may be plenty; but for games or other intensely power-hungry programs, C or C++ will still come out on top.
    [edit]Although, other tests that take optimization into account come out with C++ being not much faster than C#...[/edit]
    Last edited by Hunter2; 10-09-2004 at 08:59 PM.
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

  13. #28
    bah hunter, i said, c++ should be his first choice
    i was just saying, after he learns c++, and moves to a new
    langauge that his next choice should be c#

  14. #29
    hacker in training AdamLAN's Avatar
    Join Date
    Sep 2004
    Posts
    56
    I think you're in the wrong message board for that kind of question. This is the board for C++ programming, so you're bound to find many programmers that love C++. I recommend it, cuz I learned it in about a week!

    lol

  15. #30
    Carnivore ('-'v) Hunter2's Avatar
    Join Date
    May 2002
    Posts
    2,879
    >>that his next choice should be c#
    Oh. Guess I misunderstood...

    >>I recommend it, cuz I learned it in about a week!
    I doubt it. But I know what you mean
    Just Google It. √

    (\ /)
    ( . .)
    c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Beginners C Programming Challenge
    By UCnLA in forum C Programming
    Replies: 23
    Last Post: 04-01-2008, 07:46 PM
  2. Exercises for Beginners!
    By alokrsx in forum C++ Programming
    Replies: 11
    Last Post: 10-02-2006, 11:59 AM
  3. for beginner's or anyone interested
    By Iconoklast in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-25-2004, 02:45 PM
  4. What is a good beginners' C++ book?
    By GrNxxDaY in forum C++ Programming
    Replies: 1
    Last Post: 07-29-2002, 09:50 AM
  5. a website for simple c programs for beginners
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-06-2002, 09:38 PM