Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Search Algorithms - for a Range Pin
Joaquín M López Muñoz1-Jun-03 19:45
Joaquín M López Muñoz1-Jun-03 19:45 
GeneralRe: Search Algorithms - for a Range Pin
peterchen1-Jun-03 20:39
peterchen1-Jun-03 20:39 
GeneralAudio Pin
Ken Mazaika1-Jun-03 7:03
Ken Mazaika1-Jun-03 7:03 
GeneralRe: Audio Pin
IceMatrix1-Jun-03 10:10
IceMatrix1-Jun-03 10:10 
Questionhow to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 5:58
siong1-Jun-03 5:58 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
John M. Drescher1-Jun-03 7:21
John M. Drescher1-Jun-03 7:21 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 8:53
siong1-Jun-03 8:53 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous1-Jun-03 9:08
Anonymous1-Jun-03 9:08 
Hi,
hope i've understood you right.


char sql[4000];
connection=mysql_real_connect(connection, host, user, passwd, db, 0, NULL, 0)

//add ist with insert into table values
sprintf(sql,"INSERT INTO %s VALUES (23 37 'test')",table); //e.g. i don't know your database
//modify ist with UPDATE and delete ist with DELETE FROM look api

mysql_query(connection, sql)
mysql_close(connection);


hope this helps
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 16:36
siong1-Jun-03 16:36 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous2-Jun-03 1:02
Anonymous2-Jun-03 1:02 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong2-Jun-03 3:01
siong2-Jun-03 3:01 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous2-Jun-03 4:46
Anonymous2-Jun-03 4:46 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong2-Jun-03 7:16
siong2-Jun-03 7:16 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous2-Jun-03 7:44
Anonymous2-Jun-03 7:44 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong2-Jun-03 8:08
siong2-Jun-03 8:08 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous2-Jun-03 9:21
Anonymous2-Jun-03 9:21 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong2-Jun-03 17:16
siong2-Jun-03 17:16 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous3-Jun-03 4:49
Anonymous3-Jun-03 4:49 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong here3-Jun-03 5:10
susssiong here3-Jun-03 5:10 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous3-Jun-03 6:14
Anonymous3-Jun-03 6:14 
Generalwhy "CStatusBar GetStatusBar(){ return m_wndStatusBar; }" cause problem Pin
yccheok1-Jun-03 5:27
yccheok1-Jun-03 5:27 
GeneralRe: why "CStatusBar GetStatusBar(){ return m_wndStatusBar; }" cause problem Pin
Dominik Reichl1-Jun-03 9:32
Dominik Reichl1-Jun-03 9:32 
Generalcompilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
yccheok1-Jun-03 5:25
yccheok1-Jun-03 5:25 
GeneralRe: compilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
Ken Mazaika1-Jun-03 7:11
Ken Mazaika1-Jun-03 7:11 
GeneralRe: compilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
Dominik Reichl1-Jun-03 9:35
Dominik Reichl1-Jun-03 9:35 

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.