Thread: constructor, destructor

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    37

    constructor, destructor

    Code:
    GAUGE_HEADER_FS700(GAUGE_W, cs_gauge_name, &cs;_list,    \
                            cs_mouse_rect, 0, 0, 0, 0);
    the error
    expected constructor, destructor, or type conversion before ',' token|

    Ive been searching high and low to fix this but dont understand
    whats wrong

    any tips?
    and a little off the topic for a second does anyone now if its ok to post
    code from the Microsoft example library that's copyrighted?

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    I think you should try this
    Code:
    GAUGE_HEADER_FS700(GAUGE_W, cs_gauge_name, &cs_list,    
                            cs_mouse_rect, 0, 0, 0, 0);
    without the ';' after the cs.Also the '\' i think is not necessary

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    37
    making progress
    I think the fix is good it removed 3 errors
    I will look to see if i can figure the rest out by doing a little homework
    Thanks

  4. #4
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Ok.Try it by your own,but if the errors are still there,feel free to post them

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. constructor and destructor
    By Micko in forum C++ Programming
    Replies: 1
    Last Post: 11-24-2003, 08:51 AM
  2. using constructor & destructor
    By tinkerbelle in forum C++ Programming
    Replies: 2
    Last Post: 08-06-2003, 06:30 PM
  3. Constructor and destructor
    By gogo in forum C++ Programming
    Replies: 4
    Last Post: 03-12-2003, 10:03 PM
  4. 1 constructor, 2 destructor!
    By Hunter2 in forum Game Programming
    Replies: 13
    Last Post: 02-05-2003, 01:34 PM
  5. constructor and destructor
    By Sekti in forum C++ Programming
    Replies: 6
    Last Post: 03-08-2002, 11:55 PM