鱼C论坛

 找回密码
 立即注册
查看: 3351|回复: 1

新手求助~~~~不知道这两行哪里错了。。刚开始看书。。

[复制链接]
发表于 2012-12-31 11:12:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x

                               
登录/注册后可看大图

小甲鱼最新课程 -> https://ilovefishc.com
 楼主| 发表于 2012-12-31 11:14:13 | 显示全部楼层
#include<stdio.h>
#include<inttypes.h>
int main(void)
{
    int16_t me16 = 4593;
    printf("First, assume int16_t is short: ");
    printf("me16 = %hd\n", me16);
    printf("Next let's not make any assumptions.\n");
    printf("Istead, use a \"macro\" from inttypes.h: \n);
    printf("me16 = %" PRId16 "\n, me16);

    return 0;

}
文字版~
小甲鱼最新课程 -> https://ilovefishc.com
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-8-9 20:24

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表