Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Setting The Microphone Recording Volume Pin
ThatsAlok1-Oct-04 20:24
ThatsAlok1-Oct-04 20:24 
GeneralOne time password generated Pin
Rajesh_K_Sharma1-Oct-04 0:29
Rajesh_K_Sharma1-Oct-04 0:29 
GeneralRe: One time password generated Pin
4apai1-Oct-04 1:23
4apai1-Oct-04 1:23 
GeneralControl Enabled or Not Pin
Imtiaz Murtaza1-Oct-04 0:10
Imtiaz Murtaza1-Oct-04 0:10 
GeneralRe: Control Enabled or Not Pin
Mike Beckerleg1-Oct-04 0:20
Mike Beckerleg1-Oct-04 0:20 
GeneralCatch 'kill interrupt' Pin
Abebe1-Oct-04 0:03
Abebe1-Oct-04 0:03 
GeneralPassing struct in a "INSERT INTO..." Statement Pin
filo6530-Sep-04 23:56
filo6530-Sep-04 23:56 
GeneralRe: Passing struct in a "INSERT INTO..." Statement Pin
4apai1-Oct-04 0:22
4apai1-Oct-04 0:22 
You can implement global function that gets yuor struct as argument format your data and return string

LPSTR FormatStruct(abc a_abc) {
...
}


an then:
s.Format("INSERT INTO myTable () VALUES (%s);", FormatStruct(l_abc));

or you can implement this functiona as a struct method
struct abc {
...
LPSTR FormatStruct() {
...
}
...
}
s.Format("INSERT INTO myTable () VALUES (%s);", l_abc.FormatStruct());
Complex operator=( Complex &other );
or overwrite operator = in struct to return string...

WTF u want...


4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
GeneralRe: Passing struct in a "INSERT INTO..." Statement Pin
Tim Smith1-Oct-04 3:52
Tim Smith1-Oct-04 3:52 
GeneralGDI problem Pin
pdtrung30-Sep-04 22:33
pdtrung30-Sep-04 22:33 
GeneralRe: GDI problem Pin
Iain Clarke, Warrior Programmer1-Oct-04 0:09
Iain Clarke, Warrior Programmer1-Oct-04 0:09 
GeneralGDI problem...:doh: Pin
pdtrung30-Sep-04 22:25
pdtrung30-Sep-04 22:25 
Generalmemory error Pin
Jayadev MV30-Sep-04 22:25
Jayadev MV30-Sep-04 22:25 
GeneralRe: memory error Pin
4apai30-Sep-04 23:22
4apai30-Sep-04 23:22 
GeneralLogging Pin
Jerome Conus30-Sep-04 22:24
Jerome Conus30-Sep-04 22:24 
GeneralRe: Logging Pin
4apai30-Sep-04 23:36
4apai30-Sep-04 23:36 
GeneralRe: Logging Pin
David Crow1-Oct-04 3:03
David Crow1-Oct-04 3:03 
GeneralRe: Logging Pin
Neville Franks1-Oct-04 12:19
Neville Franks1-Oct-04 12:19 
QuestionDialog? Pin
Larsson30-Sep-04 21:29
Larsson30-Sep-04 21:29 
AnswerRe: Dialog? Pin
jtorjo30-Sep-04 22:05
jtorjo30-Sep-04 22:05 
GeneralRe: Dialog? Pin
Larsson30-Sep-04 22:07
Larsson30-Sep-04 22:07 
GeneralRe: Dialog? Pin
BlackDice1-Oct-04 3:46
BlackDice1-Oct-04 3:46 
GeneralRe: Dialog? Pin
jtorjo4-Oct-04 22:31
jtorjo4-Oct-04 22:31 
GeneralCreateFile for reading/writing file Pin
Paolo Ponzano30-Sep-04 21:09
Paolo Ponzano30-Sep-04 21:09 
GeneralRe: CreateFile for reading/writing file Pin
4apai30-Sep-04 21:31
4apai30-Sep-04 21:31 

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.