• Why is there no time.h in visual studio?
    2 replies, posted
Hey. First of do NOT link me to the megathread ( what do you need help with ) . Ive already posted there and i kinda need an answer today so i cant really wait for another hour ( in about 40 minutes its midnight here ) so i gotta make this a seperate thread. Feel free to reply to me in the mentioned megathread or here if you want. So my problem is that i dont have a time.h in visual studio 2015 eventhou i installed every package it had. I downloaded the time.h seperately and placed it in the include folder but then it needet the _mingw.h . Visual Studio isnt using that compiler so im outta ideas. What to do now? Is there a special version for VS ? I tried getting the missing header from codeblocks but it didnt accept it. [highlight](User was banned for this post ("use the appropriate thread" - GunFox))[/highlight]
[QUOTE=Trebgarta;50068830]I know I shouldn't but I'm posting here because you don't have PMs enabled. Enable them, PM's are good, no harm at all. Nobody is obligated to help you here in short time. If you didn't get the help you need there, you won't get it here either. You are just cluttering the forum with small questions that don't deserve their own thread. You should read a little more about what MinGW is, what including does, about C and C++ standard libraries, etc. On topic, try <ctime>. Just an idea, might be wrong.[/QUOTE] Ok thanks ill try. And also i know what mingw is. Its a minimalistic compiler. Or a compiler collection if you wanna call it. I wont do it again. Sorry man. Also i didnt disable pm. Thats wierd. Well im gonna enable them now. Im really not that bad at programming . im just used to work with codeblocks. But that wouldnt work so i had to switch to vs. Its just kinda hard to switch over after all this time. [editline]4th April 2016[/editline] [QUOTE=Trebgarta;50068830]I know I shouldn't but I'm posting here because you don't have PMs enabled. Enable them, PM's are good, no harm at all. Nobody is obligated to help you here in short time. If you didn't get the help you need there, you won't get it here either. You are just cluttering the forum with small questions that don't deserve their own thread. You should read a little more about what MinGW is, what including does, about C and C++ standard libraries, etc. On topic, try <ctime>. Just an idea, might be wrong.[/QUOTE] Also to add on to my previous statement. I just started programming with c++ and i exclusively used c ( since i was learning this in school ) so i just didnt know that it was ctime in c++ instead of time.h. also honestly i thought that it didnt matter that much since 90% of the c headers are available too. Well atleast now i know. *insert the more you know here*
Sorry, you need to Log In to post a reply to this thread.