No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey guys, I'm creating a program that prompts the user to inputt the name of the process that they wish to end, but the problem is, the system("TASKKILL") function won't accept variables. for example: [CODE]string cProcess; cout << "Enter the name of the process that you would wish to end" … |
|
Hey guys, I'm making a program that asks the user to input a folder path (string), which it then displays the contents of said directory, but the problem I have is that it won't accept space bars, it just screws up and enters into an infinite loop. So is there … |
|
Hey guys. I am trying to make a program that prompts the user to enter in a directory path, and then the program goes to that directory and displays what is inside. [CODE]string cString; cin >> cString; system("cd " cString); //this is what i am having trouble with. system("DIR"); system("PAUSE");[/CODE] … |
|
Hey guys. I am using windows xp, and Bloodshed Dev C++ compiler. I am making a simple program. The CPP file and EXE file work fine on my computer, but do not work on any other computers, no matter what OS (Ive tried on xp, vista, linux and 7). When … |