会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
greencolor
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
63
64
65
66
67
68
69
70
71
···
82
下一页
2010年3月30日
root account
摘要: sudo su
阅读全文
posted @ 2010-03-30 10:08 greencolor
阅读(98)
评论(0)
推荐(0)
2010年3月25日
Cannot find MFC80D.DLL
摘要: 问题出现在程序运行清单上,默认是“嵌入清单”,清单文件是“$(IntDir)\$(TargetFileName).embed.manifest”。 调试程序运行时,不知道为什么却定位不到这个文件,我们如果手动把“程序名.embed.manifest"改为”程序名.manifest“,调试程序即可定位到。 所以,需要...
阅读全文
posted @ 2010-03-25 23:25 greencolor
阅读(162)
评论(0)
推荐(0)
2010年3月24日
不能读取 AppletViewer 的属性文件
摘要: 不能读取 AppletViewer 的属性文件Java\jdk1.5.0_12\bin\policytool1.打开命令提示窗口2.打入PolicyTool并按Enter3.在PolicyTool对话框中,点击Add Policy Entry按钮(添加规则项目)4.点击Add Permission 按钮(添加权限)5.点击许可下拉菜单选择 All Permission6.点击ok(确认)7.点击D...
阅读全文
posted @ 2010-03-24 12:13 greencolor
阅读(203)
评论(0)
推荐(0)
2010年3月21日
#define
摘要: #define LETTER 1 main() { char str[20]="C Language",c; int i=0; while((c=str[i])!='\0'){ i++; #if LETTER if(c>='a'&&c<='z') c=c-32; #else if(c>='A'&&c<='Z') c=c+32; #endif ...
阅读全文
posted @ 2010-03-21 19:34 greencolor
阅读(289)
评论(0)
推荐(0)
2010年3月20日
obtain current directory
摘要: private void button1_Click(object sender, EventArgs e) { textBox1.Text = System.Environment.CurrentDirectory.ToString(); } private void button2_Click(object sender, EventArgs e) { textBox2.Text = Syst...
阅读全文
posted @ 2010-03-20 11:30 greencolor
阅读(152)
评论(0)
推荐(0)
2010年3月17日
C/C++ input function
摘要: Cinput functiongets /printf;; char a[23]; gets(a); // 不能写成a =gets();getchar /printf;; char a; a = getchar(); //不能写成 getchar(a); -------------------------------------C++ input functioncin; //cout endl ...
阅读全文
posted @ 2010-03-17 13:27 greencolor
阅读(815)
评论(0)
推荐(0)
C++ cin, cin.get, cin.getline. (iostream, std)
摘要: 1、cin>> 用法1:最基本,也是最常用的用法,输入一个数字:#include <iostream>using namespace std;main (){int a,b;cin>>a>>b;cout<<a+b<<endl;}输入:2[回车]3[回车]输出:5用法2:接受一个字符串,遇“空格”、&ld...
阅读全文
posted @ 2010-03-17 13:06 greencolor
阅读(797)
评论(0)
推荐(0)
C++ gets, getline ( string流)
摘要: getline() // 接受一个字符串,可以接收空格并输出,需包含“#include<string>”#include<iostream>#include<string>using namespace std;main (){string str;getline(cin,str);cout<<str<<endl;...
阅读全文
posted @ 2010-03-17 13:03 greencolor
阅读(2814)
评论(0)
推荐(0)
getch, getche, getchar, gets
摘要: -----------------------------getch(), getche() 不包含在标准C中getch() 与 getche()要引用 conin.h头文件getch()无返回显示,getche()有返回显示------------------------------getchar()包含在标准C中// getchar()函数等待输入直到按回车才结束,回车前的所有输入字符都会...
阅读全文
posted @ 2010-03-17 10:00 greencolor
阅读(308)
评论(0)
推荐(0)
2010年3月16日
scanf printf (C input output)
摘要: void main(){int a,b,c;printf("input a,b,c\n");scanf("%d%d%d",&a,&b,&c);printf("a=%d,b=%d,c=%d",a,b,c);}
阅读全文
posted @ 2010-03-16 17:51 greencolor
阅读(198)
评论(0)
推荐(0)
上一页
1
···
63
64
65
66
67
68
69
70
71
···
82
下一页
公告