Search found 23 matches

by whoops
Thu Aug 13, 2015 4:41 am
Forum: C++ Development
Topic: * why wxT("%s", c_type_str) print nothing ?
Replies: 4
Views: 1007

* why wxT("%s", c_type_str) print nothing ?

i'm using wxPuts(wxString::Format(wxT("%s"), c_type_str)); to print c-type string, but it print nothing: #include <wx/wx.h> #include <iostream> int main() { wxInitializer wx; if( !wx.IsOk() ) return -1; unsigned char buffer[80] = "Guten Tag!"; // cout for debug print std::cout << buffer << "\n"; //...
by whoops
Wed Aug 12, 2015 9:22 am
Forum: C++ Development
Topic: *How to get the source code of a page?
Replies: 6
Views: 1216

Re: *How to get the source code of a page?

thanks so much :)
by whoops
Wed Aug 12, 2015 2:06 am
Forum: C++ Development
Topic: *How to get the source code of a page?
Replies: 6
Views: 1216

Re: *How to get the source code of a page?

do there have alternative ways to deal with the status "301 Moved Permanently" (redirect) ?
by whoops
Wed Aug 12, 2015 1:54 am
Forum: C++ Development
Topic: C++ and wxWidgets questions?
Replies: 3
Views: 835

Re: C++ and wxWidgets questions?

hi, LoneRanger, i'm using Microsoft Visual Studio C++ Express 2010 to build wxWidgets there are several ways to configure Microsoft Visual Studio C++ Express: 1) set the "Environment Varibles" set a new "System Varible", Name: wxMSW28x Value: C:\wx\wxWidgets2.8-MSVC (change it to yours) 2) save the...
by whoops
Tue Aug 11, 2015 1:56 pm
Forum: C++ Development
Topic: *How to get the source code of a page?
Replies: 6
Views: 1216

Re: *How to get the source code of a page?

Here is the test code, but it threw a runtime exception: #include <wx/wx.h> #include <wx/url.h> #define BUFSIZE 16384 int main(void) { wxURL url(wxT("http://www.w3.org/1999/xhtml")); if(url.IsOk()) { // in_stream threw a runtime exception :-( wxInputStream *in_stream = url.GetInputStream(); unsigne...
by whoops
Tue Aug 11, 2015 11:04 am
Forum: C++ Development
Topic: *How to get the source code of a page?
Replies: 6
Views: 1216

*How to get the source code of a page?

for example, i want to get the source code of http://www.w3.org/1999/xhtml/ here is the source code (in Opera, right-click the "View page source" or CTRL + U): <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="http://www.w3.org/StyleSheets/TR/base"?> <!DOCTYPE html PUBLI...
by whoops
Tue Jul 07, 2015 2:21 am
Forum: Open Discussion
Topic: >>> How wxWidgets pronounced?
Replies: 1
Views: 4318

>>> How wxWidgets pronounced?

is there exist a official pronunciation?

or how you pronounce wxWidgets?