Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~7K People Reached

15 Posted Topics

Member Avatar for christina>you
Member Avatar for Reg74

Here's the question : /* 4. Modify your showTree() function so that it produces the same output as dumpObjectTree() . QObject::A Stack Object QObject::Mike QObject::Greg QObject::Peter QObject::Bobby QObject::Carol QObject::Marcia QObject::Jan QObject::Cindy */ This is what i have thus far ... if(!childlst.isEmpty()) foreach(Person* t,childlst) { cout << "QObject::" << t->parent()->objectName() << …

0
109
Member Avatar for Reg74

I'm having some trouble attempting to implement the constructors for each class. I have this constructor for the class Transaction. Is this correct ? Transaction::Transaction(QString type, QDateTime datetime) : m_Type(type), m_DateTime(datetime) { } AND how do i implement the constructor for the class Deposit ? Is this correct ? I'm …

Member Avatar for David W
0
231
Member Avatar for Reg74

I'm using the streamreader to read in a text file and using the function EndOfStream to detect the end of the text file. The problem i facing is that i'm getting this weird error message -- > [B]System Error &H80131c25&[/B] Does anyone know what this means and how to solve …

Member Avatar for ibennz
0
804
Member Avatar for Reg74

Here's my function that i call from main. However i'm getting an error "stackType undeclared" Does anyone know what i'm doing wrong ? [CODE="CPP"] template<class Type> void removeX(queueType<Type>& Q) { stackType<Type> stackQ; while (!Q.isEmptyQueue()) { stackQ.push(Q.front()); Q.deleteQueue(); } } [/CODE]

Member Avatar for Reg74
0
91
Member Avatar for Reg74

[CODE= C++] //Pg.288 #include <cassert> #include <iostream> using namespace std; void deleteKthElement(int k, int& count); int main() { struct nodeType { int info; nodeType *link; }; nodeType *first, *newNode, *last, *traverse; int num; int count = 0; cout << "Enter a list of integers ending with -999.\n"; cin >> num; …

Member Avatar for Reg74
0
124
Member Avatar for tyoung4@runner

In your 'for' loop you're using the variable 'hours' as the control variable. ..try something similar to this .. [code=c++] for (int i = 1; i <= hours; i++) [/code] and like 'vamnes' said you need to look at your method of calculation

Member Avatar for tyoung4@runner
0
266
Member Avatar for Reg74

I have a pc loaded with XP Home Edition.I recovered all the data on my harddrive but after installing it again my pc won't boot. I read on Microsoft support website that XP Home edition needs floppy disks (6 of them - i've downloaded this already). At present all that …

Member Avatar for HelpingHands-IT
0
279
Member Avatar for The Dude
Member Avatar for Reg74

Hi anyone. Please help with this seperate compilation. Many thanks ! ================================== //pointerDataClass ;Header file [code=cplusplus] class pointerDataClass { public: void print() const; //Function to output the value of x and //the value of the array p. void setData(); //Function to input data into x and //into the array p. …

Member Avatar for henpecked1
0
209
Member Avatar for Reg74

I'm getting the above error at this section --> SetCurDir ("\\Cls000008\actuarial_data\Xtractor") in my code below ... please help ! _____________________________________ Option Explicit Private Declare Function SetCurDir Lib "kernel32" _ Alias "SetCurrentdirectoryA" (ByVal lpPathName As String) As Long Public Sub Extract_POL(strinputfile, lngTOTpno, blnPOL, blnIDAT, blnTcode, _ blnHPTAR, blnTerm, blnOccode, blnAge, blnPollines, …

Member Avatar for Reg74
0
437
Member Avatar for Reg74

Hi .... i'm getting the following error " 'buildListForward undeclared' when trying to compile this program. Please help ! [code=cplusplus] //Linked lists //Pg.288 #include <iostream> using namespace std; nodeType* buildListForward(); int main() { buildListForward(); nodeType* buildListForward() { nodeType *first, *newnode, *last; int num; cout << "Enter a list of integers …

Member Avatar for Narue
0
1K
Member Avatar for Reg74

Is there perhaps a single statement that will do the job ? Public Class Polis Public Nr As String Public Fonds As String Public KBR As String Public Land As String Public Usplit As String Public Tcode As String Public Reels As Integer Public BELBON(40) As Double Public BELEBON(40) As …

Member Avatar for hollystyles
0
132
Member Avatar for Reg74

Hi.I don't know where to post this ... please help. I'm trying to put each character in a string into an array. Private Sub cmdNameslow_Click() Dim username As String Dim index As Integer Dim myArray() ReDim myArray(Len(username)) 'prompt username username = InputBox("Enter your name", "NAME") 'display username one charachter at …

Member Avatar for cutepinkbunnies
0
102
Member Avatar for Reg74

Program to demonstrate the Stack class #include <iostream> #include <vector> using namespace std; template<class T> class Stack { public: Stack(); bool empty() const; T top() const; T pop(); void push(T element); void Output(T element); private: vector <T> pool; }; //constructor template<class T> Stack<T>::Stack() { pool.reserve(10); } //function to output the …

Member Avatar for Reg74
0
169

The End.