// #include <sstream>
int hours = 14, minutes = 30;
stringstream ss;
ss << hours << ':' << minutes << ".t"
string name = ss.str(); // get a string from the stream
constchar *c_name = ss.str().c_str(); // get a C string from the stream
Bazzy,
Would that get the current date/time? It looks as though it would just output whatever hours and minutes are set to.
moorecm,
Yeah, I saw that page and read through quite a few times. However, I know absolutely nothing about programming so I can not make heads or tails of that info.
Because if you have no idea on how to it, it's hard that you will be successful
You should at least have some basic knowledge, try the tutorials: http://www.cplusplus.com/doc/tutorial/
Oh to live in the black white world that you appear to be in. ;)
I understand that the circumstances are unknown, so leave it at that. If you or someone else does not know how to do it then fine leave it that. However, if you do, I would appreciate the steps. I do not have the time or the inclination to learn this stuff or to go through the numerous pages I have already looked at (including the ones linked here). I am only tackling this due to circumstance. I can not stand programming for this very reason. Something that should be so simple is made to be a ridiculous task. I could have done this simple thing in VB quite easily, but C++...nonsensical.