devxlogo

September 20, 1999

Returning a Pointer to a Member Function

Question: Let’s say I have a class foo, with a lot of functions that take no arguments and return SomeType: SomeType foo::bar()SomeType foo::quux()SomeType foo::quuux()SomeType foo::quuuux() Now I have a pointer

Record Retrieveal Using fscanf

Question: If three records have been written to a text file(each record having 3 int fields) and each integer field is seperated by a comma, how do you retrieve only