Jump to content
xisto Community
Sign in to follow this  
silverkirfsco

About C++

Recommended Posts

this isnt really a question about how to use it but more about programming in general.so c++ is a programming language that makes programs? but what created c++? and what created that program?how many steps are there until you reach binary? and what created binary?

Share this post


Link to post
Share on other sites

C++ was created by Bjarne Stroustroup (that should be the proper spelling for his last name, I can never remember). It was originally called C With Classes, because that's what it is: C, but with classes.

 

C++ is a good programming language to start with, especially if you want to learn PHP, but it's not really good for large programs. For example, Windows XP is entirely written in C++. Is it very stable? No way.

 

Anyway, I'd suggest learning Java first. It's very nice, and you can run Java programs on any computer with the JRE (Java Runtime Engine), which is downloadable for free, and you can even create applets with it to embed in web paged. :)

 

Oh, with with the Abstract Windowing Toolkit in Java, you can actually call the system's default beep sound. I've put that in an applet, and a couple programs where I've made it go off when a button was pressed. :)

Share this post


Link to post
Share on other sites

C++ was created by Bjarne Stroustroup (that should be the proper spelling for his last name, I can never remember). It was originally called C With Classes, because that's what it is: C, but with classes.

 

C++ is a good programming language to start with, especially if you want to learn PHP, but it's not really good for large programs. For example, Windows XP is entirely written in C++. Is it very stable? No way.

 

Anyway, I'd suggest learning Java first. It's very nice, and you can run Java programs on any computer with the JRE (Java Runtime Engine), which is downloadable for free, and you can even create applets with it to embed in web paged. :)

 

Oh, with with the Abstract Windowing Toolkit in Java, you can actually call the system's default beep sound. I've put that in an applet, and a couple programs where I've made it go off when a button was pressed. :)

<{POST_SNAPBACK}>


thanks, but i was really asking about what programs where used to make c++. and what programs make that program?

 

basically how many steps are there between C++ and binary?

Share this post


Link to post
Share on other sites

Yeah, they both were written in the old days where programmers used like... Commodore BASIC or binary.About Java? Java is hard. C++ is not quite so hard. I mean...cout vs. system.out.println?cin vs. who the blazes knows how to get input (I used to know but I forgot)?But this ain't about Java.Anyway, I'm almost positive that C was made in binary.It makes sense1. Binary was the fastest.2. They didn't have much availibly back then.3. C/C++ is much better/faster/powerful than all the stuff that they DID have back then. Like... if you wrote C in BASIC, it'd be as slow and unpowerful as basic...

Share this post


Link to post
Share on other sites

Actually, with Java 1.5, the input is much easier. Instead of using the old BufferedReaders, you can now use the Scanner class. :) Here's the code:

Scanner scan = new Scanner(System.in());scan.readLine();
And output isn't really that much work...in my Java IDE (SitePadPro), I can just type in "out" and hit tab, and it'll give me "System.out.println();", just need to put in the parameter(s)...Java just needs to be standardized to you could just type in "jout(output)" our "jin(output)" or something like that. :)

Share this post


Link to post
Share on other sites

so Learning Java is better than learning C++ than? because i ws thinking of taking a class in C++, i thought that was a good thing to learn. Which would you rather learn, Java or C++?

<{POST_SNAPBACK}>


If you want to "develop you brain" :) learn c++.

If you like to make your life easy and comfotable learn java.

 

In other words the choice between java and c++ depends on kind of a man you are...

quick google search brought me to this article(you can download word version of that document on that page):

Why C++ is better than Java

(It is very objective document that also mentions what are the advantages of java over c++.)

 

i'll quote the the conclusion section of above document:

Being tried and true, C++ is the better of the two languages and should be the primary language taught for those learning to program

good luck

Share this post


Link to post
Share on other sites

The first generation of language was Machine Code or Machine Language, created from the logics of how the microchips worked, later to come was ASM (Assembly - lowest form of human readable code before machine code). All languages derived from machine code, it is the only language computers understand, zeroes and ones (binary). How they created the high level languages, well simply, they made human readable syntaxes for programmers to understand, while behind the scenes their compiler/assemblers created INTCODEs or machine code, that they understood, sometimes creating it firstly in Assembly then later assembling it into machine code. You just have to know that people knew machine code for this to take place.All languages share similarities from one another in some respect and are usually based off one or another or even a combination of languages.Cheers,MC

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.