Search found 340 matches
- Sat Jun 06, 2009 1:17 pm
- Forum: C++ Development
- Topic: How to print Unicode(wchar) characters to console
- Replies: 5
- Views: 3259
[/quote] No it isn't. The only way is to use cout from the c++ standard library. But it is c++ integrated, and you can use it from everywhere by using std:: so I don't know where is the problem.[/quote] I do know no problem using std in general.I rememberd in the wx Doc or somewhere I read that impo...
- Fri Jun 05, 2009 9:50 am
- Forum: C++ Development
- Topic: How to print Unicode(wchar) characters to console
- Replies: 5
- Views: 3259
- Fri Jun 05, 2009 2:12 am
- Forum: C++ Development
- Topic: How to print Unicode(wchar) characters to console
- Replies: 5
- Views: 3259
How to print Unicode(wchar) characters to console
Hello eveyone! A simple question again but it is still hard to me.Try to print a welcome msg to console,using both wxPuts and wxPrintf to print an unicode string,say Chinese characters just faied.Nothing printed: wxWidget2.9.1 Unicode build under Windows XP: #include <wx/wx.h> void main() { wxPuts(w...
- Fri Jun 05, 2009 1:40 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxPuts输入文字到控制台
- Replies: 6
- Views: 6288
Re: wxPuts输入文字到控制台
我也有遇到过同样的问题,好象是不能显示中文。kabuka wrote:初学wxWidgets,有很多不明白的东西.
#include <wx/string.h>
#include "wx/wx.h"
int main()
{
wxPuts(wxT("这是一个控制台程序"));
system("pause");
return 0;
};
这一段程序本意是想将"这是一个控制台程序"一行文字在控制台输出,却没有实现,不知道问题出在哪儿
- Thu Jun 04, 2009 9:54 am
- Forum: wxWidgets Development (Chinese)
- Topic: 开源数据库
- Replies: 12
- Views: 7684
- Tue Jun 02, 2009 12:50 am
- Forum: Database Related
- Topic: wxSqlite3 issue
- Replies: 11
- Views: 5742
Re: wxSqlite3 issue
In my pc wxDev-cpp contains wxWidgets2.8.9 ,I tried to compile the sample this time use wxDev-cpp +mingw3.4.5: This shouldn't be a problem. wxSQLite3 is known to work with wxWidgets 2.8.x. ] Thank you again for all your help.I have tried my best but still failed.I think maybe this is an issue of mu...
- Sun May 31, 2009 1:31 am
- Forum: Database Related
- Topic: wxSqlite3 issue
- Replies: 11
- Views: 5742
Re: wxSqlite3 issue
Read the another thread mentioned that wxSqlite was built on wxWidgets2.8.9. In my pc wxDev-cpp contains wxWidgets2.8.9 ,I tried to compile the sample this time use wxDev-cpp +mingw3.4.5: Compiler: Default GCC compiler Building Makefile: "F:\CodeBlocksProject\samples\Makefile.win" Executin...
- Sat May 30, 2009 1:10 pm
- Forum: wxCode
- Topic: Next DatabaseLayer release
- Replies: 22
- Views: 13936
- Sat May 30, 2009 1:06 pm
- Forum: Database Related
- Topic: wxSqlite3 issue
- Replies: 11
- Views: 5742
Re: wxSqlite3 issue
Thank you so much for all your help!! Move here--- Please do not cross-post. Yes,Sir! How to set up a workable wxSqlite lib and all needed stuffs to get started with wx+database programming? My wxSQLite3 distribution contains several build files for different platforms and compilers. And even if thi...
- Sat May 30, 2009 11:07 am
- Forum: wxCode
- Topic: Next DatabaseLayer release
- Replies: 22
- Views: 13936
- Sat May 30, 2009 10:57 am
- Forum: Database Related
- Topic: wxSqlite3 issue
- Replies: 11
- Views: 5742
wxSqlite3 issue
Move here--- Hello Sirs and Madams, How to set up a workable wxSqlite lib and all needed stuffs to get started with wx+database programming? I am sorry for asking such a silly question.I notice ppl here using wxSqlite and it seems it is so simple to install or compile.But to me it is so difficult to...
- Sat May 30, 2009 5:29 am
- Forum: C++ Development
- Topic: wxDatabase Library Issue
- Replies: 0
- Views: 430
wxDatabase Library Issue
Hello Sirs and Madams, How to set up a workable wxSqlite lib and all needed stuffs to get started with wx+database programming? I am sorry for asking such a silly question.I notice ppl here using wxSqlite and it seems it is so simple to install or compile.But to me it is so difficult to get it done....
- Sat May 30, 2009 2:59 am
- Forum: wxWidgets Development (Chinese)
- Topic: 开源数据库
- Replies: 12
- Views: 7684
轻小的可以使用wxSQLite3访问SQLite。非常好。 MySQL也非常好。 两者均开源免费。 -Utensil 俺想请问一下wxSqlite从哪里获取?俺有wxCode 的 wxSqlite,但是试了多次都无法编译.俺是用mingw345,makefile.gcc编译,为了简单,俺将WXCODE包里的WXSQLITE3和SQLITE3所有的LIB\.H\.CPP\.DEF等等全都放在一个文件夹(E:\TEST),然后在各个文件里把INCLUDE 路径做了相应改动)是不是方法不对? 版本:WX2.9+MINGW3.4.5+CB+WXSQLITE3_1.9.5 麻烦指点一下行吗?有什么需要...
- Wed Jan 21, 2009 12:59 am
- Forum: wxWidgets Development (Chinese)
- Topic: Windows 下如何用ENTER键代TAB键在窗体控件之间
- Replies: 1
- Views: 2131
Windows 下如何用ENTER键代TAB键在窗体控件之间
各位大哥早上好!
如题,窗体控件之间的焦点切换,默认是TAB键,如何改用ENTER键实现相同的功能,请指教,谢谢啊
如题,窗体控件之间的焦点切换,默认是TAB键,如何改用ENTER键实现相同的功能,请指教,谢谢啊
- Wed Dec 31, 2008 5:38 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxWidgets自带例程如何学习
- Replies: 11
- Views: 6291