Type: Posts; User: deyili
Search took 0.02 seconds.
Qt is a powerful framework, you can develop whatever you want with it.
As Qt isn't designed for games, so It's not so productive as some game frameworks, such as XNA of microsoft.
June 21st, 2011, 02:00 AM
you will get endless loop if the input isn't integer.
June 21st, 2011, 12:08 AM
add "cin.ignore(); " after "cin.clear();"
June 20th, 2011, 11:34 PM
good bye, Enjoy your trip home。
June 20th, 2011, 11:28 PM
I think C# is easier to start with.
June 20th, 2011, 11:23 PM
If you are not using MFC or .NET, you should start from socket。
June 20th, 2011, 11:19 PM
what do you have in your driver ?
June 17th, 2011, 03:18 AM
It depends on what features will be put in this application.
June 17th, 2011, 03:15 AM
WPF(Silverlight) forms are represented with XAML, XAML is actually a kind of xml.
June 16th, 2011, 09:30 PM
you could put the line into a STL string, and call its member function "find()" .
June 16th, 2011, 04:50 AM
obj_array = new CEntity[map_size];
you store object in array instead of point, so pls change into this:
obj_array = new CEntity*[map_size];
as for the compiling error,...
June 15th, 2011, 11:19 PM
June 15th, 2011, 10:43 PM
and if you want build a server, here is an example for you:
1 #include "unp.h"
3 main(int argc, char **argv)
5 int listenfd, connfd;
6 pid_t childpid;
June 15th, 2011, 10:37 PM
As far as i know, Actionscript of flash has some built-in class for socket programming.
such as class "Socket" in namespace "flash.net.Socket", here is an example:
June 14th, 2011, 11:18 PM
There is a system call for changing wallpaper? I don't know yet.
June 14th, 2011, 05:49 AM
yes, you are right. but how do we do when global data sharing is inevitable ?
June 14th, 2011, 05:45 AM
June 14th, 2011, 02:32 AM
if you are using Vc++, this may help you.
June 14th, 2011, 01:49 AM
you can use _MFC_VER and _DEBUG
#if _MSC_VER < 1202
//EVC 4.0 complier is cross 1200 - 1202
#else if _MSC_VER >= 1400
//Visual C++ 2005 complier is 1400
June 13th, 2011, 11:17 PM
add "extern classobject *var1;" in file2.cpp will be ok.
using global variables in cpp is a very bad behavior!!
you should use the singleton pattern instead.
June 13th, 2011, 11:08 PM
template <typename T>
const T& operator ( int i);
template <typename T>
December 21st, 2010, 03:30 AM
you miss the line: using namespace std;
December 21st, 2010, 03:17 AM
It's better to split code into header and source files!
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.