C++ Urgent Help Needed : WTF is this error

Discussion in 'Computer Science & Culture' started by Zero, Jun 1, 2003.

Thread Status:
Not open for further replies.
  1. Zero Banned Banned

    Messages:
    2,355
    My compiler won't build this big project I made, and gives me

    cposition.cpp:42: passing `const position' as `this' argument of `int position::ncols()' discards qualifiers

    My project includes 5 classes, and one driver cpp program.


    At first glance, can anyone tell me what is wrong and how I fix it? This is driving me nuts.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. CuriousGene Supreme Allied Commander Registered Senior Member

    Messages:
    114
    ???

    Christ sake . . . is this for your homework?
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. Zero Banned Banned

    Messages:
    2,355
    Look, I am getting extremely frustrated. This is worth my entire quarter grade (like 70%) and I have 3 days to fix it. I can't even get it to build because of this stupid error I have no clue to fix. Right now, I hate my life, I hate the assignment, I hate this stupid compiler I have to work with, I hate myself, I hate being alive in general, and I want to die.

    PLEASE, post SUGGESTIONS or ADVICE or SOMETHING USEFUL.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. AntonK Technomage Registered Senior Member

    Messages:
    1,083
    We need more source code...i have an idea of what might be wrong..but i need to see the source files...post them somewhere on the web and give us the link.

    -AntonK
     
  8. thefountainhed Fully Realized Valued Senior Member

    Messages:
    2,076
Thread Status:
Not open for further replies.

Share This Page