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.
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.
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.
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 .
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.
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.
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.
Latest posts by Bikash Panda (see all)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017