Results 1 to 3 of 3

Thread: Login form in c++ with source code and screen shots

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Mega Master's Avatar
    Mega Master is offline Senior Member+
    Last Online
    26th February 2018 @ 08:07 PM
    Join Date
    09 Jun 2017
    Location
    Pakistan
    Gender
    Male
    Posts
    72
    Threads
    12
    Credits
    511
    Thanked
    2

    Smile Login form in c++ with source code and screen shots

    Hello Everyone I create A login form project in dev-c++ .
    UserName="itdunya"
    Pass=12345
    secret key=@;
    Please Tryit
    #include<iostream>
    #include<conio.h>
    #include<math.h>
    using namespace std;
    int main(){
    std::string id,password,skey,key,error;
    float pass;
    id="please Enter your UserName:";
    password="please Enter your password:";
    cout<<""<<id;
    cin>>id;
    cout<<""<<password;
    cin>>pass;
    if(id=="itdunya" && pass==12345){
    cout<<"Welcome you login as "<<id<<endl;
    cout<<"Your today Activity is Here Enter A secret key ";
    skey="Enter secret key here: ";
    cin>>key;
    cout<<"\n copyright Mega Mind All right reserved"<<endl;
    if(key== "@"){
    cout<<"welcome your account has been activated! Thanks"<<endl;
    }
    else{
    cin>>key;
    error="error activation acount try enter your key again";

    }
    }
    else{
    cout<<"we are so sorry that your login id "<<id;
    cout<<" and Password do not match in our records try to login again";
    }
    getch();
    }
    Attached Images Attached Images  
    𝕸𝖊𝖌𝖆 𝕸𝖎𝖓𝖉

Similar Threads

  1. Replies: 8
    Last Post: 24th December 2016, 02:44 PM
  2. Access 2010 login form
    By Ahmad Ghaffar in forum Ask an Expert
    Replies: 0
    Last Post: 12th September 2015, 12:58 PM
  3. Login Aur Registration form
    By TheAqib57 in forum Ask an Expert
    Replies: 1
    Last Post: 20th March 2013, 09:15 PM
  4. Replies: 1
    Last Post: 22nd June 2010, 05:23 PM
  5. screen shots-posts shots
    By dua smr in forum Ask an Expert
    Replies: 7
    Last Post: 4th September 2009, 01:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •