No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Hello. I compiled a basic GUI example written with Qt. When I run with valgrind, it tells that there is memory leak. It is stranger, because at each time I run the app, the number of malloc calls are different. Qt seems nondeterministic. [CODE] #include <QApplication> #include <QPushButton> int main(int … | |
Hello, I want to know how to implement an authentication system. I know how to use HttpSession, but how will I ensure that an user cannot create false cookies to access protected area? Is it safe to keep the password as a session attribute? | |
Hello, I am new to web development. I have a page file1.jsp with a form, the submitted data is handled in file2.jsp, and I want to show the answer in the same page, file1.jsp. After the data be handled in file2.jsp, I want to reload file1.jsp and show the answer. … | |
If I want to throw an instance of a class, where should I alloc the exception object? Should I use heap: try{ throw new Exception("An error was found"); } catch(Exception* e){ std::cout << e->get_message() << "\n"; delete except; } or should not use heap: try{ throw Exception("An error was found"); … | |
Hello, I need a simple open source audio library that can be used to play music and sound effects for C/C++. The audio files that I use are mp3, midi and ogg. My operating systems are Windows XP and Linux (Ubuntu). I need that the library be able to play … | |
Hello. I have started to learn OpenGL in C/C++ and I want to use 2D graphics. My operating systems are Windows XP and Linux (Ubuntu). How do I load a image from a file and draw it on screen? My image files are png and jpg. Can I write a … | |
Hello I'm trying to make a window with Windows API. Whenever I run my application, the buttons look like Windows 98 buttons. How do I make the buttons look like XP buttons on Windows XP and Win7 buttons on Windows 7? My compiler is Mingw. [CODE]CreateWindowEx( 0, "BUTTON", "OK", WS_TABSTOP … |
The End.