Jump to content

C++


All

Recommended Posts

C++ is a relatively old computer program language. It is used for making programs to be executed in the MS:DOS command prompt. You can basically control your whole computer from it without a mouse if you know how. Java 2 is the newest version of it. First it was :

C > C++ > something else > Java > Java 1.1 or something like that > Java 2

 

I am nor very acurate on my timeline, but it shows that c++ is the old version.

Link to comment
Share on other sites

search for some tutorials over the net, i do it for everything, and look at me now, i still dont know how to make a reflective marble in 3ds...

 

but if your willing to shell out $40-70 on one of those HUGE books, then go ahead, even in todays games they still use c++...well...im quite sure so

Link to comment
Share on other sites

I made a previous post explaining it. But, whatever.

 

C++ is a language developed for computers. You use it to write programs. The programs tell the computer what to do when the program is run. Let's say I write a program to display a guy named Frank and some info about him. It would look like this. (It is not exact because I use Java 2 but Java 2 was developed from C++ so they will be similar prgrams.)

 

class FrankInfo {

string address;

short phoneNumber;

int age;

int zipcode;

string gender;

public static void main() {

FrankInfo Frank = new FrankInfo();

frank.address ="906 Calibur Road, Baltimore";

frank.phoneNuber= 9672143;

frank.age= 24;

frank.zipcode= 69702;

frank.gender= "male";

frank.showAttributes ();

system.out.println("My address has changed');

frank.address= "714 Nicey Boulevard, California");

frank.showAttributes ();

system.out.println("My zipcode has changed");

frank.zipcode= 647914;

frank.showAttributes ();

system.out.println("My phone number has changed");

frank.phonenumber= 5881672;

frank.showAttributes ();

system.out.println("My age has increased");

frank.age= 25;

frank.showAttributes ();

system.out.println("Only my gender has remained the same");

frank.gender= male;

}

}

 

 

 

Not very fun is it. I may have made an error somewhere in there but I am half asleep and in a bad mood but I spent a long time typing this to help you.

 

I had tabs in there to make it look better and easier to read but this website has no formatting, oh well.

 

 

I have actually written quite a few programs with Java 2 and I feel that it is rather complicated. What can one expect from a computer language.

 

I suppose I will write my own someday. It would be eay to use and very effective.

 

Maybe I will call it *looks around room for appealing name* how about DISCO!

 

 

Hundinman

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...