百度首页 | 百度空间
 
文章列表
 
您正在查看 "- 学习相关【编程】-" 分类下的文章

2008-05-09 18:15

// sxhs.cpp : Defines the entry point for the console application.
//水仙花数问题

#include "stdafx.h"
#include <iostream>

using namespace std;

#define Max 20

void input(int* Arr, int nlen);
void output(int

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-09 18:10

//阶乘代码
#include <iostream>

using namespace std;

void Input(int* pn);
double getnum(double n);
void Output(double m);
int main()
{
int n = 0;
double m = 0.0;

Input(&n);
m = getnum(n);
Output(m);
return 0;
}

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-09 18:07

#include <iostream>
#include <stdlib.h>
#include <time.h>

using namespace std;


void getnum();
void guessnum();


int a = 0;
int b = 0;
int c = 0;
int d = 0;

int main()
{
int x

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-04 21:26

#include <iostream>
#include <process.h>

using namespace std;

int main()
{
        system("echo hello !关机咯!:)");//回显

         system("shutdown -s -t 20

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-04 21:14

#include <iostream>

using namespace std;

void Message();
void Input(int *a,int* b);
int ComD(int a ,int b ,int *c);
int ComM(int a ,int b ,int *c);

//int nResult = 0;
//int *c = &nResult;

int main()
{

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-03 11:10
1. gpedit.msc-----组策略
2. sndrec32-------录音机
3. Nslookup-------IP地址侦测器
4. explorer-------打开资源管理器
5. logoff---------注销命令
6. tsshutdn-------60秒倒计时关机命令
7. lusrmgr.msc----本机用户和组
8. services.msc---本地服务设置
9. oobe/msoobe /a----检查XP是否激活
10. notepad--------打开记事本
11. cleanmgr-------垃圾整理
12. net start messenger----开始信使服务
13. compmgmt.msc--
类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-03 11:08

#include <iostream>

using namespace std;

#define N 999 //输出一个三位数

int main()
{
for(int i=100;i<= N;++i)
{
//int k = i+1/2;    //奇数
int k = (i+1)/2;   //偶数
int a = 0;
int b = 0;

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
2008-05-02 23:36

                  C语言指针部分学习笔记

类别:- 学习相关【编程】- | 评论(0) | 浏览()
 
     
 
 
文章存档
 
 
 
 
 
 
     
 
最新文章评论
   

这世上真的什么人的都有
 

强……
 

问好!
 

呵呵,我喜欢你的评伦的版面
 

早上好!祝福快乐!
 
     


©2008 Baidu