Thread: Problem with VC++ .NET

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    25

    Problem with VC++ .NET

    If i make a header file (.h) with some functions and then implement them in a .hpp , the functions won't appear at the place where all functions are, what am i doing wrong?

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    I believe you have to implement the functions in a cpp file....Check me if I'm wrong here.

  3. #3
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    Quote Originally Posted by karb0noxyde
    the functions won't appear at the place where all functions are
    Huh?? Please explain better.

    By the way, it might have just been a typo, but generally functions and classes are declared in a header file (.h or .hpp) and implemented in a source file (.c or .cpp). One exception is when working with templates, which must be implemented in a header file (or in another file included by the header file) because most if not all compilers do not implement the export keyword.
    Last edited by jlou; 10-09-2004 at 04:46 PM.

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    Quote Originally Posted by jlou
    Huh?? Pleasse explain better.
    Only thing I can think of is the OP meant the place where there's a dropdown of the functions and when you select a function from there it jumps to that function's definition.

  5. #5
    Registered User
    Join Date
    Oct 2004
    Posts
    25
    Yup, thats the place i mean, and also, im working with templates on VC++ .NET

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Difference in MSVC 6 & MS VC .Net
    By passionate_guy in forum C Programming
    Replies: 1
    Last Post: 01-23-2006, 06:39 AM
  2. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  3. Replies: 0
    Last Post: 05-21-2005, 09:42 PM
  4. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  5. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 01:15 AM