Answer» This program works in linux but not in windows:
#include<cstdio> int main(){ long long a=1234567; long long B=7654321; long long c=a*b; printf("%lld\n",c); return 0; }
what's the problem?Instead of:
Code: [Select]#include<cstdio> Try:
Code: [Select]#include <cstdio.h> And I'm not sure if it will make any difference, but instead of:
Code: [Select]int main(){ Try this instead:
Code: [Select]int main() {HII, I THINK the following code works. worked for me, so you check out:
#include int main(){ long long a=14354; long long b=5323; long long c=a*b; printf("%lld\n",c); getch(); return 0; }
I dont think there is any header file in c with the name "cstdio". Also if you want to view result you MUST add getch() to yuor program.
#include
int main() { long long a=1234567; long long b=7654321; long long c=a*b; printf("%lld\n",c);
getchar(); return 0; }
|