I'm probally missing something simple. But can't seem to get this and need to go to bed, so will assume someone will provide a solid answer by the morning!
Need to:
casting an int to a char*
-- ex. 2367 (as an int) -> '2367' (as a char) --
I need this because
iSum is an int (ex. 22567)
//need to cast the in into a char pointer!!!
myStruct.createdNewFilePoi
nter = fopen(iSum,"w");
I can't open it this way because it requires a char*
Any thoughts, on this probally/hopefully very simple question?
cheers
David
Start Free Trial