Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error LNK2005 Pin
Sauce!16-Sep-08 5:12
Sauce!16-Sep-08 5:12 
GeneralRe: error LNK2005 Pin
Cedric Moonen16-Sep-08 7:19
Cedric Moonen16-Sep-08 7:19 
GeneralRe: error LNK2005 Pin
Sauce!17-Sep-08 1:13
Sauce!17-Sep-08 1:13 
QuestionHi to all Pin
susanne116-Sep-08 2:44
susanne116-Sep-08 2:44 
AnswerRe: Hi to all Pin
CPallini16-Sep-08 2:52
mveCPallini16-Sep-08 2:52 
QuestionCreating an *.exe by own application? Pin
Member 19182916-Sep-08 1:38
Member 19182916-Sep-08 1:38 
AnswerRe: Creating an *.exe by own application? Pin
Iain Clarke, Warrior Programmer16-Sep-08 1:55
Iain Clarke, Warrior Programmer16-Sep-08 1:55 
AnswerRe: Creating an *.exe by own application? Pin
Matthew Faithfull16-Sep-08 1:56
Matthew Faithfull16-Sep-08 1:56 
To create an executable you need a set of tools, traditionally (for C based languages) a compiler to turn your chosen language into the machine language or assembly language of the target, a linker to link together compilation modules and possibly an assembler to turn the targets assembly language into its machine language. All of these can be written using C++ (and MFC although it won't be that much use outside the GUI). In fact MSVC is written using the previous version of MSVC. To write a compiler from scratch you're going to need to know a lot of things, LALR1 grammar/parser theory to start with and potentially a lot of arcane stuff about branch prediction and tree based optimisation. If you're up for all this you could start with Yac & Lex ( or Bison & Flex on Windows ) as example code for generating a language parser. You could download and examine the sources of projects like GCC ( GNU Compiler Collection ) and doxygen ( a C++ etc documentation engine ). Many people have trodden this path before you so there's a lot of rubble to examine. Most either end up writing their own assembler, developing a scripting language Perl, Python, etc, etc or much for usually just use an existing tool to achieve your specification. You could for example adapt one of the GCC compilers to your own use/lanaguage and build it into your product ( You'll have to contribute your changes back to the community of course Smile | :) )

"The secret of happiness is freedom, and the secret of freedom, courage."
Thucydides (B.C. 460-400)

AnswerRe: Creating an *.exe by own application? Pin
Rajesh R Subramanian16-Sep-08 2:41
professionalRajesh R Subramanian16-Sep-08 2:41 
QuestionRe: Creating an *.exe by own application? Pin
David Crow16-Sep-08 3:48
David Crow16-Sep-08 3:48 
AnswerRe: Creating an *.exe by own application? Pin
Member 19182916-Sep-08 3:56
Member 19182916-Sep-08 3:56 
GeneralRe: Creating an *.exe by own application? Pin
Matthew Faithfull16-Sep-08 4:07
Matthew Faithfull16-Sep-08 4:07 
QuestionCListCtrl Control Window Message Problem [modified] Pin
Dhiraj kumar Saini16-Sep-08 1:33
Dhiraj kumar Saini16-Sep-08 1:33 
AnswerRe: CListCtrl Control Window Message Problem Pin
David Crow16-Sep-08 3:50
David Crow16-Sep-08 3:50 
GeneralRe: CListCtrl Control Window Message Problem Pin
Dhiraj kumar Saini17-Sep-08 1:09
Dhiraj kumar Saini17-Sep-08 1:09 
QuestionHow to sort a CArray with minimum effort Pin
Iain Clarke, Warrior Programmer16-Sep-08 0:44
Iain Clarke, Warrior Programmer16-Sep-08 0:44 
AnswerRe: How to sort a CArray with minimum effort Pin
jhwurmbach16-Sep-08 1:01
jhwurmbach16-Sep-08 1:01 
GeneralRe: How to sort a CArray with minimum effort Pin
Iain Clarke, Warrior Programmer16-Sep-08 1:17
Iain Clarke, Warrior Programmer16-Sep-08 1:17 
GeneralRe: How to sort a CArray with minimum effort Pin
jhwurmbach16-Sep-08 1:20
jhwurmbach16-Sep-08 1:20 
AnswerRe: How to sort a CArray with minimum effort - Cured! Pin
Iain Clarke, Warrior Programmer16-Sep-08 1:51
Iain Clarke, Warrior Programmer16-Sep-08 1:51 
GeneralRe: How to sort a CArray with minimum effort - Cured! Pin
jhwurmbach16-Sep-08 1:54
jhwurmbach16-Sep-08 1:54 
AnswerRe: How to sort a CArray with minimum effort Pin
Cedric Moonen16-Sep-08 1:05
Cedric Moonen16-Sep-08 1:05 
GeneralRe: How to sort a CArray with minimum effort Pin
Iain Clarke, Warrior Programmer16-Sep-08 1:20
Iain Clarke, Warrior Programmer16-Sep-08 1:20 
AnswerRe: How to sort a CArray with minimum effort Pin
Sarath C16-Sep-08 1:08
Sarath C16-Sep-08 1:08 
GeneralRe: How to sort a CArray with minimum effort Pin
Iain Clarke, Warrior Programmer16-Sep-08 1:22
Iain Clarke, Warrior Programmer16-Sep-08 1:22 

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.