Click here to Skip to main content
15,898,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Connect to MySQL from MFC Dlg Pin
QuickDeveloper19-Dec-07 19:07
QuickDeveloper19-Dec-07 19:07 
GeneralRe: Connect to MySQL from MFC Dlg Pin
David Crow20-Dec-07 2:23
David Crow20-Dec-07 2:23 
Generalread/write functions with dots as the last parameter Pin
Anthony Appleyard18-Dec-07 23:49
Anthony Appleyard18-Dec-07 23:49 
GeneralRe: read/write functions with dots as the last parameter Pin
CPallini19-Dec-07 0:09
mveCPallini19-Dec-07 0:09 
QuestionRe: read/write functions with dots as the last parameter Pin
David Crow19-Dec-07 2:43
David Crow19-Dec-07 2:43 
QuestionHow to get the choosed menu's caputer? Pin
vernchen18-Dec-07 23:09
vernchen18-Dec-07 23:09 
GeneralRe: How to get the choosed menu's caputer? Pin
David Crow19-Dec-07 2:53
David Crow19-Dec-07 2:53 
GeneralReturn more than one parameter from a single function Pin
CodingLover18-Dec-07 22:48
CodingLover18-Dec-07 22:48 
Hi all,

I have a function that calculated two int values. I call the function only by using a string and calculated those two int values. I want to return that two int values from the function when I call it with a string.

Look at the following function,

bool CharWordCount(string rtf, int& word_count, int& char_count)
{
// Body of the function
// do the processing and find the number of chars and
// number of words of the string
}
<pre>

One of my friend say i can do it as above. using the bool type return value. Can you guys give me a help how to do that.

I appreciate your help all the time...
Eranga Smile | :)

GeneralRe: Return more than one parameter from a single function Pin
jhwurmbach18-Dec-07 23:18
jhwurmbach18-Dec-07 23:18 
QuestionRe: Return more than one parameter from a single function Pin
CodingLover18-Dec-07 23:26
CodingLover18-Dec-07 23:26 
GeneralRe: Return more than one parameter from a single function Pin
jhwurmbach18-Dec-07 23:30
jhwurmbach18-Dec-07 23:30 
GeneralRe: Return more than one parameter from a single function Pin
Nelek18-Dec-07 23:31
protectorNelek18-Dec-07 23:31 
GeneralRe: Return more than one parameter from a single function Pin
CPallini18-Dec-07 23:56
mveCPallini18-Dec-07 23:56 
GeneralRe: Return more than one parameter from a single function Pin
CodingLover19-Dec-07 0:16
CodingLover19-Dec-07 0:16 
GeneralRe: Return more than one parameter from a single function Pin
Nelek18-Dec-07 23:28
protectorNelek18-Dec-07 23:28 
GeneralRe: Return more than one parameter from a single function Pin
CodingLover18-Dec-07 23:43
CodingLover18-Dec-07 23:43 
GeneralRe: Return more than one parameter from a single function Pin
Nelek19-Dec-07 0:24
protectorNelek19-Dec-07 0:24 
QuestionRe: Return more than one parameter from a single function Pin
Hamid_RT19-Dec-07 1:33
Hamid_RT19-Dec-07 1:33 
GeneralRe: Return more than one parameter from a single function Pin
CPallini19-Dec-07 2:17
mveCPallini19-Dec-07 2:17 
GeneralRe: Return more than one parameter from a single function Pin
David Crow19-Dec-07 3:00
David Crow19-Dec-07 3:00 
Questionvc++ to actionscript Pin
aravindakumar18-Dec-07 22:31
aravindakumar18-Dec-07 22:31 
QuestionRe: vc++ to actionscript Pin
Nelek18-Dec-07 22:39
protectorNelek18-Dec-07 22:39 
GeneralRe: vc++ to actionscript Pin
aravindakumar18-Dec-07 23:04
aravindakumar18-Dec-07 23:04 
GeneralRe: vc++ to actionscript Pin
Nelek18-Dec-07 23:10
protectorNelek18-Dec-07 23:10 
GeneralRe: vc++ to actionscript Pin
aravindakumar18-Dec-07 23:08
aravindakumar18-Dec-07 23:08 

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.