Search:

Type: Posts; User: Sjiep

Search: Search took 0.01 seconds.

  1. Well I changed the code to Anons first post but...

    Well I changed the code to Anons first post but the same error still pops up:


    #include <iostream>

    using namespace std;

    //------------------------------
    //Point class begin...
  2. This seems to do the trick, even tho it still...

    This seems to do the trick, even tho it still gives the following warning:

    warning: reference to local variable 'outV' returned

    It does the trick and runs properly.

    Thanks everyone for the...
  3. Thanks for the reply, if I add the const to all...

    Thanks for the reply, if I add the const to all the places you say it still comes up with the error. So that doesn't seem to do the trick.

    However if I remove the operator= function the error...
  4. Isn't it then strange that the code does work in...

    Isn't it then strange that the code does work in .Net but doesn't in Xcode, I know they both have different compiler so there will be differences but isn't this just basic C++ that should work on...
  5. Weird behaviour in overloading operator+ (Xcode vs .Net)

    Hi there,
    I just started with programming in C++ with a video tutorial. Everything was going alright until i got to a weird compiler error while overloading the operator+ for a class I created...
Results 1 to 5 of 5