13
University Of The Philippines Information Technology Training Centre C.P.Garcia Avenue, Quezon City Notepad in C++ A Project Proposal Presented to the Faculty of the IT Department UPITTC, Diliman, Quezon City In Partial Fulfillment of the Requirement in the IT Fundamentals Course Proponent: Ryan Edora Jeiel Cayasa 1

java code on notepad

Embed Size (px)

DESCRIPTION

it contain java code on notepad

Citation preview

Page 1: java code on notepad

University Of The Philippines Information Technology Training

Centre

C.P.Garcia Avenue, Quezon City

Notepad in C++

A Project Proposal

Presented to the Faculty of the IT Department

UPITTC, Diliman, Quezon City

In Partial Fulfillment of the

Requirement in the

IT Fundamentals

Course

Proponent:

Ryan Edora

Jeiel Cayasa

Date:

October 2011

1

Page 2: java code on notepad

ABSTRACT

Our project proposal is Notepad, a text editor for Microsoft Windows. He

resulting files are typically saved with the .txt extension, and have no format gags

or styles, making the program suitable for editing files that are to be used in a

DOS environment. However our program can be compiled in other operating

systems as well, because of the Qt framework (below)

The game makes use of the QT Framework. It is a cross-platform application

framework that is widely used for developing application software with a

graphical user interface (GUI).

Using Qt and C++, this game was created with the sole intent on learning more

about C++ and using graphics in the said language.

2

Page 3: java code on notepad

Introduction

Text editors

A text editor is a type of program used for editing plain text files.

Text editors are often provided with operating systems or software development

packages, and can be used to change configuration files and programming

language source code.

Background of the School

On February 26, 2004, upon then UP President Francisco Nemenzo's recom-

mendation, the UP Board of Regents (BOR) approved the creation of the ITTC

Program under the Office of the Vice-President for Development. The BOR ap-

pointed a Program Director for UP ITTC on July 22, 2004.

For its full-scale implementation, the University proposed a project for funding by

the Japan International Cooperation Agency (JICA). This was dubbed as the

Japan-Philippines Technical Cooperation Project on Philippine IT Human Re-

source Development (ITHRD), which was approved by JICA and started opera-

tion on July 20, 2004, for a term of four years (extended until 2009).

In the Record of Discussions signed by JICA and the University on July 9, 2004,

the project's purpose was stated as: to conduct high-level and practical IT train-

ing in cooperation with other universities and industries, and to match the needs

of the industry.

In June 2005, the UP ITTC launched its one-year certificate course.

On August 31, 2009, the Center concluded its initial audit for certification to the

ISO 9001:2008 International Standards with ABS Quality Evaluations. The Cen-

3

Page 4: java code on notepad

ter became the first IT training center in the Philippines to be ISO 9001:2008 cer-

tified.

Other Viable cases of Study:

In case that the proponents chose or made other programs for the project, sys-

tems that were in mind for various reasons were:

1.) Security Suite

-This would take loads of time but it was very viable because it is

dedicated to offensive and defensive computer security and research.

2.) Instant Messenger

-Because making chat applications have lots of tutorials and it would teach

the proponents on networking.

3.) Ruby on Rails Tutorial

-Ruby on Rails is one of the hottest programming languages around and

there are few tutorials on the internet.

Objectives of the Study:

General Objectives

The general objectives of this study fall into two causes: one, in order to

complete requirements for IT fundamentals training, and to enhance our skill in

programming C++.

The proponents were requested to make applications or system that made use

of the graphical capabilities of C++.

4

Page 5: java code on notepad

The proponents are confident that in making this text editor, we have satisfied

our motives greatly; creation of the program is mentally challenging.

Specific Objectives

• A user-friendly text editor that can give its user enough functionality to

make .txt files.

• The program is can be modified in order to cope up with people’s

demands in editing.

• The Notepad in C++ is a perfect example of C++ in GUI.

• There are many computer languages out there, with their applications that

can benefit the program itself.

• A proficient programmer will suffice to maintain the system.

Scope and Limitations

The Notepad C++ can only work using the controls given by the

programmer.

It can only save .txt files

It doesn’t support other language extensions.

It isn’t responsible for viruses.

Significance of the study

The project proposal will be beneficial to students because they have

learned so many things that can help them in pursuing careers in Information

Technology or Computer Science, namely: programming, presentation skills and

the like.

5

Page 6: java code on notepad

Resources

In order to develop the proposed system there would be a lot of resources

to maintain the system. The researcher used:

Notepad++ (Open-source Text Editor for writing computer languages)

Google Chrome (Internet Browser)

QT (Application Framework)

DevC++ (C++ Editor)

The proponents also use Microsoft Windows XP & Microsoft Windows 7 as the

operating system.

PROCESS

The Text Editor can be used on computers, but first it needs to be installed. The

Notepad can be installed using the installer. The time it needs to be installed

takes less than a minute. After that an exe file would appear, and double-clicking

it will launch the application.

Notepad in C++ is simple

There is a white area that can be edited to write and read text files. There are a

number of controls that are located in the toolbar: namely, new, open, save, save

as, cut, copy, paste, undo and redo.

New allows for the creation of a new .txt file.

Open "opens" an existing saved .txt file

Cut removes the selected object in a document and place it in a buffer.

Paste copies an object from the text area to the are itself.

6

Page 7: java code on notepad

Requirements:

A Computer and

Notepad in C++

Installer

Undo erases the last change done to the document reverting it to an older

state.

Redo reverts the effects of the undo action.

COMPONENTS OF THE SYSTEM

1. Flexible Solution

2. QT Framework

3. C++

4. System can be run on any machine that can support C++.

Input Process Output of Existing System

Input Process Output

7

1.) Double click

the installer

2.) Click “Next”

and agree

with the

requirements

3.) Once the

Application is

installed, click

finished

4.) Double click

the Notepad

Icon.

The Notepad in C+

+ can be used.

Page 8: java code on notepad

1.0Installer Installing

2.0Notepad.exe

Use

4.0Quit

Program DetailsInstallation Details

3.0 New 3.1 Open 3.2 Save 3.3 Save as 3.4 Cut 3.5 Copy

3.7 Undo 3.8 Redo3.6 Paste

Data Flow Diagram of Existing System

8

Page 9: java code on notepad

Hardware and Software Requirements

Hardware Requirements

Components Parts Brand Name

OS Name Microsoft Windows 7 Professional

System Model Presario CQ42 Notebook PC

System Type X86-based PC

Processor Intel(R) Core (TM) i3 CPU

Keyboard Standard PS/2 Keyboard

Mouse Wireless Mouse

Software Requirements

Notepad++ (Open-source Text Editor for writing computer languages)

Google Chrome (Internet Browser)

QT (Application Framework)

DevC++ (C++ Editor)

9

Page 10: java code on notepad

Pictures

Picture Of The Actual Game

Picture Of The Actual Installation

Summary and Conclusion

The Notepad in C++ is a Text Editor developed with C++ and GUI. It was im-

plemented in order to complete requirements in IT fundamentals and learn

more about C++.

It was developed in C++ and QT Framework.

10