简体   繁体   中英

Codeblocks 16-bit message

enter image description here I'm new in Codeblocks and programming world.

( Unsupported 16-Bit Application

The program or feature "\\??C:\\Users\\Hossen\\Desktop\\C_Time\\try\\bin\\Debug\\Try.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available. )

my Codeblocks showing this message and didn't print a single line. Recently I'm facing this problem. Any One help me to solve this problem, please?

#include <stdio.h> 
#include <stdlib.h> 
int main()
{
    int a, b, c, GCD;
    a = 10;
    b = 20;
    for (c = 1; c <= a && c <= b; c++)
    {
        if (a % c == 0 && b % c == 0)
        {
            GCD = c;
        }
    }
    printf("%d\n", GCD);
    return 0;
}

The code looks ok, so I guess your installation is not correct.

As you are new, to keep it simple, you probably just should reinstall Code::Blocks.

Check you have the correct version downloaded before installing. (Supporting 64bit Operating Systems, not 32 Bits)

And then try installing it in Program Files (x86).

Hope this will help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM