User Profile
Collapse
-
Thanks Banfa, you were right. Problem was in wrong versing of QT installed. It was "open source version". I reinstalled to "Academic/research" and now everything works fine. -
There are no lib's in my installation. There only *.a and *.prl files. I am not sure if they can be somehow linked to VS?
-janLeave a comment:
-
Compiling QT program with VS6
Hi,
I've got problems when trying to compile simple hello world program in vs6 using
qt3.4.0.
it's code is:
#include <qapplication.h >
#include <qpushbutton. h>
int main( int argc, char **argv )
{
QApplication a( argc, argv );
QPushButton hello( "Hello world!", 0 );
hello.resize( 100, 30 );
hello.show();
... -
Hi, this is the code:
Code:#include <iostream> #include <string> #include <algorithm> #include <fstream> #include <windows.h> using namespace std; int t_sockets::GetWeb() { #define BUFSIZE 1000000 WORD wVersionRequested = MAKEWORD(1,1); WSADATA data; // library string text("GET
Leave a comment:
-
Hi,
you need to establish http connection using sockets, then send something like "GET /web/index.html HTTP/1.0\nhost: www.sapik.cz\n\ n" and get the html code in reply and parse. This won't work for php sites. Maybe I can write some example if this is what you need.
-jan-...Leave a comment:
-
-
-
Yes, let's make it simplier:
I have only this:
int sun = 1;
int mon = 2;
int tue = 3;
char* day = "mon"; .. this might be given by user input during run of program
I want to print something like:
cout<<"number of "<<day<< " is: "<< ? - what here - ?
-thanks-Leave a comment:
-
enum - get key from char value
Hello,
I have this type:
enum days{sun = 1, mon, tue, wed, thu, fri, sat};
and I have char in which is stored a name of the day:
char* day = "wed";
How can I recieve number of the day?
I tried something like:
int number = days(*day);
cout<<number;
but this won't work :(
thanks
No activity results to display
Show More
Leave a comment: