Welcome! Log In Create A New Profile

Advanced

Oct/Nov exam

Posted by niren108 
Announcements Last Post
Announcement myUnisa availability 21 to 24 March 2019 03/17/2019 02:24PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Oct/Nov exam
May 16, 2011 11:28AM
Hi all. I assume for Question 2.1 of the oct/nov 2010 that there is in fact no memory leak...?
Re: Oct/Nov exam
May 16, 2011 01:12PM
That's what I get.

As the window is the parent..all it's children get destroyed when the window is closed.
Re: Oct/Nov exam
May 16, 2011 03:44PM
Great thanks. any idea what the input and output files for the compiler and linker are?
Re: Oct/Nov exam
May 16, 2011 08:50PM
Input files:
All Source files (.cpp files)
All header files (those specified in the preprocessor directives i.e. all #includes)
All Library files
All Object Files (these are input files to the linker)

Output Files:
Object Files (these are output files from the compiler)
Executables (output files from the linker)
Re: Oct/Nov exam
May 18, 2011 07:06PM
The compiler takes source files and outputs object files

The input of the linker is the output of the compiler i.e it will have a single .o file that contains the main program and a list of libraries.

The output from the linker is the executable file
Re: Oct/Nov exam
May 19, 2011 09:56AM
great tx!
Anonymous User
Re: Oct/Nov exam
May 19, 2011 12:23PM
number 7.3 is giving me problem. anyone out there to solve this one?
Re: Oct/Nov exam
May 19, 2011 09:51PM
Something along these lines

Language: C++ (QT)
MyMainWindow::MyMainWindow(){ feelingsMenu = new QMenu("Feelings",this); happyAction->setChecked(true); excitedAction->setChecked(true); feelingsMenu->addAction("&Happy" ); feelingsMenu->addAction("&Excited"); QMainWindow::menuBar()->addMenu(feelingsMenu);
Sorry, only registered users may post in this forum.

Click here to login