Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralExtracting the IStream interface from CFile Pin
Anders Sandberg8-May-03 22:28
Anders Sandberg8-May-03 22:28 
GeneralRe: Extracting the IStream interface from CFile Pin
Anonymous8-May-03 23:17
Anonymous8-May-03 23:17 
GeneralRe: Extracting the IStream interface from CFile Pin
Mike Dimmick9-May-03 6:05
Mike Dimmick9-May-03 6:05 
GeneralRe: Extracting the IStream interface from CFile Pin
Anders Sandberg13-May-03 0:06
Anders Sandberg13-May-03 0:06 
GeneralPls Help.. CFtpFileFind Pin
2249178-May-03 20:27
2249178-May-03 20:27 
GeneralRe: Pls Help.. CFtpFileFind Pin
Mahesh Varma9-May-03 18:33
Mahesh Varma9-May-03 18:33 
GeneralRe: Pls Help.. CFtpFileFind Pin
22491722-Jan-04 1:12
22491722-Jan-04 1:12 
QuestionWhy use ???::??? Pin
alex.barylski8-May-03 20:21
alex.barylski8-May-03 20:21 
This is to prevent namespace collision???

I've encounter problems when deriving from an object and I wish to add some functionality to non-virtual functions I usually have done this:

class myClass{
  void MyMethod()
  {
    printf("Something more");
    CBase::MyMethod("Something");
  }
};


It's to my understanding this is a normal and acceptable practice???

I've started playing around with mysqlapi++ available at source forge (NOT mysql++ at mysql.com) and have seen the following code fragment and I must say it kinda confuses me.

mysqlcppapi::Connection con;
con.connect();
con.select_database("mysql_cpp_data");
		
mysqlcppapi::Query query = con.create_Query();


I've noticed mysql++ (www.mysql.com) uses STL extensively (which i'm not that familiar with and I assume mysqlapi++ does too) and I often see the preceeding code syntax when looking at STL code. At first glance, I thought...Connection() was a static member, but how would it create an object??? I was confused...then I thought about it a little...

maybe Connection was actually an class inside the namespace mysqlcppapi or something to that effect...

Anyways...i'm kinda puzzled about this all...so if you can tell me i'm right about my last thought or even fill me in a little...i would appreciate it...thanks

p.s-don't explain the code...i'm just lost on syntax

Cheers Smile | :)

"Two wrongs don't make a right, but three lefts do!" - Alex Barylski Smile | :)
AnswerRe: Why use ???::??? Pin
Joseph Dempsey9-May-03 1:12
Joseph Dempsey9-May-03 1:12 
AnswerRe: Why use ???::??? Pin
Mike Dimmick9-May-03 6:21
Mike Dimmick9-May-03 6:21 
GeneralSend mail with SMTP Pin
Mazdak8-May-03 19:27
Mazdak8-May-03 19:27 
GeneralRe: Send mail with SMTP Pin
markkuk9-May-03 0:40
markkuk9-May-03 0:40 
GeneralRe: Send mail with SMTP Pin
Mazdak9-May-03 4:48
Mazdak9-May-03 4:48 
GeneralRe: Send mail with SMTP Pin
Anders Molin9-May-03 1:21
professionalAnders Molin9-May-03 1:21 
GeneralRe: Send mail with SMTP Pin
Mazdak9-May-03 4:48
Mazdak9-May-03 4:48 
GeneralAbout using CopyFileEx( ) Pin
charisma_youn8-May-03 18:01
charisma_youn8-May-03 18:01 
GeneralRe: About using CopyFileEx( ) Pin
Neville Franks9-May-03 12:00
Neville Franks9-May-03 12:00 
GeneralINTERNAL COMPILER ERROR Pin
aguest8-May-03 15:29
aguest8-May-03 15:29 
GeneralRe: INTERNAL COMPILER ERROR Pin
Maxwell Chen8-May-03 16:39
Maxwell Chen8-May-03 16:39 
GeneralRe: INTERNAL COMPILER ERROR Pin
jhwurmbach9-May-03 2:05
jhwurmbach9-May-03 2:05 
GeneralRe: INTERNAL COMPILER ERROR Pin
Roger Allen9-May-03 2:20
Roger Allen9-May-03 2:20 
GeneralRe: INTERNAL COMPILER ERROR Pin
Erik Juhl9-May-03 5:25
Erik Juhl9-May-03 5:25 
QuestionCan a window Pin
RuchikaDhingra8-May-03 15:10
RuchikaDhingra8-May-03 15:10 
AnswerRe: Can a window Pin
John R. Shaw8-May-03 16:49
John R. Shaw8-May-03 16:49 
GeneralBackground thread Pin
basementman9-May-03 5:18
basementman9-May-03 5:18 

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.