Click here to Skip to main content
15,899,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dumb Question - Build Large CString Pin
Stefan_Lang28-Sep-11 1:40
Stefan_Lang28-Sep-11 1:40 
QuestionCalling a function using as your name the content a CString Pin
Samuel Nunes de Arruda27-Sep-11 9:02
Samuel Nunes de Arruda27-Sep-11 9:02 
AnswerRe: Calling a function using as your name the content a CString Pin
André Kraak27-Sep-11 9:12
André Kraak27-Sep-11 9:12 
GeneralRe: Calling a function using as your name the content a CString Pin
Albert Holguin27-Sep-11 9:33
professionalAlbert Holguin27-Sep-11 9:33 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda27-Sep-11 10:09
Samuel Nunes de Arruda27-Sep-11 10:09 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda27-Sep-11 10:09
Samuel Nunes de Arruda27-Sep-11 10:09 
AnswerRe: Calling a function using as your name the content a CString Pin
Maximilien27-Sep-11 9:13
Maximilien27-Sep-11 9:13 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda27-Sep-11 9:58
Samuel Nunes de Arruda27-Sep-11 9:58 
Thanks for you attention Maximilien.

Realy, today i do this ... but a have so many functions to call and the struct of IF is going to be bigger i was planned.

I want to create a text file and put inside then a struct of tasks as shown above:

1 - Text description of task 1
1.1 - Text description of task 2 (Below to task 1)
1.1.1 - Text description of task 3
2 - Text description of task 4
2.1 - Text description of task 5
2.1.2 - 1.1 (reused it and your childs, if there are)

It seems complex, but it isn't for my aplication and the objective is wish.

As you can see, with this method i can create complex tasks just manipulating the file. obviosly i pass and return data and parameters between the functions using files seems like .ini

the ideia It will be like this:

.h
void GPC_1_2{};


.cpp
--> I create a deque or table and put inside then all functions names found inside text file

--> I receive a command from entrace process to execute task "GPC_1_2"

--> now a want to get the memory address for "GPC_1_2"

--> Using the memory address, i want to start GPC_1_2 function



Ps: Sometime ago i saw, but not save, a code to find the memory address function. it was using just the name of function inside a string object.


Sorry for the poor english, it is not my native language. I'm Brazilian
AnswerRe: Calling a function using as your name the content a CString Pin
Chris Meech27-Sep-11 9:22
Chris Meech27-Sep-11 9:22 
GeneralRe: Calling a function using as your name the content a CString Pin
Chuck O'Toole27-Sep-11 10:13
Chuck O'Toole27-Sep-11 10:13 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda27-Sep-11 10:16
Samuel Nunes de Arruda27-Sep-11 10:16 
GeneralRe: Calling a function using as your name the content a CString Pin
Richard MacCutchan27-Sep-11 22:14
mveRichard MacCutchan27-Sep-11 22:14 
AnswerRe: Calling a function using as your name the content a CString Pin
TheGreatAndPowerfulOz28-Sep-11 9:05
TheGreatAndPowerfulOz28-Sep-11 9:05 
GeneralRe: Calling a function using as your name the content a CString Pin
Samuel Nunes de Arruda28-Sep-11 10:40
Samuel Nunes de Arruda28-Sep-11 10:40 
GeneralRe: Calling a function using as your name the content a CString Pin
TheGreatAndPowerfulOz28-Sep-11 11:04
TheGreatAndPowerfulOz28-Sep-11 11:04 
QuestionShow text after press a button Pin
antonio34327-Sep-11 8:29
antonio34327-Sep-11 8:29 
AnswerRe: Show text after press a button Pin
Albert Holguin27-Sep-11 9:20
professionalAlbert Holguin27-Sep-11 9:20 
GeneralRe: Show text after press a button Pin
antonio34327-Sep-11 12:04
antonio34327-Sep-11 12:04 
GeneralRe: Show text after press a button Pin
Albert Holguin28-Sep-11 3:57
professionalAlbert Holguin28-Sep-11 3:57 
GeneralRe: Show text after press a button Pin
antonio34328-Sep-11 6:13
antonio34328-Sep-11 6:13 
GeneralRe: Show text after press a button Pin
Albert Holguin28-Sep-11 7:10
professionalAlbert Holguin28-Sep-11 7:10 
Questionapriori algorithm Pin
salv0327-Sep-11 7:24
salv0327-Sep-11 7:24 
AnswerRe: apriori algorithm [modified] Pin
Chris Meech27-Sep-11 8:16
Chris Meech27-Sep-11 8:16 
GeneralRe: apriori algorithm [modified] Pin
salv0327-Sep-11 8:28
salv0327-Sep-11 8:28 
AnswerRe: apriori c++ algorithm Pin
Software_Developer27-Sep-11 19:59
Software_Developer27-Sep-11 19:59 

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.