سورس کد پروژه فرم لاگین به زبان سی پلاس پلاس
درا ین پست سورس کد پروژه فرم لاگین به زبان سی پلاس پلاس را آماده دانلود شما عزیزان قرار دادیم تا بتونید این پروژه را روی سیستم خود اجرا نمایید.پروژه های مختلفی درباره زبان برنامه نویسی سی پلاس پلاس به همراه سورس کد آن ها در سایت سورس ایران وجود دارد که می توانید با مراجعه به بخش سورس کد سی پلاس پلاس آن ها را مشاهده و دانلود نمایید.
#include <cstdlib> #include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { string Password="Rommel"; string Password1; int i=0; char another; do { system("cls"); cout << "\n\n\n " ; cout << "\n\t\t\t PASSWORD SECURITY " ; cout << "\n\t\t Created by: sourceiran.com " ; cout << "\n\n\n " ; cout << "\n\t\t Attempt: 3 " ; another='Y'; cout << "\n\t\t Enter your Password: " ; cin >> Password1; if (Password1 == Password) { cout << "\n\n " ; cout << "\n\t\t\t Password Accepted "; cout << "\n\n " ; system("pause"); return EXIT_SUCCESS; } else { cout << "\n\n " ; cout << "\n\t\t\t Wrong Password " ; cout << "\n\n " ; i++; cout << "\n\t\t\t Try Again [Y/N] " ; fflush(stdin); another=getchar(); } if (i>=3) { break; } }while(another == 'Y' || another == 'y' ); if (another == 'N' || another == 'n' ) { return 0; } cout << "\n\n " ; cout << "\n\t\t\t **Intruder Alert** " ; cout << "\n\n"; system("PAUSE"); return EXIT_SUCCESS; }
دیدگاه کاربران
تعداد دیدگاه های کاربران : ۰ دیدگاه