- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
11 Posted Topics
Re: Did you compile Qt with OpenGL support? GL is OpenGL library (afaik). | |
Re: Override << and >> operators in ifstream/ofstream. | |
Re: You might want to take a look on my latest post about constructors: http://blog.panqnik.pl/dev/co-variant-and-virtual-constructor-in-c/ | |
Re: OpenSSL support large number as well, you might want to take a look on it. | |
Re: Are you able to code it yourself? However, what kind of help you are looking for? I highlt doubt, someone will write it for you for free (we are people of good will, but our time isnt limitless). | |
Re: Write a file in encrypted form, write a program which prompt about password at run, read encrypted file, decrypt it and fill your edit control. | |
Re: AFAIK, QRadioButton is derived from QAbstracButton, so it should have a signal 'clicked'. Make use of it :) http://qt-project.org/doc/qt-5.0/qtwidgets/qabstractbutton.html#clicked | |
Re: Here you go: #include <iostream> #include <queue> struct Person { const char* name; int age; }; int main() { std::queue<Person> pq; pq.push( Person { "John", 20} ); pq.push( Person { "Alice", 10} ); Person popped = pq.front(); std::cout << "I am " << popped.name; return 0; } | |
Re: Creating objects dyamically (on the free store) is the 'situation', where you must take care of used resource (in this case, memory). You might want to read about 'rule of three' and 'rule of five' :) | |
Re: You might also do like this: int foo1() { return 2; } int foo2() { return 2; } bool areEqual() { return foo1() == foo2(); } It's worth to mention sequence points in C++, luckily it was on of my latest post on my blog: http://blog.panqnik.pl/dev/sequence-points-in-c-cpp/ | |
|
The End.