Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
61% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #4K
~44.7K People Reached
About Me

I like pi.

Interests
Programming, 3D modeling and animation
PC Specs
Intel Core 2 CPU @ 1.87 GHz with Ati Radeon HD 6670 Low Profile
Favorite Tags

53 Posted Topics

Member Avatar for thecoolman5

Hey, I recently found out how to shutdown another's computer using yours at school with command prompt and when I tried it, it didn't work. Here's the code: shutdown -i and when I click on browse, it says that the server is unavailable. And here at my school, we login …

Member Avatar for Shinigetsu
0
1K
Member Avatar for thecoolman5

Hello everybody. After 3 hours of constant searching, I have finally given up on finding a program that recovers a password protected word document. So, I coded my own program that goes through every single letter combination of any desired length. Now, all I need to do is have the …

Member Avatar for thecoolman5
0
118
Member Avatar for thecoolman5

Hello everyone. I just have a simple question with command prompt in Windows 7. Is there any command that copies the text from a file onto the clipboard so I can paste it somewhere? All I want to do is start the batch file and press Control-V. Solutions?

Member Avatar for thecoolman5
0
283
Member Avatar for kakilang

you know, you can use the PlaySound function. you need to convert the audio file to a .wav file and you need to link winm.lib to your C++ file. and here is the code. [CODE]#include<windows.h> #include<iostream> int main(char argc) { cout << "Hello" << endl; Sleep(50); PlaySound(TEXT("hello.wav"), NULL, SND_FILENAME); system("pause"); …

Member Avatar for 4reebahmedkhan
1
10K
Member Avatar for thecoolman5

Hello everybody. My internet speed is quite decent. I don't use much of it when I am using the computer. But one thing that really irritates me is how little bandwidth I get when my siblings are using it too. I usually play MMO games like World of Tanks and …

Member Avatar for Warrens80
0
249
Member Avatar for thecoolman5

Hey, I recently tried to jailbreak my iPod touch 4th generation. In the middle of it, my computer crashed and my iPod went into recovery mode. I plugged it into the computer and restored it but all my iPod data was erased. I tried backing it up but it won't …

Member Avatar for sawiphone
0
624
Member Avatar for thecoolman5

Hi, I have a workout called Insanity and I want to extract the music from the audio from the DVDs. When you start the workout, you can choose to do the workout with or without the music. When you don't choose to play the music, the video is the exact …

Member Avatar for RockJake28
0
345
Member Avatar for thecoolman5

There is a black spot on the top part of my ipod touch. The day before, I dropped it into water. To try to fix the water damage, I put the ipod into the oven at 170 degrees and left it in there for about 2 hours. After I took …

0
132
Member Avatar for thecoolman5

hi, i know that a Ti-83+ isn't a tablet or a mobile device but this is the closest forum that i could find. I want to resize a list on a Ti-83+. i know that using the dim( command you can resize a list but I need to do something …

0
91
Member Avatar for thecoolman5

Hi, I am looking for the worlds most realistic open world racing game. My definition of realism is: 1: when youre going 200 miles an hour, and when you crash into a wall youre car is all smashed (need for speed has a huge problem with that). 2: Realistic driving …

Member Avatar for Highave
0
376
Member Avatar for thecoolman5

Hi. I am just wondering how to restore a number that is in scientific notation. So, take a number that is in scientific notation, turn it into standard form, and resave the variable in standard form. here is an example of outputing the variable amount in standard form: [CODE]n1.setf(ios::fixed); cout …

Member Avatar for raptr_dflo
0
246
Member Avatar for maverick01

the file that the program has to read has to be in a .txt format. you should also try declaring a variable using ofstream(used to put stuff in a text file), ifstream(used to output stuff thats in a text file), and fstream(works for both but has issues).

Member Avatar for MandrewP
0
236
Member Avatar for thecoolman5

hi, I am trying to make a variable equation solver using DEV-C++. I just need to know how to get C++ to solve an equation inputed by the user. So you input something like 1+1 and i need it to solve the problem and output the answer. heres an example: …

Member Avatar for eddiecrosby
0
4K
Member Avatar for thecoolman5

hello, I am writing a variable equation solver. Now to get it to work, i just need your calculator to be able to detect random strings instead of numbers. and when it does, i need to assign a random number to that string and have the calculator solve the problem …

Member Avatar for thecoolman5
0
220
Member Avatar for thecoolman5

hi, I have this code: [CODE]#include<iostream> #include<cstdio> #include<sstream> using namespace std; int main (char argc) { float n1; char operators; string n2; float n2_act; float ans; cin >> n1; …

Member Avatar for thecoolman5
0
269
Member Avatar for thecoolman5

hi, I am making a calculator and i need a function that can detect a char in a string. In other words, i need it to detect a NON-number.[CODE]string n1 = "35+66/7"; int pos = -1; n1.find(char, pos+1); cout << char.n1_find << " was found at "<< pos << endl; …

Member Avatar for thecoolman5
0
632
Member Avatar for jean122

Did you buy the game off of steam? Did you torrent it? Are you using the cd key you were provided with? Is your game up to date?

Member Avatar for Narue
0
230
Member Avatar for thecoolman5

Hi, I own a Logitech MOMO and when I plug it in to the computer, the computer doesn't see it. I've tried reinstalling the software, restarting the computer, and plugging the USB connector into a different drive. Any solutions?

0
169
Member Avatar for babycherry
Member Avatar for snipsala
0
300
Member Avatar for thecoolman5

hi, I already know how to use setprecision but the function wont let the round go up past 16. [CODE]#include<iostream> #include<stdio.h> #include<math.h> #include<iomanip> using namespace std; int main () { double pi = 3.14159265358979323846264338327950288419716939937510; cout << setprecision(50) << pi << endl; system("pause"); } [/CODE] the output is just 3.1415926535897931 the …

Member Avatar for raptr_dflo
0
3K
Member Avatar for thecoolman5

Hi, i have an ipod touch 4th generation running IOS 5 and the push notifications dont work. They are all on in settings and still nothing. My ipod is NOT jailbroken and it never will be. Thanks

0
205
Member Avatar for thecoolman5

hi, i am making a program that kills a process [CODE]system("taskkill /im explorer.exe");[/CODE] and i need to restart the process using CreateProcess. [CODE]CreateProcess(NULL,("C:\\WINDOWS\\explorer.exe"), NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &siStartupInfo, &piProcessInfo);[/CODE] but i keep getting these errors: 27 `siStartupInfo' undeclared (first use this function) and 27 `piProcessInfo' undeclared (first use …

Member Avatar for thecoolman5
0
916
Member Avatar for thecoolman5

hi, i have this code: [CODE]#include<iostream> #include<sstream> #include<string> using namespace std; int main (char argc) { string n1 = "141+246+3+64"; int n2; int pos = -1; char toFind = '+'; do { pos = n1.find(toFind, pos+1); if(pos != -1) { stringstream(n1) >> n2; cout << n2 << endl; cout << …

Member Avatar for thecoolman5
0
305
Member Avatar for thecoolman5

hi, I am trying to make a calculator and I need the stringstream function to convert a a certain part of a string.[CODE]string n1 = "243+79"; int n2 = 0; stringstream(n1[0-2]) >> n2; // this converts the 243 from n1 to an int[/CODE] Any solutions?

Member Avatar for thecoolman5
0
344
Member Avatar for thecoolman5

hi, i am trying to make a weight watchers program and heres my code: [CODE]#include<iostream> #include<fstream> #include<conio.h> #include<cstdio> #include<windows.h> using namespace std; int main (char argc) { for(;;) { system("cls"); ifstream r; r.open("cdaily.txt"); double r1; r >> r1; r.close(); ifstream r2; r2.open("cweekly.txt"); double r3; r2 >> r3; r2.close(); cout << …

Member Avatar for VernonDozier
0
266
Member Avatar for thecoolman5

Hi, I am trying to make a one octave piano. heres my code: [CODE]#include<windows.h> #include<mmsystem.h> #include<stdlib.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, …

Member Avatar for thecoolman5
0
1K
Member Avatar for thecoolman5

hi, i am writing a program for my dad. I want it to keep the mouse in x=500 y=500 while waiting for input. So its asking for the password and if you try to move the mouse, it'll put the mouse back in x=500 and y=500 and have keep looping …

Member Avatar for pseudorandom21
0
683
Member Avatar for thecoolman5

Hi, i am trying to make a BMI calulator and here is my code: [CODE]#include<iostream> #include<sstream> #include<fstream.h> using namespace std; int main (char argc) { double ff1; double ii1; double ww1; for(;;) { system("cls"); cout << "Enter feet." << endl; string f1; cin >> f1; stringstream(f1) >> ff1; if(ff1 >! …

Member Avatar for thecoolman5
0
966
Member Avatar for thecoolman5

Hi, I am using DEV-C++ and i am wondering how to declare variables in a windows project. I am trying to make a calculator and i need it to declare a variable a certain number when you press a button. I also need it to declare a char after you …

Member Avatar for thecoolman5
0
183
Member Avatar for thecoolman5

hi, I have Citrix Reciever for iPad and when I try to run a Microsoft office application, it says that the server is currently unavailable. The app works fine for my iPod touch 4th generation. Any solutions?

Member Avatar for jingda
0
213
Member Avatar for thecoolman5

hi, i am just wondering how to open a picture of a normal format. I know that you cant do it in the console. And i am using the compiler DEV-C++. Thanks

Member Avatar for mike_2000_17
0
331
Member Avatar for thecoolman5

hi, i am trying to make a calculator and i have this code [CODE]#include<iostream> #include<sstream> using namespace std; int main (char argc) { int l = 1; for(l = l; l > 0; l--) { int q = -2; string n1 = "1+5"; int n; int e; stringstream(n1[q=q+2]) >> n; …

Member Avatar for mike_2000_17
0
1K
Member Avatar for thecoolman5

Hi, I have had Call of Duty Modern Warfare for a while. About 6 months ago, I updated the game to version 1.7 and when I go to the multiplayer, I click refresh and no servers come up. I have looked at infinite other threads at different websites and none …

Member Avatar for thecoolman5
0
271
Member Avatar for Riteman

if your definition of "alignment" is "where the file is located in the folder", just drag it to where you want it.

Member Avatar for thecoolman5
0
176
Member Avatar for thecoolman5

hi, i am writing a program that keeps track of the money in my debit card account. i need the program to be able to pull out a value (such as 1.56356) from a text file, round it to the nearest hundredth, and put it back into the file. any …

Member Avatar for m4ster_r0shi
0
467
Member Avatar for thecoolman5

hi, i am looking for the most realistic racing simulator. I want it to be like real driving. And i also want it to be a free roam racing game. i prefer an offroad racing simulator. i use windows 7 64 bit. nvidia geforce 8400 gs low profile. Intel(R) Core(TM) …

Member Avatar for thecoolman5
0
467
Member Avatar for gecko_dev

So you're supposed to create two iPhone-related projects, none of which involves c++. But since it's an iPhone-programming thread, I wouldn't know where to put thread either.

Member Avatar for L7Sqr
-1
255
Member Avatar for heavy.is.happy

This should work. [CODE] mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); // Left click mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, 0, 0, 0, 0); // Right click[/CODE]

Member Avatar for thecoolman5
0
710
Member Avatar for thecoolman5

hi, i have this code [CODE]#include <fstream.h> #include<iostream> using namespace std; int main (char argc) { for(;;) { fstream file; file.open("file.txt"); cout << "Enter new high score." << endl; double n2; cin >> n2; double n1; file >> n1; if(n1 > n2) { cout << "You didn't beat the high …

Member Avatar for thecoolman5
0
1K
Member Avatar for thecoolman5

hi, how would you get a certain part of code to run while the program is waiting for the input? [CODE]string in; int n1 = 0; n1++ // get this part of code to loop while the program is waiting for the input cin >> in[/CODE] thanks.

Member Avatar for thecoolman5
0
891
Member Avatar for thecoolman5

hi, i am using DEV-C++ and i have two problems with this code: [CODE]#include<iostream> #include<string> #include<sstream> using namespace std; int main (char argc) { string n1; getline(cin,n1); int len; len = n1.length(); int len1 = -2; int len2 = -1; for(int t = len; t>0; t--) { len1 = len1 …

Member Avatar for thecoolman5
0
579
Member Avatar for thecoolman5

hi, i have this code: [CODE]#include <iostream> #include <fstream> #include<cstdio> #include<cstdlib> using namespace std; int main (char argc) { for(;;) { fstream myfile; myfile.open("example.txt"); cout << "1: Write" << endl; cout << "2: Read" << endl; int n1; cin >> n1; if(n1 == 1) { string n2; getline(cin,n2); myfile << …

Member Avatar for raptr_dflo
0
2K
Member Avatar for thecoolman5

hi, i have written this code. [CODE]#include<iostream> #include<windows.h> #include<mmsystem.h> #include<stdlib.h> using namespace std; int main (char argc) { PlaySound("TardisTest1.wav", NULL, SND_FILENAME | SND_ASYNC); system("pause"); return 0; } [/CODE] and for some reason, when the program runs, all it does is system("pause); and it doesnt play the sound. I have my …

Member Avatar for m4ster_r0shi
0
3K
Member Avatar for Elghrib

if its a custom made file, you just need to do #include "graphic.h" and make sure that the header file is in the same folder as your project.

Member Avatar for thecoolman5
-1
37
Member Avatar for Mike_11

Well, why did you set x as a char? And I dont think line 18 and 42 are supposed to be there.

Member Avatar for AKMafia001
0
406
Member Avatar for lochnessmonster

1st: "cout" prepare for a text output 2nd: "<<" seperate function from output 3rd: "hello world" output text 4th: "<<" same as second 5th: "endl" create a new line after output 6th: ";" end of line

Member Avatar for vijayan121
0
119
Member Avatar for montjoile

its just how the header file declared it. i tried changing the declaration of "atol(const char*)" to "atol(char)" in the stdlib header file. the program ran but it crashed after i typed in my input.

Member Avatar for montjoile
0
118
Member Avatar for thecoolman5

hey, I was recently programming my own variable equation solver in C++ and out of nowhere, my computer crashed and all my code was erased. My computer booted up just fine but none of my code was there. i dont have the guts to start all over again. I dont …

Member Avatar for thecoolman5
0
180
Member Avatar for thecoolman5

hey, I recently downloaded the Burnout Paradise The Ultimate Box legendary cars pack for pc. [url]http://www.criteriongames.com/packs/legendary_cars.php[/url] I downloaded it and installed it but for some reason I dont know how to get the cars. I dont know if this problem has to do with the online multiplayer because whenever I …

Member Avatar for thecoolman5
0
479
Member Avatar for thecoolman5

hey, I use DEV-C++ and I want to know how to display text in a new windows project. this code that i used from an example doesnt work. [CODE]#include <windows.h> #include<iostream> #include<string.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into …

Member Avatar for thecoolman5
0
300

The End.