标题:请各位大哥帮我看看是怎么回事?
取消只看楼主
lianyuji
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-9-1
 问题点数:0 回复次数:1 
请各位大哥帮我看看是怎么回事?

#include <stdio.h>

void main () { int neg_int = -5; int pos_int = 5;

float neg_flt = -100.23; float pos_flt = 100.23;

printf("The integer values are %+d and %+d\n", neg_int, pos_int);

printf("The floating point values are %+f %+f\n", neg_flt, pos_flt); } 有没有错,我用的Turbo C2.0编辑,他始终说我有错。

搜索更多相关主题的帖子: include values 大哥 
2005-09-02 15:17
lianyuji
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2005-9-1
得分:0 
谢谢

2005-09-02 17:09



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-26564-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.422182 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved