lol using system("PAUSE") would br much shorter
Type: Posts; User: aznboi
lol using system("PAUSE") would br much shorter
really? darn i just learned it over the summer lol...
what do u mean its dead? i sitll use it
Man if youre tired of DOS and want to make GUI apps, Visual Basic is the way to go. Ive studied it and its really easy and you can make some good GUI apps with it.
y dont u try doing this:
#include <iostream>
int main()
{
int a;
int b;
int salary;
cout<<"Enter hours worked (-1 to end):";
cin>>a;
ill try that thnx
me? experienced? no way lol. I read a C++ tutorial and after learning the basics, stopped reading and just made programs using stuff like cout and cin lol. i still dont even kno how to make a good...
o wow. I just tried to figure out which one of those headers enabled u to use system("PAUSE") and it turns out htat you don't even need them! wow all those times i added that in there without needing...
well i cant remember which header file had system("PAUSE") so i just put both of htem in there lol, but without those im pretty sure system("PAUSE") wont work..
i tried this and it worked.
#include<iostream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
int main()
hi im trying to make a program for a friend. He wants it to open up a program when you enter the parameters for it. So if i entered "C:/somefile.exe" then pressed enter, that file would open. I tried...
thnx for the help guts it works.
thnx guys it worked!
i have an exe file (a command line program) that i want to open up when a user types in go or something. where would i put the exe file and how should i write the code?
thnx
www.cplusplus.com/tutorial