Click here to Skip to main content
16,013,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetLocalTime and GetCurrentTime in Managed App(Windows form.net)---VC7 Pin
luhfluh16-Mar-06 23:40
luhfluh16-Mar-06 23:40 
QuestionVisualisers in other programmes Pin
RichardS16-Mar-06 23:26
RichardS16-Mar-06 23:26 
QuestionC Question Pin
<color>Aljechin 16-Mar-06 23:03
<color>Aljechin 16-Mar-06 23:03 
AnswerRe: C Question Pin
RichardS16-Mar-06 23:24
RichardS16-Mar-06 23:24 
GeneralRe: C Question Pin
<color>Aljechin 16-Mar-06 23:27
<color>Aljechin 16-Mar-06 23:27 
JokeRe: C Question Pin
Sebastian Schneider16-Mar-06 23:32
Sebastian Schneider16-Mar-06 23:32 
GeneralRe: C Question Pin
RichardS16-Mar-06 23:38
RichardS16-Mar-06 23:38 
GeneralRe: C Question Pin
RichardS16-Mar-06 23:36
RichardS16-Mar-06 23:36 
Hi,

First check that you are compiling both files. And if you are, make sure that you are compiling them in C mode.

a.c:
#include "b.h"
int main (int, char**)
{
   MyFunction ();
   return 0;
}


b.h:
#ifndef __B_H__
#define __B_H__
void MyFunction (void);
#endif /* __B_H__ */


b.c:
#include "b.h"
void MyFunction (void)
{
}


Hope this helps,
Rich


"Programming today is a race between software engineers striving to build bigger and
better idiot-proof programs, and the Universe trying to produce bigger and better idiots.
So far the Universe is winning." -- Rich Cook
GeneralRe: C Question Pin
<color>Aljechin 16-Mar-06 23:59
<color>Aljechin 16-Mar-06 23:59 
GeneralRe: C Question Pin
RichardS17-Mar-06 0:05
RichardS17-Mar-06 0:05 
GeneralRe: C Question Pin
<color>Aljechin 17-Mar-06 0:08
<color>Aljechin 17-Mar-06 0:08 
GeneralRe: C Question Pin
RichardS17-Mar-06 0:12
RichardS17-Mar-06 0:12 
GeneralRe: C Question Pin
<color>Aljechin 17-Mar-06 0:19
<color>Aljechin 17-Mar-06 0:19 
GeneralRe: C Question Pin
RichardS17-Mar-06 0:37
RichardS17-Mar-06 0:37 
AnswerRe: C Question Pin
khan++17-Mar-06 0:34
khan++17-Mar-06 0:34 
QuestionCtreeCtrl problems Pin
mysticlol16-Mar-06 22:54
mysticlol16-Mar-06 22:54 
AnswerRe: CtreeCtrl problems Pin
Hamid_RT17-Mar-06 1:01
Hamid_RT17-Mar-06 1:01 
Questionimage display Pin
_tasleem16-Mar-06 22:46
_tasleem16-Mar-06 22:46 
AnswerRe: image display Pin
ThatsAlok17-Mar-06 0:42
ThatsAlok17-Mar-06 0:42 
GeneralRe: image display Pin
_tasleem17-Mar-06 1:42
_tasleem17-Mar-06 1:42 
QuestionCTime 32 bit/64 bit Pin
rwilmink16-Mar-06 22:08
rwilmink16-Mar-06 22:08 
QuestionHelp needed to launch each of the system tray icons present Pin
giftsana16-Mar-06 21:42
giftsana16-Mar-06 21:42 
AnswerRe: Help needed to launch each of the system tray icons present Pin
ThatsAlok17-Mar-06 0:44
ThatsAlok17-Mar-06 0:44 
GeneralRe: Help needed to launch each of the system tray icons present Pin
giftsana21-Mar-06 16:39
giftsana21-Mar-06 16:39 
QuestionCould someone help me? Pin
Syouki_kou16-Mar-06 21:23
Syouki_kou16-Mar-06 21:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.