上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 82 下一页
摘要: sudo su 阅读全文
posted @ 2010-03-30 10:08 greencolor 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 问题出现在程序运行清单上,默认是“嵌入清单”,清单文件是“$(IntDir)\$(TargetFileName).embed.manifest”。 调试程序运行时,不知道为什么却定位不到这个文件,我们如果手动把“程序名.embed.manifest"改为”程序名.manifest“,调试程序即可定位到。 所以,需要... 阅读全文
posted @ 2010-03-25 23:25 greencolor 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 不能读取 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 阅读(195) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(804) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(2792) 评论(0) 推荐(0) 编辑
摘要: -----------------------------getch(), getche() 不包含在标准C中getch() 与 getche()要引用 conin.h头文件getch()无返回显示,getche()有返回显示------------------------------getchar()包含在标准C中//   getchar()函数等待输入直到按回车才结束,回车前的所有输入字符都会... 阅读全文
posted @ 2010-03-17 10:00 greencolor 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(189) 评论(0) 推荐(0) 编辑
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 82 下一页