求大神II
pascal吧
全部回复
仅看楼主
level 12
🍀Yuuki 楼主
我又来提问啦,最近在编一款无聊的文字RPG,有众多技术难题需要攻克,就一这个贴为平台吧,众大神助我一臂之力Y(^_^)Y[呵呵]
2014年06月21日 14点06分 1
level 12
🍀Yuuki 楼主
@Fallen_Breath 大神你的坦克大战的安装程序是怎么做到的
2014年06月21日 14点06分 2
level 12
🍀Yuuki 楼主
@J哥222 @十字架下放声歌 @Fallen_Breath 大神那段输密码时将输入字符转为*的程序源代码怎么编
2014年06月21日 14点06分 3
用readkey repeat ch:=readkey; write('*'); until ......
2014年06月22日 06点06分
回复 J哥222 :谢谢哈
2014年06月22日 08点06分
回复 J哥222 :话说你readkey后面少了分号,还有 until后面是什么 挽尊@J哥222
2014年06月23日 01点06分
回复 J哥222 :help@J哥222
2014年06月23日 11点06分
level 13
inno setup5,只是360会报毒
详情请围观betterinput单元或自行翻看源码
2014年06月21日 14点06分 5
这个单元是系统原带的还是自编的 话说我只是会用一用系统自带单元 自便单元还从来木有试过
2014年06月21日 22点06分
[哈哈]我家用的腾讯管家
2014年06月21日 22点06分
回复 Needhueger :自编的
2014年06月21日 23点06分
回复 Fallen_Breath :大神啊 关键我没有源代码参照啊
2014年06月22日 03点06分
level 12
🍀Yuuki 楼主
大神,我在文件夹选项里修改文件图标,但实质是改了之后重启一下电脑图标又没了,咋办@ax_pokl @J哥222 @Fallen_Breath
2014年06月22日 03点06分 6
level 12
🍀Yuuki 楼主
2014年06月23日 11点06分 7
level 13
Procedure inputpassword(var s:string;ch:char);
var c:char;
begin
s:='';
cursoron;
repeat
c:=readkey;
if (c<>
#13) and (c<>#
0) and (ord(c) in [32..126]=false) then continue;
if (c=
#13) or ((c=#
0) and (readkey=#28)) then break;
if c=chr(8) then
begin
if s='' then continue;
gotoxy(wherex-1,wherey);
write(' ');
gotoxy(wherex-1,wherey);
delete(s,length(s),1);
continue;
end;
if length(s)=maxlengthofpassword then continue;
s:=s+c;
write(ch);
until false;
writeln;
cursoroff;
end;
2014年06月23日 12点06分 8
大神威武 话说您单元操作实在哪里学的 有什么专门的书籍米
2014年06月23日 13点06分
回复 Needhueger :度娘
2014年06月23日 13点06分
回复 Fallen_Breath :[太开心][乖]强悍,大神有木有已经下载过得教材 传给我呗
2014年06月23日 13点06分
回复 Fallen_Breath :[email protected]
2014年06月23日 13点06分
level 12
🍀Yuuki 楼主
我是这么做到的 打的简单一点
program e;
uses crt;
var ch:char;
a:string;
i:integer;
begin
i:=0n
repeat
ch:=readkey;
i:=i+1;
a[i]:=ch;
until 这里怎么写;
end.
而且不知为什么ch可以被读入,但ch无法赋值给a
2014年06月23日 13点06分 9
level 12
因为a还没有分配内存空间,当前长度为0,所以也不存在a[i]
2014年06月25日 01点06分 10
额 呃呃呃 不懂诶 就是说如果先将字符串赋值一遍就可以罗
2014年06月25日 02点06分
回复 Needhueger :方法一:setlength(a,预计的最大长度);方法二:a:=a+ch;【8楼写得很完整】
2014年06月25日 04点06分
1