dev cpp无法识别unsighed,如何解决?

代码如下 在dev cpp5.11中运行出现[Error] 'unsighed' was not declared in this scope




#include<stdio.h>
#include <stdlib.h>
int main()
{ 
    int a=8,b=9;float x=127.985,y=-123.456;
    char c='b';long n=12345678L;unsighed int u=65535u;
    printf("%d,5d\n",a,b);
    printf("%5d,%5d\n",a,b);
    printf("%f,%f\n",x,y);
    printf("%-12f,%-12f\n",x,y);
    printf("%8.3f,%8.3f,%.3f,%.3f,%4f.%4f",x,y,x,y,x,y);
    printf("%e,%10.4e\n",x,y);
    printf("%c,%d,%o,%x\n",n,n,n,n);
    printf("%ld,%lo,%lx\n",n,n,n);
    printf("%u,%o,%x,%d\n",u,u,u,u);
    printf("%s,%6.3s,%-10.5s\n","C language","C language","c language");
    return 0;

1个回答

unsigned不是unsighed,你眼力见不行啊。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐