Really? It won't? 3 compilation errors exactly?
I think you just blew my mind, because I swear I just compiled it fine. But that can't be possible. I'm staring at my Visual Studio window in shock. Don't worry though, I'm going to search harder. I'm sure I'll find those compilation errors eventually...
Code:
#include <stdio.h>
void fun(long long );
int main()
{
long long j=20;
fun(20);
}
void fun(long long k)
{
printf("%d",k);
}
Code:
1>------ Build started: Project: TestCPPConsole, Configuration: Release Win32 ------
1>Compiling...
1>main.cpp
1>Linking...
1>Generating code
1>Finished generating code
1>Embedding manifest...
1>Build log was saved at "really/long/path"
1>TestCPPConsole - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========