C++ programming

Discussion in 'General Science & Technology' started by Krusher, Mar 13, 2000.

Thread Status:
Not open for further replies.
  1. Krusher Registered Senior Member

    Messages:
    50
    I'm just putting this here in the hope some other coder sees it and posts something.

    I like C++.

    It is the best langauge in the world.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. DaveW Registered Senior Member

    Messages:
    243
    Have you tried Java?
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Rambler Senior Member Registered Senior Member

    Messages:
    509
    Why do you say its the best???



    ------------------
    work to LIVE...don't live to WORK.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. Tony H2o Registered Senior Member

    Messages:
    441
    Hi all,

    How about someone give us illiterates a quick run down on what C++ or Java is exactly. I know they are programing lingos but that's about all I know. Any pointers on where to go to get basic step by step instructions etc?

    Thanks

    Tony H2o
     
  8. Letticia Registered Senior Member

    Messages:
    300
  9. Tony H2o Registered Senior Member

    Messages:
    441
    Thanks Lettica
     
  10. Krusher Registered Senior Member

    Messages:
    50
    For those of you who don't know.

    C++ and Java are programming langauges.
    A programming langauge, once compiled creates EXE files.

    You can make your own program to do whatever you want.

    I am a big fan of C++, I have never tryed java so i can't comment on it. But c++ is great. I just love the structure and how everything fits together so nicely.

    Its the only langauge you should consider for programming games.

    Here is an example of a C program to print some thing on the screen:

    #include <stdio.h>

    int main(void) {

    printf("Hello\n");
    return 0;
    }

    If you wish to learn c++ i reccomend http://chris.marino.net
     
  11. Rambler Senior Member Registered Senior Member

    Messages:
    509
    Krusher,
    Ever used Borland Compiler for C++, or Visual C++???? I thought I liked it at first (Same for all delphi stuff too) until I attemtped a project on it. When I got sick of it and tried to uninstall, Windows DIED. Anyone else had that happen?

    ------------------
    work to LIVE...don't live to WORK.
     
  12. Krusher Registered Senior Member

    Messages:
    50
    Yeah, i use VC++, rambler - if you've got icq would you like to tell me it?

    I'm on at the smae time you are at the moment
     
  13. Rambler Senior Member Registered Senior Member

    Messages:
    509
    I have icq but I'm at work behind a firewall which I administer and in all honesty haven't set up properly -- can't config socks proxy just yet I'll do it tonight.....maybe if I have time. So try tomorrow if you want.

    ------------------
    work to LIVE...don't live to WORK.
     
  14. Krusher Registered Senior Member

    Messages:
    50
    yeah, alright.

    Anyway, windows died?

    bad

    How good are you at C++
     
  15. Rambler Senior Member Registered Senior Member

    Messages:
    509
    It was a staple for us at UNI (engineering), but to be honest I haven't done too much since I've graduated. I have every intention in getting into Java though...Have you got any Java experience?

    If I had to say good or bad at it I'd say I'm fair.

    ------------------
    work to LIVE...don't live to WORK.
     
  16. Rambler Senior Member Registered Senior Member

    Messages:
    509
    the windows thing: (sorry)
    Yup when I uninstalled, as soon as it finished I got Fatal exceptions, then after reboot I got about 15 missing VXD's...I didn't bother looking into it I'm just used to formating and reinstalling regularly....I've said it before and I'll say it again Windows is nothing more then an elaborate Virus.

    ------------------
    work to LIVE...don't live to WORK.
     
  17. DaveW Registered Senior Member

    Messages:
    243
    Java and C++ are quite similar, as far as programming languages go. Some may argue that they are too similar, and that Java will very quickly be replaced by some new emerging language. I'm not sure about this, but for the moment Java is exceedingly elegant.

    This similarity works well, as Java and C++ are very similar syntactically. A C++ programmer should have little difficulty reading and understanding a piece of Java code.

    The prime selling point of Java is that it is totally object-oriented. While C++ is really just a hack of C to add OOP, Java was designed from the ground-up to be OO. It's hard to describe the benefits of OOP in a paragraph. You really need to be down in the trenches to appreciate it.

    Beyond that, Java is quite a bit easier to program. A C++ programmer needs to spend a great deal of time (if he is doing anything complex) dealing with pointers and dynamic memory allocation and destruction. Java (thank God!) does away with pointers and handles memory cleanup automatically via it's garbage collector.

    Even more, Java has a very good built-in library of classes. Network code is excellent, of course. Important features such as threading (normally OS-dependant) are also built in.

    Indeed, Java is slower than C++, but as Java compilers begin to emerge, the gap will disappear. If you're writing a high-performance app, like a game, then C++ is really the only choice. However, for less-demanding apps (and especially for distributed / network apps), Java offers a great deal of convenience that most programmers will appreciate.
     
  18. Rambler Senior Member Registered Senior Member

    Messages:
    509
    DaveW,
    What Compiler would you suggest.

    ------------------
    work to LIVE...don't live to WORK.
     
  19. Tony H2o Registered Senior Member

    Messages:
    441
    Thanks all,

    I'm starting to get the picture that this is way beyond my basic skills of click and drag.
    Although this old horse is always open to learn new tricks and he may even dig a bit deeper for a clearer understanding.

    All care

    Tony H2o
     
  20. DaveW Registered Senior Member

    Messages:
    243
    Rambler,

    For C++, I use VisualC++.
    For Java, I use JBuilder3.

    However, I've heard that Metrowerks Codewarrior is very good for both C and Java. It's also more performance-oriented than the others. I've used it briefly, but haven't really had the time to learn it. Also, Codewarrior works on both Macs and PCs (and Linux??).

    Also, for those just getting into programming/Java, there's an excellent, easy to read, tutorial published by Sun at:
    http://web2.java.sun.com/docs/books/tutorial/

    [This message has been edited by DaveW (edited March 15, 2000).]
     
  21. Krusher Registered Senior Member

    Messages:
    50
    I'm checking out java now.
    I just bought a new C++ book!
    Teach yourself Visual C++ 6 in 24 hours.

    I'm happy that i started such a popular topic.

    I'm thinking about setting up a programming network. Like MSDN but not based on any paticular platform.

    Would you join if I did?

    I feel there is a sea out there of information and it is incredibly hard to find what you want to find. The netwrok would help people out like that.
     
  22. dexter ROOT Registered Senior Member

    Messages:
    689
    i use windows 95 and 98 and well my little brother loaded all of his little magic school bus games on to the c drive, and crashed this computer, but thanx to my divine comnputeing skills i fixed the problem, then my father kicked me off the computer for looking up porn, i have such a hard life as a child...

    ------------------
    when christianity ruled the world, it was called the dark ages.

    -dexter (nimrod242 :aol sn)
     
  23. Bowser Namaste Valued Senior Member

    Messages:
    8,828
    <img src = "http://users.esc.net.au/~nitro/BBoard_member_gifs/bowser_anim.gif">Well, this is cool. All of this talk about C/C++ is really interesting. When are you guys going to start posting some code? I need something new to hack<img src = "http://www.exosci.com/ubb/icons/icon12.gif">

    I've been using the Symatec C++ IDE for the last few years and have worked with The Visual C++ IDE for the last few months.

    ------------------
    It's all very large.

    [This message has been edited by Bowser (edited March 26, 2000).]
     
Thread Status:
Not open for further replies.

Share This Page