Thread: help with classes

  1. #1
    Registered User
    Join Date
    Sep 2002

    help with classes

    the compiler is not recognizing any identifiers that i declare from my classes.

    It also is not recognizing identifiers from my classes when i use them as parameters in class member functions. I believe that all my #include files are correct........what are some other possible errors. please help


  2. #2
    S Sang-drax's Avatar
    Join Date
    May 2002
    Göteborg, Sweden
    Can you compile this?

    class foo
      int m;
    int main()
      foo f;
      f.m = 23;
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  3. #3
    Registered User
    Join Date
    Sep 2002

    thanks for your reply

    Thank you for your reply.......fortunately i have solved this problem already. I did not take into account the case sensitivity of the declarations.

    example: SortedType list1; is the correct way

    I was declaring them like: Sortedtype list1;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can you Initialize all classes once with New?
    By peacerosetx in forum C++ Programming
    Replies: 12
    Last Post: 07-02-2008, 10:47 AM
  2. Multiple Inheritance - Size of Classes?
    By Zeusbwr in forum C++ Programming
    Replies: 10
    Last Post: 11-26-2004, 09:04 AM
  3. im extreamly new help
    By rigo305 in forum C++ Programming
    Replies: 27
    Last Post: 04-23-2004, 11:22 PM
  4. Exporting VC++ classes for use with VB
    By Helix in forum Windows Programming
    Replies: 2
    Last Post: 12-29-2003, 05:38 PM
  5. Prime Number Generator... Help !?!!
    By Halo in forum C++ Programming
    Replies: 9
    Last Post: 10-20-2003, 07:26 PM