Changes

Jump to: navigation, search

Console Framework Classes 20103 - OOP344

2,132 bytes added, 13:04, 22 November 2010
Classes
</syntaxhighlight></big>
It deallocates the allocated memory. (If any memory allocation is used).
=Compile, Build, testing=
==Compile and build==
*Here is a sample of a make file on Linux, you can also find this '''makefile''' at [svn://zenit.senecac.on.ca/oop344/trunk/C/Prj/makefile]
<big></pre>
prj: iol.o fwborder.o fwfield.o fwlabel.o fwlineedit.o fwbutton.o fwcheck.o fwveditline.o fwdialog.o fwtext.o strarr.o testmains.o
c++ iol.o fwborder.o fwfield.o fwlabel.o fwlineedit.o fwbutton.o fwcheck.o fwveditline.o fwdialog.o fwtext.o strarr.o testmains.o \
-lncurses -oprj
 
iol.o: iol.c iol.h
cc -c iol.c
 
fwboder.o: fwborder.cpp fwborder.h confw.hiol.h
c++ -c fwboder.cpp
 
fwfield.o: fwfield.cpp fwfield.h fwborder.h confw.h iol.h
c++ -c fwfield.cpp
 
fwlabel.o: fwlabel.cpp fwlabel.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwlabel.cpp
 
fwlineedit.o: fwlineedit.cpp fwlineedit.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwlineedit.cpp
 
fwbutton.o: fwbutton.cpp fwbutton.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwbutton.cpp
 
fwcheck.o: fwcheck.cpp fwcheck.h fwlabel.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwcheck.cpp
 
fwveditline.o: fwveditline.cpp fwveditline.h fwlineedit.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwveditline.cpp
fwtext.o: fwtext.cpp fwtext.h fwlineedit.h strarr.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwtext.cpp
 
strarr.o: strarr.cpp strarr.h
c++ -c strarr.cpp
 
fwdialog.o: fwdialog.cpp fwdialog.h fwfield.h fwborder.h confw.h iol.h
c++ -c fwdialog.cpp
testmains.o: testmains.cpp fwdialog.h strarr.h fwtext.h fwveditline.h fwcheck.h fwbutton.h fwlineedit.h fwlabel.h fwfield.h fwborder.h iol.h
c++ -c testmains.cpp
 
</pre></big>
==Testing==
*All the test programs are under at: [ssvn://zenit.senecac.on.ca/oop344/trunk/C/Prj]
*Test files names are '''Test*.cpp'''
*All test programs are compiled the executable is available on matrix.senecac.on.ca/~fardad.soleimanloo
*: to run the test programs, login to matrix.senecac.on.ca and login with your own user id and password, then at the command line type: '''~fardad.soleimanloo/tX''', replace the X with the number of the test. (i.e for test three, run: '''~fardad.soleimanloo/t3''')

Navigation menu