Thread: Classes Continued.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Registered User
    Join Date
    Jun 2009
    Location
    Adeliade, AU
    Posts
    128
    Hey,

    Sorry for the late reply, I have had my exams over the last week so I have not had much spare time !

    Thanks greatly for the replies, its starting to get slightly more understanderble haha ( just the fact that im new to cpp)

    So I get the user class code now, but where does implementation go, does that go in the header, at the top of main?

    or where ever i use the user class in the main function?

    I have tried gettin the name from a input and what ever i try it says player does not name a type and this function is not declared.

    To define the class I did,

    User Player

    is that not correct?
    Last edited by Aliaks; 07-02-2009 at 03:45 AM.

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. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM