Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting It Out Of The Recycling Bin Pin
Swinefeaster18-Jun-01 11:33
Swinefeaster18-Jun-01 11:33 
GeneralRe: Getting It Out Of The Recycling Bin Pin
Carlos Antollini18-Jun-01 11:55
Carlos Antollini18-Jun-01 11:55 
GeneralRe: Getting It Out Of The Recycling Bin Pin
Swinefeaster18-Jun-01 22:35
Swinefeaster18-Jun-01 22:35 
GeneralC++ - Inheritance Pin
Ganesh Ramaswamy18-Jun-01 11:08
Ganesh Ramaswamy18-Jun-01 11:08 
GeneralRe: C++ - Inheritance Pin
18-Jun-01 11:38
suss18-Jun-01 11:38 
Questionfixing "Cannot find the definition (implementation) of this function"? Pin
18-Jun-01 10:59
suss18-Jun-01 10:59 
AnswerRe: fixing Pin
18-Jun-01 21:50
suss18-Jun-01 21:50 
QuestionLoad *.c at runtime? Pin
18-Jun-01 10:51
suss18-Jun-01 10:51 
I often play the game "Quake3". When I looked at the game-files I saw that there were also normal *.c files
here a piece of code from one of these files:

[code]
//===========================================================================

#include "game.h"
#include "match.h"


//entered the game message
MTCONTEXT_ENTERGAME
{
//enter game message
NETNAME, " entered the game" = (MSG_ENTERGAME, 0);
} //end MTCONTEXT_ENTERGAME

//initial team command chat messages
MTCONTEXT_INITIALTEAMCHAT
{
//help someone (and meet at the rendezvous point)
"(", NETNAME, ")", PLACE, ": help "|" meet ", TEAMMATE, " near "|" at ", "the "|"checkpoint "|"waypoint "|"", ITEM = (MSG_HELP, ST_NEARITEM);
[/code]

these files seem to be loaded at runtime by quake3.
Now my question?

How is it possible to load source-files at runtime and execute their code?

thanks in advance
AnswerRe: Load *.c at runtime? Pin
Christian Graus18-Jun-01 17:10
protectorChristian Graus18-Jun-01 17:10 
AnswerRe: Load *.c at runtime? Pin
18-Jun-01 18:07
suss18-Jun-01 18:07 
GeneralRe: Load *.c at runtime? Pin
19-Jun-01 3:26
suss19-Jun-01 3:26 
QuestionIs there a CD-ROM? Pin
Rickard Andersson2018-Jun-01 10:43
Rickard Andersson2018-Jun-01 10:43 
AnswerRe: Is there a CD-ROM? Pin
Gero Gerber18-Jun-01 10:52
Gero Gerber18-Jun-01 10:52 
AnswerRe: Is there a CD-ROM? Pin
19-Jun-01 7:31
suss19-Jun-01 7:31 
GeneralKeyboard acces... Pin
Rickard Andersson2018-Jun-01 10:39
Rickard Andersson2018-Jun-01 10:39 
GeneralRe: Keyboard acces... Pin
Mukkie19-Jun-01 6:39
Mukkie19-Jun-01 6:39 
GeneralPlus! Settings, use large icons, et. al Pin
18-Jun-01 10:35
suss18-Jun-01 10:35 
Generalbitmaps and PatBlt Pin
michaelh18-Jun-01 10:28
michaelh18-Jun-01 10:28 
QuestionMenu in a dialog window ? Pin
18-Jun-01 9:03
suss18-Jun-01 9:03 
AnswerRe: Menu in a dialog window ? Pin
18-Jun-01 10:05
suss18-Jun-01 10:05 
GeneralRe: Menu in a dialog window ? Pin
18-Jun-01 10:42
suss18-Jun-01 10:42 
AnswerRe: Menu in a dialog window ? Pin
Carlos Antollini18-Jun-01 11:01
Carlos Antollini18-Jun-01 11:01 
AnswerIt's working fine now ! Thanks a lot !!! Pin
20-Jun-01 6:40
suss20-Jun-01 6:40 
Generalcustom cursor Pin
18-Jun-01 8:11
suss18-Jun-01 8:11 
GeneralRe: custom cursor Pin
Tomasz Sowinski18-Jun-01 8:19
Tomasz Sowinski18-Jun-01 8:19 

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.