CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: deyili

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    2,564

    Re: Qt and QML Game Development

    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.
  2. Thread: C++

    by deyili
    Replies
    2
    Views
    606

    Re: C++

    you will get endless loop if the input isn't integer.
  3. Replies
    1
    Views
    428

    Re: Video-game Progamming project [help]

    add "cin.ignore(); " after "cin.clear();"
  4. Thread: Web forums

    by deyili
    Replies
    2
    Views
    1,282

    Re: Web forums

    good bye, Enjoy your trip home。
  5. Replies
    1
    Views
    604

    Re: problem with chess app

    I think C# is easier to start with.
  6. Replies
    1
    Views
    1,111

    Re: Urgent: C++ Webservice call

    If you are not using MFC or .NET, you should start from socket。
  7. Thread: So sad!

    by deyili
    Replies
    1
    Views
    602

    Re: So sad!

    what do you have in your driver ?
  8. Thread: ideas?

    by deyili
    Replies
    5
    Views
    732

    Re: ideas?

    It depends on what features will be put in this application.
  9. Replies
    9
    Views
    8,508

    Re: create a windowsform from an xml file..

    WPF(Silverlight) forms are represented with XAML, XAML is actually a kind of xml.
  10. Re: Searching an input .txt file for a key string

    you could put the line into a STL string, and call its member function "find()" .
  11. Replies
    7
    Views
    12,564

    Re: noob error: spawning entities from file.

    firstly:
    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];

    Secondly:
    as for the compiling error,...
  12. Thread: if(a == b == c)

    by deyili
    Replies
    28
    Views
    33,483

    Re: if(a == b == c)

    parentheses are free!
  13. Replies
    2
    Views
    6,101

    Re: Stuck with sockets/packets

    and if you want build a server, here is an example for you:
    1 #include "unp.h"

    2 int
    3 main(int argc, char **argv)
    4 {
    5 int listenfd, connfd;
    6 pid_t childpid;
    7 ...
  14. Replies
    2
    Views
    6,101

    Re: Stuck with sockets/packets

    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:

    package {
    import...
  15. Replies
    2
    Views
    550

    Re: Changing Wallpaper

    There is a system call for changing wallpaper? I don't know yet.
  16. Replies
    10
    Views
    2,400

    Re: global variable not part of namespace

    yes, you are right. but how do we do when global data sharing is inevitable ?
  17. Replies
    6
    Views
    7,051

    Re: Vector Iterators Incompatible

    vecvec[0].erase(it);
    break;
  18. Re: can i get compilation version to promote by one and use in code in c++

    if you are using Vc++, this may help you.
    http://support.microsoft.com/default.aspx?scid=kb;en-us;237870
  19. Re: can i get compilation version to promote by one and use in code in c++

    you can use _MFC_VER and _DEBUG

    examples:

    #if _MSC_VER < 1202
    //EVC 4.0 complier is cross 1200 - 1202
    #else if _MSC_VER >= 1400
    //Visual C++ 2005 complier is 1400
    ...
  20. Replies
    10
    Views
    2,400

    Re: global variable not part of namespace

    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.
  21. Replies
    4
    Views
    4,147

    Re: Operator [] Overloading

    template <typename T>
    class Row
    {
    public:
    const T& operator []( int i);
    //..........
    };


    template <typename T>
  22. Replies
    6
    Views
    1,029

    Re: new to c++, getting error

    you miss the line: using namespace std;
  23. Re: Getting error invalid use of incomplete type ‘struct

    It's better to split code into header and source files!
Results 1 to 23 of 23





Click Here to Expand Forum to Full Width

Featured