Jump to content

C++


All

Recommended Posts

I know C++

 

What exactly is it that you want to know?

 

Both C++ and Java are high-level programming languages. This essentially means you can write anything from small DOS based programs to fully fledged applications and games. They are both object orientated, which means the programming style is based loosely on real life functionality, rather than the sequential style of programming you'd see in machine code for example (which is a low level language).

 

To write a program you must create your source code (what you type in) and then compile it into a program. The program can then be run. Both Java and C++ have software which allows you to do this more easily (e.g, JBuilder or Microsoft Visual C++)

 

Any of that make sense? Or even close?

 

Java and C++ ar evcery similar. Java was based on C++, but it not a replacement - it's an alternative. Both are very similar in terms of the programming syntax they use. The main differences are as follows:

 

Java will run on any Java enabled platform (pretty much any system these days), C++ only on the platform it was written for.

 

Java runs slightly slower due to bytecode being interpreted on a virtual machine. Don't worry about what that means :)

 

Java is less complicated. Garbage collection is automatic, there are no pointers or references and only single inheritance.

 

For the most part, C++ is still the industry standard, although you can't really go far wrong with Java these days either.

 

 

Anything else, just ask...

Link to comment
Share on other sites

Your best bet is probably the Borland C++ compiler, available from www.borland.com

 

It doesn't have a nice snazzy graphical interface like visual c++ and the other retail software, but it does everything that's needed, and it's good practice to use a bare bones compiler when you're new - it gives you a good feel for exactly what is going on.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...