#include <iostream>
int main ()
{
int i = 10;
float f = i;
std::cout << f;
return 0;
}
Sorry for the delayed reply I think the code was saved as a c file.This has nothing to do with microsoft, but how YOU safe the file.
I believe this is a fault of the way Microsoft save a file.
It would be nice if we could get Microsoft to change the default saved file type from C to C++