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

Search:

Type: Posts; User: tadhg76

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    6,147

    Re: C++ template question

    I meant to write:

    #include "foo.h"

    int main(int argc, char *argv[]){
    foo *bar = new foo();
    bar->doSomething<2u>();
    return 0;
    }
  2. Replies
    2
    Views
    6,147

    C++ template question

    Hello all, I am new to using templates and run into a problem:

    I have a file foo.h:

    #ifndef FOO_H_
    #define FOO_H_

    class foo{
    public:
    foo();
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured