CString is a class, not a plain old data (POD) type so it behaves differently. The MFC way to deal with this is serialization. All MFC classes...
What's the problem? Does the source file have a header? Include the header at the top of whatever source file you want to use it in (like the...
I certainly don't see anything there that looks out of place. Are there any warnings or anything else that might indicate some other problem?...
Are you actually adding an item to the list first? You can't set an item's text until there is an item in the list. Where is nItem coming from?...
From what you've shown here, I don't see any reason why it shouldn't work. Maybe you should show your real code?
What is it you want to know? You've been told in another thread that expressions of this sort: j=i++ + i++; are undefined and compiler...
My compiler (VS2008, debug,x86) implements it thus: main() { int i=3,j; j=i++ + i++; printf("%d %d",i,j); } 00063950 push ebp...
I think the problem is likely a UNICODE issue. With UNICODE enabled in your project, CStrings default to "wide" character strings. A "wide"...
First of all, you've got a whole list of externs near the top: extern user_t user_list; extern command_t command_list; extern config_t config;...
add: #include <string.h> //for Std C string functions
I'm assuming "latiutude" is type float, "strLstItem" is a CString, "objLstCtrl" is a CListCtrl, and UNICODE is off. Given that, you should be...
Oh, so your just wanting a variable parameter function? Something like this #include <stdio.h> #include <stdarg.h> #include <varargs.h>...
Well, as long as the functions are declared __cdecl, you should be safe just doing a static cast on the function pointer to use as many parameters...
No, there's no operator overloading in C so the functor concept will not be achievable. I don't know for sure what the problem is from your...
Hmmm. You may want to look int using a functor: http://en.wikipedia.org/wiki/Function_object
You'll have to be more specific. It is not at all clear what problem you are having.
Then instead of the printf() in the while loop, fill in an array: /* adjust for max expected conditions: */ fnamearr[10][50];...
I'm confused by the assignment directives, but I think they are getting at pointer dereferencing. ccPtr can point to any element in records....
Are all the fields (firstname, lastname, phonenumber) on a single line in the file? Are they separated by something (comma, space)? You may want...
I think maybe the libs provided by the book's website are compiled with a different version of glibc. If the source is available, try to compile...
Separate names with a comma.