Search found 26 matches
- Tue Dec 05, 2006 9:02 am
- Forum: Open Discussion
- Topic: Java vs C++ benchmarks
- Replies: 32
- Views: 8476
- Tue Nov 28, 2006 6:15 am
- Forum: C++ Development
- Topic: C / C++ conversion and static linkage
- Replies: 6
- Views: 1562
there must be an error, as far as I understand, since there are 4 arguments in the prototype, and 5 in the calling line. No, it isn't, since the prototype has nothing to do with the actual call here. Here, the function "sqlite3_exec" is called, which has its prototype declared in sqlite3.h, not in ...
- Mon Nov 27, 2006 9:18 pm
- Forum: C++ Development
- Topic: C / C++ conversion and static linkage
- Replies: 6
- Views: 1562
Well, the first thing defines a function named "callback" with a return type of int. The "static" in this case means that it is module-local, or only visible in this particular object file (it can neither be used from other object files, nor declared "extern" in any header). void* NotUsed is a param...
- Mon Nov 27, 2006 11:26 am
- Forum: C++ Development
- Topic: wxDatabaseLayer
- Replies: 5
- Views: 1007
The repository is wxcode.sourceforge.net, here is a direct links to the files:
https://sourceforge.net/project/showfil ... e_id=45182
https://sourceforge.net/project/showfil ... e_id=45182
- Fri Nov 17, 2006 9:10 am
- Forum: C++ Development
- Topic: std::cout redirect causes crash under windows
- Replies: 6
- Views: 1720
You should not set wxSTD_USE_IOSTREAM manually. You have to configure wxWidgets (before compilation) to use iostreams so wxWidgets sets wxSTD_USE_IOSTREAM itself. If you define wxSTD_USE_IOSTREAM for your application, but not when compiling wxWidgets, your application "assumes" that the iostreams me...
- Thu Nov 16, 2006 4:31 pm
- Forum: C++ Development
- Topic: Is there anyone interested in founding a tool like Eclipse?
- Replies: 5
- Views: 828
- Thu Nov 16, 2006 10:20 am
- Forum: C++ Development
- Topic: No special chars under Windows
- Replies: 13
- Views: 1458
Usually Linux/UNIX applications should honor the LANG setting. Try before starting emacs (and if that works, set it globally in for example /etc/profile)
Code: Select all
export [email protected]
- Wed Nov 15, 2006 9:21 pm
- Forum: General Development
- Topic: Some C++ questions
- Replies: 11
- Views: 1647
Since I didn't find this one answered yet: MyStruct *a = new MyStruct(); void *p = (void *) a; delete p; Will this free the correct amount of memory? Yes, this will free the correct amount of memory (at least on most implementations I know, not sure if this is even standards-conformant), BUT the des...
- Wed Nov 15, 2006 12:40 pm
- Forum: C++ Development
- Topic: wxMenuItem::SetBitmap[s] after wxMenu::Append - no effect
- Replies: 2
- Views: 993
- Wed Nov 15, 2006 12:24 pm
- Forum: C++ Development
- Topic: No special chars under Windows
- Replies: 13
- Views: 1458
I guess one of your wxWidget libraries is a unicode build and one isn't. You should make sure that both are configured equally (--enable-unicode or --disable-unicode). And you could check if there are any character set conversions when transferring the source files (e.g. via FTP). If you don't want ...
- Tue Nov 14, 2006 2:21 pm
- Forum: C++ Development
- Topic: wxMenuItem::SetBitmap[s] after wxMenu::Append - no effect
- Replies: 2
- Views: 993
wxMenuItem::SetBitmap[s] after wxMenu::Append - no effect
Hello everyone, I am trying to add a bitmap to some menu items after the menu has been built, which doesn't seem to have any effect. That means the item just doesn't show any image next to it. This happens with wxMSW and wxGTK. The reason I'm doing this is because we use wxFormBuilder to generate C+...