Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
2
200050056-200050102-git
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kajal
200050056-200050102-git
Commits
f179ae25
Commit
f179ae25
authored
Aug 07, 2021
by
Kajal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Adding Login Prompts
parent
8eca7243
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
main.cpp
main.cpp
+6
-7
No files found.
main.cpp
View file @
f179ae25
#include<iostream>
#include<iostream>
#include"utils.h"
#include"utils.h"
#include <iostream>
#include "utils.h"
#include <string>
using
namespace
std
;
using
namespace
std
;
int
main
()
{
int
main
()
{
char
*
nm
,
pwd
;
char
*
nm
,
pwd
;
cout
<<
"Enter your name"
<<
endl
;
string
nm
,
pwd
;
cout
<<
"Enter Name:"
<<
endl
;
cin
>>
nm
;
cin
>>
nm
;
cout
<<
"Enter your password"
<<
endl
;
cout
<<
"Enter Password:"
<<
endl
;
cin
>>
pwd
;
if
(
login
(
nm
,
pwd
)
==
true
)
cout
<<
"Success!"
<<
endl
;
else
cout
<<
"Login failed :("
<<
endl
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment