Search:

Type: Posts; User: Ace Rockolla

Search: Search took 0.00 seconds.

  1. Just through trial and error I finally got it to...

    Just through trial and error I finally got it to work, but it's not satisfying since I don't really understand why I needed to change what I did. I had to change it from this
    Thing *...
  2. oh yea my bad, it's supposed to be "expected" not...

    oh yea my bad, it's supposed to be "expected" not "unexpected." Thanks for the replies, I don't want to post the whole code just because it's a school assignment.

    Aisthesis - what do you mean by...
  3. compiler error: unexpected constructor, destructor, or type conversion...

    I've been working on writing a program for school literally all day and I'm getting one error when I try to compile it that I can't figure out. The error I'm getting is "error: expected constructor,...
  4. Replies
    14
    Views
    1,189

    noob question regarding #include

    If I have two separate files for a class (a header file and a file containing all the member function definitions), and in the header file I have something like this:


    #include<iostream>...
  5. Replies
    4
    Views
    1,708

    thanks, that helped a lot. So does the const in...

    thanks, that helped a lot. So does the const in the second one even do anything? if it's just passing the pointer by value (making the local variable a copy of the pointer being passed), you don't...
  6. Replies
    4
    Views
    1,708

    parameter passing question

    I'm new to C++ and have looked around for the answer to this seemingly simple question but can't seem to find it. Can someone please explain to me the difference between a function that looks like...
Results 1 to 6 of 6