sPad, VI like sample text editor v1.0
sPad is a Btech mini project. In this program you have the access to create view and save files. This is completely based on Command Line Interface. The zip contains a folder sPad and a powerpoint pptx file which will explain all its mechanish. Inside the sPad folder there are 5 header files init,open, pre,save and start apart form these there is a .cpp file which is the Driver program. you need to compile that file which will genenrate a executable file.
Understanding pre.h...
This file includes the basic header files namely iostream,fstream and cstring. This file initializes 2 String type variables and a character array name. You can think as using one of the string for secondary memory which is permanent and another as a primary memory which is temporary.
Understanding init.h...
This file includes two functions namely inp() and hlp(), the inp() can be thought as if converting the primary memory contents to the secondary memory contents. In the hlp(), initially there is no content. You can add them as per your required.
Understanding save.h...
This file includes two functions namely sve1() and sve2(), the sve1() is called when a new file is created, i.e at the time of saving you need to give the file name. sve2() on the otherhand is called when you have opened a file and then after editing you are trying to save it .
Understanding open.h...
This file has an open() which asks the name of the saved file and then it opens the file which can be furthered edited and saved.
Understanding start.h...
This file has a start() which is responsible for all designing elements. This functions also looks after the inputs and efficiently controls all the modules of the program. It also facilitates in displaying the status of the program.
Screenshots[Demo]
This is in beta mode, so i expect bugs. Feel free to report it. You can use this project with or without attribution. Download the complete project here.
Understanding pre.h...
This file includes the basic header files namely iostream,fstream and cstring. This file initializes 2 String type variables and a character array name. You can think as using one of the string for secondary memory which is permanent and another as a primary memory which is temporary.
Understanding init.h...
This file includes two functions namely inp() and hlp(), the inp() can be thought as if converting the primary memory contents to the secondary memory contents. In the hlp(), initially there is no content. You can add them as per your required.
Understanding save.h...
This file includes two functions namely sve1() and sve2(), the sve1() is called when a new file is created, i.e at the time of saving you need to give the file name. sve2() on the otherhand is called when you have opened a file and then after editing you are trying to save it .
Understanding open.h...
This file has an open() which asks the name of the saved file and then it opens the file which can be furthered edited and saved.
Understanding start.h...
This file has a start() which is responsible for all designing elements. This functions also looks after the inputs and efficiently controls all the modules of the program. It also facilitates in displaying the status of the program.
Screenshots[Demo]
This is in beta mode, so i expect bugs. Feel free to report it. You can use this project with or without attribution. Download the complete project here.
Comments
Post a Comment