Right.
It still doesn't work, but I shall go take my whining elsewhere. Thanks for all the help thus far.
Type: Posts; User: Roflcopter
Right.
It still doesn't work, but I shall go take my whining elsewhere. Thanks for all the help thus far.
Fiddling with stuff is a good way to learn. I didn't pull all of that out of my behind, I actually am doing tutorials and stuff. Sorry for asking for help.
Gotcha, thanks for the reply m8.
To Macgyver: Someone earlier said ShellExecute, I usually like to fiddle with stuff myself till it works, so that's what i did. ;)
Well, this is slowly becoming a not so quick question. Oops.
This is my code:
#include <cstdlib>
#include <iostream>
#include <windows.h>
Windows XP. Like, add options to a program so you can start other stuff. Like Ping.exe with parameters and all kinda other stuff from one base program. I know it's simple. I know it's stupid. But I'd...
It is pretty silly what I am doing. Thanks for the reply. One last question, if you wouldn't mind?
I was unable to find this anywhere:
How do you start a program with c++? I found delete, I...
Thank you, kind sir! :D
edit: I get the error
Conversion from string "192.168.1.1" to type 'Integer' is not valid.
I'll try using String instead of Integer!
I really prefer not to use an array, if possible. What one should I use if I don't?
What type of variable does one use when it's an ip address?
like Float, Double, Int, String, whatever. for a 192.168.1.1 piece of info? Thanks in advance.
Personally I think this when you tell me that:
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
It's supposed to be a clock, for some reason if you do it up to 60, it includes 60. at 60 mm it technically goes up an hour.
I have no idea how to go about fixing that. Could you point me into the right direction or something? And I didn't think the indents were a big deal on small code, usually pretty easy to follow, no?
Like this?
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
#include <iostream>
#include <fstream>
#include <iomanip>
using namespace std;
int main ()
{
int hh;
int mm;
Ah, thank you kindly for the tip. I will use that from now on. =)
Because I messed around with it a lot before coming to ask for help. I wouldn't come and ask for help if I had a clue.
I am new to c++ and a noob at it, could you help me out a little more than that, pretty please? :D
I'm trying to make a program that outputs every hour and minute of the day in
hh:mm format and then print all of that to a text file.
However, I have no idea how to make it go about printing it...