Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #22.6K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 7
c x 2

5 Posted Topics

Member Avatar for bops

[QUOTE=bops]I am planning on making a program to so that when it is excecuted it carries out the following procedure in 1 go... run command prompt ( system("CMD"); )...then use the command line to carry out the following command... "C:\Program Files\PowerMenu\PowerMenu.exe" -hideself on Im sure i have seen this done …

Member Avatar for Ancient Dragon
0
611
Member Avatar for vicky_dev

[CODE] #include <stdio.h> #include <iostream> using namespace std; int main(int argc, char *argv[]) { if(remove(argv[0]) == -1) { cout << "Error deleting file\n"; } else { cout << "File is gone!\n"; } return (0); } [/CODE] This worked for me. I run linux, so it may be an OS thing, …

Member Avatar for WolfPack
0
221
Member Avatar for juusan

Ok here is the code that should work. I put some coments on some of the things that you did and that I changed. [CODE] #include <cmath> // you dont need this again // you already included it // #include <cmath> #include <cstdlib> #include <iostream> #include <iomanip> void SetPreciison(int); using …

Member Avatar for juusan
0
228
Member Avatar for scoobie

Ok here is my input to the post. You can just type: [CODE] int bigthing[1000000]; [/CODE] and you should be fine. I just tried. Now if for whatever reason your program does not have that many continous memory, some funny things may happen. When dealing with big things like that …

Member Avatar for rnodal
0
348
Member Avatar for stupidenator

I hope this help. [CODE] #include <iostream> using namespace std; #define gridSize 5 void resetGrid(int grid[][gridSize]) { for(int i = 0;i < gridSize; i++) { for(int j = 0; j < gridSize; j++) { grid[i][j] = 0; } } } int main() { int myGrid[gridSize][gridSize]; for(int i = 0;i < …

Member Avatar for stupidenator
0
91

The End.