Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Threads and messages - is this legal? Pin
PJ Arends22-Apr-13 12:00
professionalPJ Arends22-Apr-13 12:00 
GeneralRe: Threads and messages - is this legal? Pin
charlieg22-Apr-13 11:20
charlieg22-Apr-13 11:20 
GeneralRe: Threads and messages - is this legal? Pin
pasztorpisti22-Apr-13 22:46
pasztorpisti22-Apr-13 22:46 
AnswerRe: Threads and messages - is this legal? Pin
Stephen Hewitt22-Apr-13 20:48
Stephen Hewitt22-Apr-13 20:48 
GeneralRe: Threads and messages - is this legal? Pin
charlieg23-Apr-13 14:17
charlieg23-Apr-13 14:17 
QuestionName Space Vs Include Pin
Bram van Kampen21-Apr-13 14:51
Bram van Kampen21-Apr-13 14:51 
AnswerRe: Name Space Vs Include Pin
pasztorpisti21-Apr-13 19:40
pasztorpisti21-Apr-13 19:40 
GeneralRe: Name Space Vs Include Pin
Bram van Kampen28-Apr-13 0:34
Bram van Kampen28-Apr-13 0:34 
So, what's the difference! Is it that the compiler now takes part in the linking? I understand intimately how the compiler and linker work together in the #include model. How does it work with namespaces.

Viz,
In the #include model, the Compiler builds one object file,out of each cpp file. Each object needs to be declared, before an instance can be instanciated)
Classes and Manifests are defined in a header file. This gives the compiler the confidence to produce an object file, containing Inward and Outward references. The compiler is happy to produce these, based on promises in the Header file.

Now, the task of the Linker is to knit this lot together, into an executable ( an exe or dll). It tries to resolve the Links, (i.e. called Named locations in the executable text in One Obj File, to actual Locations of where the code ends up in the final executable). If names cannot be resolved within the 'Project Object Files', further searches are carred out in folders, specified in the project documentation.(paraphrased as spaces where 'Lib Files'are held.) Where this process fails, we get 'Linker errors.'

Now, how does this process take place differently with 'namespace',
and in what way is'namespace' substantially different.


Smile | :)
Bram van Kampen

QuestionHiding the folder from the explorer Pin
sarfaraznawaz18-Apr-13 23:59
sarfaraznawaz18-Apr-13 23:59 
AnswerRe: Hiding the folder from the explorer Pin
André Kraak20-Apr-13 8:17
André Kraak20-Apr-13 8:17 
GeneralRe: Hiding the folder from the explorer Pin
Bram van Kampen21-Apr-13 15:19
Bram van Kampen21-Apr-13 15:19 
AnswerRe: Hiding the folder from the explorer Pin
Stefan_Lang22-Apr-13 0:26
Stefan_Lang22-Apr-13 0:26 
Questionhow to start a thread to get webinfo(xml) with chttpfile Pin
haha_c18-Apr-13 22:54
haha_c18-Apr-13 22:54 
AnswerRe: how to start a thread to get webinfo(xml) with chttpfile Pin
Marco Bertschi18-Apr-13 23:25
protectorMarco Bertschi18-Apr-13 23:25 
AnswerRe: how to start a thread to get webinfo(xml) with chttpfile Pin
Malli_S18-Apr-13 23:43
Malli_S18-Apr-13 23:43 
Questioncan i make a filter driver of raw level sector or cluster? Pin
greenfish7717-Apr-13 14:37
greenfish7717-Apr-13 14:37 
AnswerRe: can i make a filter driver of raw level sector or cluster? Pin
«_Superman_»17-Apr-13 15:56
professional«_Superman_»17-Apr-13 15:56 
AnswerRe: can i make a filter driver of raw level sector or cluster? Pin
dusty_dex17-Apr-13 23:39
dusty_dex17-Apr-13 23:39 
QuestionChanging position of a CButton Pin
Donguy197617-Apr-13 9:09
Donguy197617-Apr-13 9:09 
AnswerRe: Changing position of a CButton Pin
Richard MacCutchan17-Apr-13 9:18
mveRichard MacCutchan17-Apr-13 9:18 
AnswerRe: Changing position of a CButton Pin
«_Superman_»17-Apr-13 15:58
professional«_Superman_»17-Apr-13 15:58 
AnswerRe: Changing position of a CButton Pin
Marco Bertschi18-Apr-13 5:47
protectorMarco Bertschi18-Apr-13 5:47 
QuestionРаспараллеливание Pin
lililianochka17-Apr-13 6:19
lililianochka17-Apr-13 6:19 
AnswerRe: Распараллеливание Pin
Richard MacCutchan17-Apr-13 9:16
mveRichard MacCutchan17-Apr-13 9:16 
GeneralRe: Распараллеливание Pin
dusty_dex17-Apr-13 11:29
dusty_dex17-Apr-13 11:29 

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.