Results 1 to 3 of 3

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

  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  
    𝕸𝖊𝖌𝖆 𝕸𝖎𝖓𝖉

  2. #2
    Rai Zahid's Avatar
    Rai Zahid is offline Senior Member+
    Last Online
    7th May 2023 @ 08:28 AM
    Join Date
    03 Jun 2014
    Location
    ITDUNYA
    Gender
    Male
    Posts
    236
    Threads
    26
    Credits
    1,146
    Thanked
    4

    Default

    very nice dear.
    "Let's Change The World By Love"

  3. #3
    Haseeb Alamgir's Avatar
    Haseeb Alamgir is offline Super Moderator
    Last Online
    Yesterday @ 08:57 PM
    Join Date
    09 Apr 2009
    Location
    KARACHI&
    Gender
    Male
    Posts
    19,273
    Threads
    411
    Credits
    39,647
    Thanked
    1813

    Default

    اپنا پروگرام بناتے ہوئے ضرور اس سے مدد لیں گے
    اگر ہر ہر کمانڈ کے آگے اس کے بار ے میں بھی لکھ دیتے کہ کیا ہو رہا ہے تو اور اچھا ہوتا

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
  •