Replies: 10 comments 2 replies
-
看不懂QAQ,萌新应该去哪里学 |
Beta Was this translation helpful? Give feedback.
-
我试试看能不能把这个页面写一遍弄得更好懂一点qwq |
Beta Was this translation helpful? Give feedback.
-
分享一个坑,之前一直觉得 |
Beta Was this translation helpful? Give feedback.
-
我有个疑问:
程序正常运行,输出144。 |
Beta Was this translation helpful? Give feedback.
-
printf 和 scanf 是从 c 那边过来的 包含在 stdio.h 里,不需要 std:: |
Beta Was this translation helpful? Give feedback.
-
但是 C++ 方面是建议使用 c 开头的 |
Beta Was this translation helpful? Give feedback.
-
谢谢两位大佬的回复orz,我想这个问题涉及到了我一直以来对 |
Beta Was this translation helpful? Give feedback.
-
iostream 你可以间接用到 stdio 的 functionality 没有 iostream.h 这个文件(现代 cpp 按这样认为?) cstdio 的 source 长这样 所以 std::printf 只是 compatibility |
Beta Was this translation helpful? Give feedback.
-
那我使用了using namespace std;再写std::cin会报错吗 |
Beta Was this translation helpful? Give feedback.
-
竞赛生不用管awa |
Beta Was this translation helpful? Give feedback.
-
https://oi-wiki.org/lang/namespace/#using
OI Wiki 是一个编程竞赛知识整合站点,提供有趣又实用的编程竞赛知识以及其他有帮助的内容,帮助广大编程竞赛爱好者更快更深入地学习编程竞赛
Beta Was this translation helpful? Give feedback.
All reactions