Alright so I have a problem with EventQueue and Event. In Event my second constructor gets an error saying expected initializer. If anyone can point me in the right direction to what is wrong that would be great.
Now if i comment that out i get an error with EventQueue when I call the functions in my mainEvent. For example the line eq.enQueue(e) and when i firts decalre the variable eq gets errors saying undefined reference.Anyone know why? Thank you for your help before.
kyle.mace.35
0
Light Poster
Recommended Answers
Jump to PostIn Event my second constructor gets an error saying expected initializer.
Would that be this code?
Event::Event(int a, int b) Event::Event(int a, int b) { ArrivalTime = a; wait = b; }
Looks like it says
Event::Event(int a, int b)
twice.
All 3 Replies
Moschops
683
Practically a Master Poster
Featured Poster
kyle.mace.35
0
Light Poster
kyle.mace.35
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.