I've read 4 consecutive bytes from a binary file, and store the value as follows,
int main()
{
char next4[4] ;
while(!fileopen.eof())
{
fileopen.read (next4, 4 ) ;
}
}
What I want to do is, that value in next4 want to convert into a decimal/int value. How can I do that. Search on MSDN and unable to find a clear explanation.