Well...me and my friend were going through header files and came across winbase.h. We are looking for a way to pull in the windows set date or time (or both). We found SetLocalTime, GetLocalTime, SetSystemTime, and GetSystemTime. (Along with Setlocaldate, getlocaldate, etc.) Anyone know how to use those...all I found is:
d00d, why are you looking into this stuff. Where do you need it? I seriously doubt you will ever need that stuff while in that class. Now, you may just like to have it, in that case do what you want. But i have a feeling your getting that stuff to "Add" to the programs in class. First you should learn to code more before worrying about things like that.
While im here how can i access windows files from the terminal (if coded right of course) in a c++ program. Im looking for this cuz i want to make a personaly program at my house that i can use to start several other programs so i dont have to have all these shortcuts. Or is that even possible?
All im looking for is the header file if needed, and the way to use it.
It's not REQUIRED...sorry for wanting to do something different. Yes I don't need TIME display, but I was just trying to find how to do it for a small part of this program and for future reference...turns out there's a macro in most C++ compilers, simply typing:
__TIME__ or __DATE__
in a cout statement will output the system time(have yet to test) or date( mmm dd yy format).