none
Including header file not working in MFC (C2146)

    Question

  • Hi, I have a problem with including a header file in my MFC. It works when I have a simple C++ project, but not when I'm trying it in my MFC project. The error I get when I try to run it is a syntax error saying:

    "(C2146) syntax error: missing ';' before identifier 'rectified_linear'"

    As I said this error does not occur when I am trying to run it in a simple C++ project (then it works). I am new to MFC's, but if anyone could help me so I can include my header-file I would appreciate it very much.


    Sunday, April 16, 2017 11:07 PM

Answers

  • Tob237,

    You have posted your question in the "Small Basic Forum". You probably need to post this in the C++ forum or the Visual Studio forum.


    JR

    Sunday, April 16, 2017 11:29 PM
    Answerer

All replies