Problem in C++

Any other programming language that is not covered in the Web Scripting category.

Postby intensee on Sat Jun 24, 2006 4:39 pm

c++ is very hard programm Sad
intensee
Newbie
Newbie
 
Posts: 17
Joined: Sat Jun 24, 2006 4:17 pm

Postby Sephy on Sat Jul 01, 2006 10:35 pm

Why don't you just leave cmd.exe running and use the command line to run the program every time you compile it? You know, considering you're writing a console application, it makes sense you run it in a shell. (yes, cmd.exe counts as shell)
Sephy
Contributer
Contributer
 
Posts: 36
Joined: Sat Jul 01, 2006 9:00 pm

Postby Ius on Sun Jul 09, 2006 12:48 am

peterskate wrote:RE : I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
What means that ??? Confused

You should see it as a sequence of binary numbers, with the values mentioned being '1'. This makes '10100111001' which is 1337 decimal. Feel free to look up '1337' or 'leet' on Wikipedia.org should you not know the meaning of it.
Ius
Newbie
Newbie
 
Posts: 7
Joined: Sat Jul 08, 2006 10:44 pm

Postby alg8662 on Sun Aug 06, 2006 12:41 am

Yeah, my recommendation is to specifically open up a DOS Prompt (Start -> Run -> "cmd") and "cd" into your folder that has your programs and run them from there. That way, the DOS prompt will stay open and you can view the output from your program...
alg8662
Contributer
Contributer
 
Posts: 56
Joined: Fri Aug 04, 2006 1:22 pm

Postby Tencati on Tue Aug 08, 2006 4:39 am

I used to place a system("pause") (bieng to lazy to open cmd.exe and cd around) and later i used cin.get() but im only intrested in learning code so i didnt realy care how the window stayed open Smile also i havent realy looked around much but if u code in linux theres no problem in keeping the window open personely i find it easyer to code under linux (although the beginning was a little tough) Wink
Nobody's insane its just a different opinion.
Tencati
Newbie
Newbie
 
Posts: 16
Joined: Mon Aug 07, 2006 2:03 am

Previous

Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron