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

Search:

Type: Posts; User: mnty7

Search: Search took 0.04 seconds.

  1. Replies
    12
    Views
    11,250

    Re: template error...

    i obtain this...


    h/../t/matvec.tem:57: error: expected ‘)’ before ‘<’ token
    h/../t/matvec.tem:59: error: declaration of ‘operator*’ as non-function
    h/../t/matvec.tem:59: error:...
  2. Replies
    12
    Views
    11,250

    Re: template error...

    Thanks to everyone for the anwers!
    I removed the "pair" template and adjusted the code to use std::pair...it seems ok now.
    But now i have to use the matrix template, but i have many many errors......
  3. Replies
    12
    Views
    11,250

    Re: template error...

    and these are the errors

    Someone help me? thanks!


    g++ -c -Wno-deprecated knot_par.cpp
    In file included from knot_par.h:6,
    from knot_par.cpp:6:
    tem/pair.tem:37: error: expected constructor,...
  4. Replies
    12
    Views
    11,250

    Re: template error...

    uops...
    here is the code

    // File knot_par.cpp

    #include <iostream.h>
    #include <stdlib.h>
    #include "knot_par.h"

    /* Constructor parameters:
  5. Replies
    12
    Views
    11,250

    template error...

    Hello everyone!
    I'm trying to compile an old library that could be useful for my graphics project.
    The code has been written by third-party years ago, and uses templates. Unfortunately I have never...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured