CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Vila

Search: Search took 0.01 seconds.

  1. Re: Structure raises linker exception multiple definition of

    Ok I make them non-static (i made them static while attempting to solve my problem xD and obviously buried my self even deeper), and now when i removed that I compiled my code without any errors. Now...
  2. Re: Structure raises linker exception multiple definition of

    Yeah it is to my eye, but not to my linker xD
    Only for you i made this code 2 seconds ago and tried to compile:



    //main.cpp
    #include <iostream>

    using namespace std;
  3. Re: Structure raises linker exception multiple definition of

    That's a typo i made while typing code to this site. Code is flawless in my actual program and members don't have generic names like myMember1. Still i have:

    Undefined reference to...
  4. Structure raises linker exception multiple definition of

    As I read from some online examples structures should work like this:


    struct nameOfStruct
    {
    int myMember1;
    short myMember2;
    };

    int main()
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured