点点滴滴 c++
动力学堂
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c++入门(1)
//============================================================================// Name : HelloWorld.cpp// Author : kinglo// Version :// Copyright : Your copyright notice// Description : Hello World in C++, Ansi-style//=========原创 2011-03-02 23:58:00 · 546 阅读 · 0 评论 -
c++数组
#include using namespace std;int main() { int yams[3]; yams[0] = 7; yams[1] = 8; yams[2] = 6; int yamcosts[3] = {20,30,5}; cout原创 2011-03-24 08:31:00 · 604 阅读 · 0 评论 -
c++ 输出文本
<br />#include <iostream>#include <fstream>using namespace std;int main(){ ofstream outfile; outfile.open("test.txt"); outfile<<"haha ,my first test txt!"; outfile.close(); return 0;}原创 2011-03-29 09:30:00 · 1265 阅读 · 0 评论
分享