| | |
Access voilation
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jul 2008
Posts: 46
Reputation:
Solved Threads: 0
Hi
I am using Itoa function to convert int to string.
CTime aNow = CTime::GetCurrentTime();
char* month;
itoa(aNow.GetMonth(), month, 10);
But I am getting error
Unhandled exception at 0x00573deb in App_Name.exe: 0xC0000005: Access violation reading location 0x0000323d.
Am I missing something
Regards
Karan
I am using Itoa function to convert int to string.
CTime aNow = CTime::GetCurrentTime();
char* month;
itoa(aNow.GetMonth(), month, 10);
But I am getting error
Unhandled exception at 0x00573deb in App_Name.exe: 0xC0000005: Access violation reading location 0x0000323d.
Am I missing something
Regards
Karan
![]() |
Similar Threads
Other Threads in the C++ Forum
- Previous Thread: Constructor failure
- Next Thread: C++ Help Needed
| Thread Tools | Search this Thread |
api array arrays based binary c++ c/c++ calculator char char* class classes code coding compile console conversion convert count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets





