摘要: #include<stdio.h>#include <conio.h>/*控制台 就是(console,控制台)io就是输入输出,连起来就是用来声明控制台输入输出所需函数的头文件如果你要用到像getch() cprintf() cputs() kbhit()之类的函数,那就需要这个头文件了#include <stdio.h>#include<fstream>#include <assert.h>#include <stdlib.h>int main(){ FILE*fp; fp = fopen( "test.tx 阅读全文
posted @ 2012-09-30 18:33 myth_HG 阅读(319) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>using namespace std;int main(){ int i, *p= &i; i=5; cout<<i<<endl; //5 //cout<<p<<endl; 0012FF44 //cout<<*p++<<endl; 答案5 //cout<<*(p++)<<endl; 答案5 //cout<<(*p)++<<endl; 答案5 //cout<<((*p)++)<<endl; 答案5 阅读全文
posted @ 2012-09-30 11:00 myth_HG 阅读(159) 评论(0) 推荐(0) 编辑