http://www.functionx.com/visualc/applications/login.htm
مشکل اخر مقاله هست که متوجه نشدم
اون قسمت Corporate.cpp که اصلا توضیح نداده از کجا اومده یه راهنمایی کنید

ضمنا من قبل از اینکه قسمت شماره 15 رو انجام بدم یه کامپایل کردم .یک عالمه ارور داد
به این قسمتها ارور داد همچنین تمام AfxMessageBox ها در برنامه
در کدها زیر اونهایی که پر رنگ هست ارور شناخته میشن

// Open the file for reading
fleCredentials = fopen("credentials.crd", "r");

// Scan the file from beginning to end
while( !feof(fleCredentials) )
{
// Read a username
fscanf(fleCredentials, "%s", UsernameFromFile);

// Compare the typed username with the username from the file
if( strcmp((LPCTSTR)m_Username, UsernameFromFile) == 0 )
{
// With the current username, retrieve the corresponding password
fscanf(fleCredentials, "%s", PasswordFromFile);

// Compare the typed password with the one on file
if( strcmp((LPCTSTR)m_Password, PasswordFromFile) == 0 )
{
ValidLogin = true;
}
else
ValidLogin = false;
}


و یه سوال دیگه دارم این برنامه برای ساخت نام کاربری از کلاس استفاده می کنه حالا سوال اینجاست که ما از کجا لیست کاربرا رو در بیاریم و یا بخوایم کاربری رو پاک کنیم ......