hello everyone,
I have just installe VSC and i try to use cygwin and suyu but it can't debug. It show:
Suyu:
Breakpoint 1, 0x000000000040156d in main ()
[Inferior 1 (process 3572) exited normally]
The program has exited with code 0 (0x00000000).
and
cygwin:
ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Error creating process /cygdrive/d/C C++/a.exe, (error 193).
The program has exited with code 42 (0x0000002a).
what should i do? Thank you very much
My test is very easy:
int main()
{
int a, b, sum;
scanf("%d%d",&a, &b);
sum = a+b;
printf("%d + %d = %d",a, b, sum);
return 0;
}