#include #include #includevoid stop(void){ system("pause"); }int main(){ int stops=0,money=0,symbol=0,ticket=0; //先定...
分类:
其他好文 时间:
2015-01-29 01:21:34
阅读次数:
279
#include #include #includevoid stop(void){ system("pause"); }int main(){ int stops=0,money=0; //先定义变量 char chose,c...
分类:
其他好文 时间:
2015-01-28 19:43:18
阅读次数:
163
一、设置——>首选项 添加pas二、运行,在输入框中填入命令:cmd /k cd /d "$(CURRENT_DIRECTORY)" &fpc -g $(FILE_NAME) &pause &exit 设置快捷键F9 ,名字 Compile。三、运行,在输入框中填入命令:cmd /k cd /d ....
分类:
其他好文 时间:
2015-01-26 22:18:27
阅读次数:
424
dos是以前pc普遍采用的操作系统,基于Unix。现在已经逐渐被遗忘,但是熟悉dos批处理可以简化很多操作。
下面开始dos编程。
用到的dos命令有@,echo,title,for do,% ,pause。
我写的脚步如下:
@title 颜色
@echo off
echo "变换窗口颜色"
set a=15,a6,2e,d0,34,8b,4f,9d,5e
pause
for ...
@echo offecho 运行后,能重新注册系统所有的dll文件,echo 能解决内存读写错误的问题pauseecho onfor %%1 in (%windir%/system32/*.dll) do regsvr32.exe /s %%1echo 注册dll完成pause
分类:
其他好文 时间:
2015-01-22 14:34:18
阅读次数:
150
#include "stdio.h" getchar()连用以取出回车#include "string.h"#include "stdlib.h" system("pause")#include "conio.h" getch()贴一段别人的例子:利用getchar()读取字符时,如何去除回车键?在...
分类:
编程语言 时间:
2015-01-21 12:59:35
阅读次数:
439
remWin7Ent@echooffecho.echo等待“操作完成按任意键退出程序1即可退出。echo.echo激活过程会有弹窗,稍等几秒钟!echo.slmgr-ipk63UYI-3WGB3-TQY8U-KJJKL-7M623slmgr-skms192.168.1.2Timeout/t30slmgr-atoecho.echo操作完成按任意键退出程序!echo.pause>nulexit
分类:
其他好文 时间:
2015-01-21 06:46:24
阅读次数:
195
求平均数 double=(数字的和)/4.0 除以浮点数IO-04. 混合类型数据格式化输入#include #include /* run this program using the console pauser or add your own getch, system("pause") or...
分类:
其他好文 时间:
2015-01-20 15:26:10
阅读次数:
158
让我们用字母B来表示“百”、字母S表示“十”,用“12...n”来表示个位数字n( 2 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 3 4 ....
分类:
其他好文 时间:
2015-01-20 11:52:33
阅读次数:
197
@echo off rem 建立链接 net use \\192.168.2.3\share /user:username password rem 打开共享文件夹 explorer \\192.168.2.3\share Pause net use \\192.168.2.3\share /del...