Hello , this is my 2nd request ! I`ve forgott about Python , and i really REALLY want to begin with C++ . I know i am capable of learning it .. .

I have searched for C++ builder ALL THIS DAY !! i`m so anxious and nervous cuz` i didn`t find anything good . Belive me , i swear of God i search it , nothing good .. only trials and it doesn`t work for me .. i don`t know . I think there are missing files . Please , direct me for a link , just one ! No rude pls , don`t slap me , i`m just so nervous i couldn`t find one good all day . Thank you

I downloaded that , it`s pretty good , but i can`t view my results. I save it , i make it .exe , and if i double click on it , it`s just BLINK , very fast .. and i can`t see anything . It about this file ?

The executables compiled by Dev-C++ will need MSVCRT.DLL (comes with Windows 95 OSR 2 or higher).

I read on that site .. i thought it`s about this . If this is the problem , where can i find it ?

SirEklipse wrote:I downloaded that , it`s pretty good , but i can`t view my results. I save it , i make it .exe , and if i double click on it , it`s just BLINK , very fast .. and i can`t see anything . It about this file ?

Agreeing with fabi here. cin.get() is a lot cleaner, more portable, and faster than system("PAUSE"). What I fail to understand is why you would recommend this method and then link to an article explaining why NOT to use it!

In addition, there are two things you could do to make your above code look cleaner. First off, if you plan on using cout a lot you should really declare usage for it. Put "using std::cout" at the top so you can just type "cout" instead of "std::cout" which looks a lot nicer. You could also just include the entire std namespace, but that might be overkill and could cause problems with other custom classes, methods, etc.

Another thing to do is to stop using endl in the context that you did. If you simply want to put two newlines, I'd just use "\n\n" since it is shorter, doesn't require another << stream, and doesn't flush the output buffer (not needed in this case).

I know you probably weren't writing this with the intention of anyone criticizing it, but take this as a lesson. This is how I would have done it (with only the changes mentioned):

Try compiling it. Not only does it avoid the ugly "PRESS ANY KEY I AM WINDOWS SUCK MY DICK" message, but the code itself is a lot easier to read. Granted, this will only accept the Enter key, but that's a small price to pay, and (in my opinion) more desirable in most cases.

It works ! Well , amazing answers and very very interesting results on this topic. I found this site more useful then google itself and i don`t want to be rude . Thnk you all for the answers , i found the answer on mIRC , the answer with : system("pause"); . But , the cin.get(); it`s overpower Thank you , and thanks for the links but i already have those saved in firefox + 1 . I hope , on future if i`m stuck , to get the same answers if i post . Happy New Year , and have a nice day !