Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
phamduylong committed Nov 22, 2021
2 parents cb4e330 + ab83da2 commit 003fd17
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# LoginSystem
Login System created with C++

<h1 align="center">Hi 👋, I'm Long</h1>
<h3 align="center">An ordinary developer</h3>

- 🌱 I’m currently learning **Embedded Systems at Helsinki Metropolia UAS**

- 📫 How to reach me **longphamduy2002@gmail.com**

<h3 align="left">Connect with me:</h3>
<p align="left">
<a href="https://linkedin.com/in/duy-long-pham" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg" alt="duy-long-pham" height="30" width="40" /></a>
<a href="https://stackoverflow.com/users/14126819" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/stack-overflow.svg" alt="14126819" height="30" width="40" /></a>
<a href="https://instagram.com/phamduylongg" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/instagram.svg" alt="phamduylongg" height="30" width="40" /></a>
<a href="https://www.leetcode.com/longphd" target="blank"><img align="center" src="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/leet-code.svg" alt="longphd" height="30" width="40" /></a>
</p>

<h3 align="left">Languages and Tools:</h3>
<p align="left"> <a href="https://developer.android.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/android/android-original-wordmark.svg" alt="android" width="40" height="40"/> </a> <a href="https://www.cprogramming.com/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/c/c-original.svg" alt="c" width="40" height="40"/> </a> <a href="https://www.w3schools.com/cpp/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/cplusplus/cplusplus-original.svg" alt="cplusplus" width="40" height="40"/> </a> <a href="https://git-scm.com/" target="_blank" rel="noreferrer"> <img src="https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg" alt="git" width="40" height="40"/> </a> <a href="https://www.java.com" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/java/java-original.svg" alt="java" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> <a href="https://www.linux.org/" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-original.svg" alt="linux" width="40" height="40"/> </a> <a href="https://www.python.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="40" height="40"/> </a> </p>

<p>&nbsp;<img align="center" src="https://github-readme-stats.vercel.app/api?username=phamduylong&show_icons=true&locale=en" alt="phamduylong" /></p>

This is a Login System application created with C++. This project was created as a time killing project and it marked my first project that I did not have any help from teachers/tutorials at all. Though this project was written in C++, which is an Object Oriented Programming, I chose to go with Functional Programming approach. It was quite challenging, but also very helpful in terms of gaining experiences and debugging.<br>
In order to use the project, please download all the files from project (.cpp and .h files if you're using any other IDE but Microsoft's Visual Studio) or clone it from GitHub. If you are using JetBrains CLion, please move the file <em>db.txt</em> into <em>cmake-build-debug</em> folder of the project to prevent bugs.<br> The program has internal instructions itself, with a menu of functions and error messages if an error occured during the run. Any question please contact me (social media links and email address above).<br>
I am open to any kind of feedbacks/comments/contributions. Hit me up with social media links above or through email preferably 😌
1 change: 1 addition & 0 deletions db.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
user1,test123
8 changes: 5 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*
----------------------------------------------------------------------LOGIN SYSTEM-------------------------------------------------------------------------
----------------------------------------------------------------------------------LOGIN SYSTEM-----------------------------------------------------------------------------------
------------------------------------------------------------------MINUMUM VIABLE PRODUCT-------------------------------------------------------------------
------------------------------------------------------------------------------MINUMUM VIABLE PRODUCT-----------------------------------------------------------------------------
-------------------------------------------------------------------DESIGNED BY LONGPH----------------------------------------------------------------------
--------------------------------------------------------------------------------DESIGNED BY LONGPH-------------------------------------------------------------------------------
*/

Expand All @@ -15,7 +15,9 @@
#include "Login.h"

int main() {
//bool var to keep track of app state
bool userExit = false;
//map to hold data
std::unordered_map<std::string, std::string> db;

//reading datas from database file
Expand Down

0 comments on commit 003fd17

Please sign in to comment.