Browsing by Author "Jayaratne, T.V.P.D."
Now showing 1 - 2 of 2
Results Per Page
Sort Options
Item Graphical User Interface Builder for C language(Uva Wellassa University of Sri Lanka, 2013) Jayaratne, T.V.P.D.; Rajapaksha, R.W.V.P.C.C language was originally developed in 1972 by Dennis Ritchie at Bell Laboratories. It is a programming language that was derived from earlier language B and B's earlier ancestors BCPL and CPL. In a very short period of time C language became more powerful and flexible. Later the UNIX operating system which was originally written in assembly language was almost immediately re-written in C. Though C has been around for decades, it’s still consistently ranked at the top of any list of programming languages used and studied today (Sawyer, 2012). C language is closer to the hardware, and used to create other languages such as C++, Java and popular operating systems like Windows, UNIX, and Linux. The most important thing is that no programming language beats 'C' language in its speed of execution. Though the C language (Sawyer, 2012) found lasting use in applications, at present there is no specifically made Rapid Application Development (RAD) tool that enables quick and easy development of user interfaces. Therefore most C programmers use GTK+ widgets to design graphical user interfaces. The only available tool is “Glade” but it is not specifically made for C language and supports for C, C++, Java, Perl and Python languages. One of the disadvantages with the Glade tool is that, output will be an Extensible Markup Language (XML) file. Therefore this project focuses on developing a RAD tool for C language that provides programmers quick & easy development of user interfaces. The main objectives of this RAD tool is to provide a user friendly interface to design graphical user interfaces, a facility to preview the designed user interfaces and generate a C file as the output for further enhancement to the source code using any other supported tool such as Code Blocks and Eclipse. Methodology The proposed system was implemented using two languages; C and Java. The main application was developed in java with Eclipse environment. The main purpose of using Java is to create a platform independent system. In the main application, editing area is available to design Graphical User Interfaces (GUI) with forms, Insert buttons, labels, menus…etc. with drag and drop facility.Item Graphical User Interface Builder for Clanguage(Uva Wellassa University of Sri Lanka, 2013) Jayaratne, T.V.P.D.C language was originally developed in 1972 by Dennis Ritchie at Bell Laboratories. It is a programming language that derived from earlier language B and B's earlier ancestors BCPL and CPL. In a very short period of time C language became more powerful and flexible. The UNIX operating system was originally written in assembly language and then it was almost immediately re-written in C. During the rest of the 1970's, many colleges and universities were adapted C language because of its close ties to UNIX and the availability of C compilers. Though the c language found lasting use in applications, there is no specifically made RAD tool (only available one is "Glade" but it not specifically made for C language) that enable quick & easy development of user interfaces. Therefore most C programmers use GTK widgets to design graphical user interfaces using GTK widgets. This dissertation discusses about a RAD tool that provide programmers quick & easy development of user interfaces. Main objectives of this RAD tool is to provide a user friendly interface to design the graphical user interfaces, facility to preview the designed user interfaces and generate a C file to perform enhancement to the source code using code block or any other supported tool. First step of the procedure was to design an interface for the GUI builder. The interface was designed using java with eclipse environment. Then create an Editing area for design the graphical user interfaces to create windows forms, Insert buttons, labels, menus...etc with drag and drop facility. Next step was to read the attributes of the components when they are in their final positioning and then use file handling to create the C file using properties of above attributes. And compile the C file using GCC compiler and show the preview. Then as the final output, provide the GTK+ source code. This dissertation showed that implemented RAD tool will enable quick & easy development of user interfaces for C language.