CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Join Date
    Jan 2004
    Location
    Düsseldorf, Germany
    Posts
    2,401

    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.

  2. #17
    Join Date
    Nov 2025
    Location
    201 St Albans Rd, St Albans VIC 3021
    Posts
    1

    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.**

  3. #18
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Help w/ c++ assignment...

    Quote Originally Posted by scottburke464 View Post
    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...

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured