C++课程设计报告

}

ifstream input(\ //写??入¨?信?息?é string name; input>>name; input.close(); int i=4;

while(i--) //删|?除y后¨?四?个?元a素?(ê?§.txt)ê? { name.erase((--name.end())); }

ofstream output(name+\ for(int i=0;i<4;i++){ if(message[i]!=\ output<

output.close();

//修T改?密¨1码? if(p1!=\ ifstream input2; input2.open(\ string tmp,tmp2; map mp; while(input2>>tmp) { input2>>tmp2; mp[tmp] = tmp2; } mp[name] = pass; //更¨1改?密¨1码? input2.close(); ofstream output2(\ map::iterator it; for(it = mp.begin();it != mp.end();it++) { output2<first<<\ } output2.close(); }

this->Close();

30

}

void MarshalString ( String ^ s, string& os ) { using namespace Runtime::InteropServices; const char* chars = (const char*)(Marshal::StringToHGlobalAnsi(s)).ToPointer(); os = chars; Marshal::FreeHGlobal(IntPtr((void*)chars));

31

指导教师评语: 成绩: 指导教师: 年 月 日

32

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4