Skip to content

PratyayDhond/Notes-keeper-in-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Notes-in-cpp

This is a notes app using concept of files in cpp. used libraries :

    #include<iostream>
    #include<fstream>
    #include<cstring>
    #include<ctime>

time library was used for generating the current time :

  string curTime(){
    	time_t Time = time(NULL);
    	return ctime(&Time);  
   }

Used a showAll file to show all the available notes. inspired from ls function of git bash

void showAllDates(){
    	string print;
    	ifstream fin("AllRecord.txt",ios::in);
    		while(fin.eof() == 0){
    			getline(fin,print);
		        cout<<print<<endl;
    	}
        cout<<endl;
    	    system("pause");
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages