Re: class or namespace error..need compiling help!!
Quote:
Originally Posted by GaganW18
Why do I get an error: "statistician is not a class or namespace name?"
Because you declared statistician to be in namespace CISP430_A1. So it's name is CISP430_A1::statistician (unless you import that namespace), i.e. you should define your constructor
Code:
CISP430_A1::statistician::statistician() {...}
Quote:
Originally Posted by GaganW18
What do I need to use for assert?
include <cassert>
Quote:
Originally Posted by GaganW18
Why is their a syntax error for operator + () ??
Probably because it does not know what statistician is. Qualify it with the name of the namespace or import the namespace.
Re: Help w/ c++ assignment...
I've been working through a few complex C++ assignments myself lately, and this discussion really helped me understand how to manage memory more efficiently. For anyone who's still learning or stuck with university tasks, exploring some reliable C++ assignment help resources or examples can make a big difference ? especially for handling pointers and class structures correctly. Thanks to everyone here for keeping such detailed threads active; they're genuinely useful for both students and developers trying to polish their coding skills.
**Links removed by Site Administrator so it doesn't look like you're spamming us. Please don't post them again.**
Re: Help w/ c++ assignment...
Quote:
Originally Posted by
scottburke464
I've been working through a few complex C++ assignments myself lately, and this discussion really helped me understand how to manage memory more efficiently. For anyone who's still learning or stuck with university tasks, exploring some reliable C++ assignment help resources or examples can make a big difference ? especially for handling pointers and class structures correctly. Thanks to everyone here for keeping such detailed threads active; they're genuinely useful for both students and developers trying to polish their coding skills.
**Links removed by Site Administrator so it doesn't look like you're spamming us. Please don't post them again.**
Dude, this thread is 18 years old...:ehh: