Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by �Ӱ���һ��
Sat, 22 Aug 1998 00:00
C++Builderһ��������
Author: �Ӱ���һ��
Date: Sat, 22 Aug 1998 00:00
Date: Sat, 22 Aug 1998 00:00
51 lines
2969 bytes
2969 bytes
���ձ�һ������һ��Form������ʱ����һ�������ļ���
�����ڣ�����InitReplaceTable()����һ����Ȼ���
����ļ��ж�ȡһЩ��Ϣ���������µij����ܶ���������
ifstream Replace(".\\replace.dat");
if(!Replace){
if(InitReplaceTable()){
Replace.open(".\\replace.dat");
if(!Replace){
Visible = true;
return;
}
}else {
Visible = true;
return;
}
}
���������InitReplaceTable()������replace.dat �ɹ���
��������Replace.open(".\\replace.dat")������Ϊ
���������Ҫ�����е���ݡ����ټ��Replace ��ֵ����
��false ������˵��Ȼδ�ܴ�replace.dat �ļ������
�ж�����ȥ��Replace ȥ���ļ�û�����ݡ�����ʱ�����
���Ѿ������ˣ���Ӳ�����Ѿ��ܹ������ˡ�����ij�����
�ģ�Replace2�Ϳ��Դ����replace.dat �ļ���������
ôһ���£��ѵ�������open�����ļ������Թ���ʹ��
open֮ǰ��ִ��Replace.close();Ҳû���á�
ifstream Replace(".\\replace.dat");
if(!Replace){
if(InitReplaceTable()){
ifstream Replace2(".\\replace.dat");
if(!Replace2){
Visible = true;
return;
}
}else {
Visible = true;
return;
}
}
--
[47;35m��������������������������������������������������[0m
[47;35m��������[34mƾ�Ķ��ģ�ƾ����棬һ���ܱ�ʤ [47;35m ��[0m
[47;35m���� [34m��·��Ѫ���ܼ�֤���������൱��ִ�ҳ� [47;35m��[0m
[47;35m��������������������������������������������������[0m
[m[1;36m�� ��Դ:���������� bbs.cst.sh.cn��[FROM: 202.127.16.22][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads