Alright you all have been a tremendous help today and ive got one last question which will finish my program and I am hoping wont be difficult to answer.
What I want to do is grab the users temp folder path and save it to an std::string.
I was able to find this link: http://msdn.microsoft.com/en-us/library/aa364992%28VS.85%29.aspx
The only issue with the link is I dont understand how to take that and save it to a string.
Change
wstring
tostring
,wchar_t
tochar
andGetTempPathW
toGetTempPathA
if you're not using Unicode.