当前位置:网站首页>C语言日记 6 基本输入/输出
C语言日记 6 基本输入/输出
2022-08-02 14:03:00 【宇 -Yu】
书P32 例2-9 输入/输出实例:
#include <iostream>
using namespace std;
int main()
{
int a;
cout << "请输入整数 a" << endl;
cin >> a;
cout << a << endl; return 0;
}
在本project中碰到遇到的问题:
一:
为什么只要打字母结果都输出0?为什么不自动进行格式转换?
汉字同理
二:
为什么输入的数字只要超过一定长度输出就总都是2147483647?
关于I/O的知识点的重点,主要看(关注):
C语言日记 7 输入/输出格式控制
边栏推荐
猜你喜欢
瑞吉外卖笔记——第08讲读写分离
yolov5改进(一) 添加注意力集中机制
[ROS] The software package of the industrial computer does not compile
window10 lower semi-automatic labeling
Visual Studio配置OpenCV之后,提示:#include<opencv2/opencv.hpp>无法打开源文件
[ROS] (06) ROS Communication - Topic Communication
跑yolov5又出啥问题了(1)p,r,map全部为0
What's wrong with running yolov5 (1) p, r, map are all 0
[ROS](05)ROS通信 —— 节点,Nodes & Master
Network pruning (1)
随机推荐
第十二单元 关联序列化处理
Flask框架深入一
MarkDown语法汇总
drf视图组件
8583 顺序栈的基本操作
Unit 13 Mixing in View Base Classes
Flask请求应用上下文源码分析
8576 顺序线性表的基本操作
Unit 12 associated serialization
海明校验码纠错设计原理
[ROS] Introduction to common tools in ROS (to be continued)
How to solve mysql service cannot start 1069
Flask framework
Raj delivery notes - separation 第08 speak, speaking, reading and writing
Unit 11 Serializers
Go语言初始
Flask-SQLAlchemy
Flask framework in-depth
Tornado框架路由系统介绍及(IOloop.current().start())启动源码分析
瑞吉外卖笔记——第05讲Redis入门