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

Search:

Type: Posts; User: dullboy

Page 1 of 59 1 2 3 4

Search: Search took 0.06 seconds.

  1. A question regarding forward slash and back slash

    As we know in unix/linux, forward slash is always used for directory and in windows back slash is used for directory instead. On the other hand, I noticed that forward slash can be also used for...
  2. Replies
    5
    Views
    6,292

    Re: Help with a project under linux

    Thanks so much for your reply. Actually I tried to run configure under linux but I got some error messages. I copy the results after I run ./configure in my project folder in the following,

    ...
  3. Replies
    5
    Views
    6,292

    Re: Help with a project under linux

    I am using g++ under linux. Do you know how to compile the whole project I attached into an executable? Thanks for your inputs.
  4. Replies
    5
    Views
    6,292

    Help with a project under linux

    I am pretty new to linux. I don't know how to compile a project. I attach the project zip file. Does any guru here give me some hints how to compile it under linux? Thank you very much!
  5. Replies
    8
    Views
    690

    Re: A strange problem related to def file.

    Actually I did rebuild the dll but it failed. My class is defined in a MFC extension dll and is exported by using AFX_EXT_CLASS. Thanks.
  6. Replies
    8
    Views
    690

    Re: A strange problem related to def file.

    It works! Thank you very much! But I had to remove the entry for XXXXFunction in def file first in order to build the project successfully. I couldn't figure out why removing this entry make build...
  7. Replies
    8
    Views
    690

    A strange problem related to def file.

    I got a linker error "error LNK2001: unresolved external symbol "public: virtual int __thiscall XXXClass::XXXXFunction(class CWnd *,struct IMyStruct * const)"...
  8. OnClick for list control doesn't work first time

    When I click within a list control, suppose there is an event OnClick fired. In my program, I catch OnClick event by processing the message NM_Click, i.e. ,


    ON_NOTIFY_REFLECT_EX(NM_CLICK,...
  9. IEShowSaveFileDialog doesn't work under win7?

    This is from MSDN ---- "The IEShowSaveFileDialog function works within these restructions by using a medium integrity broker process (IEUser.exe) to call the Windows Common Dialog library". But under...
  10. Replies
    0
    Views
    991

    Regarding NSIS scripting

    I am not sure whether this is right forum for installer scripting. I am new to NSIS scripting. I wonder if anybody here can recommend an online resource or a book about NSIS scripting? Thanks for...
  11. A question regarding HKEY_LOCAL_MACHINE and HEKY_CLASSES_ROOT?

    A class id of a COM dll may be created under HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID or may be created under HKEY_CLASSES_ROOT\CLSID in registry. Is there any difference between them? In order to...
  12. Re: Any guru here can explain algorithm for Sudoku?

    Thanks for your response. Actually I almost finished the program. I have a question here. Suppose I try to fill in a completely empty board. First of all, I pick up 9 numbers randomly for the first...
  13. Re: Any guru here can explain algorithm for Sudoku?

    Thanks for your great response. I have several questions regarding your generator. When you have a fully filled sudoku, you hide all the fields and then re-open some of them. How many fields are you...
  14. How to find out why a program is running so slow?

    I have a program running really slow. I found that actually a function takes long time. But by debugging I don't know how to identify which piece of code within this function causes such slowness....
  15. Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    I know WM_KEYDOWN will catch VK_DELETE for sure but I am just curious if it is possible to catch in WM_CHAR. Thanks for your inputs.
  16. Re: Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    What do you mean? Could you explain it more? Thanks for your inputs.
  17. Is it possible to catch VK_DELETE when procsessing WM_CHAR?

    As we know, usually VK_DELETE will be caught when processing WM_KEYDOWN. Is there any way to catch VK_DELETE when processing WM_CHAR? Thanks for your inputs.
  18. Re: Any guru here can explain algorithm for Sudoku?

    I have created a Sudoku generator. But my generator can at least leave 30 numbers on board. So I guess I need to strength my algorithm in order to improve its difficulty level. Can we discuss how to...
  19. Replies
    8
    Views
    834

    Re: Help with generating random number

    That is a good example. How does p_myrandom work in the example? It looks like p_myrandom is a function pointer applied to each element of the vector. But how'd I understand i in the definition of...
  20. Replies
    8
    Views
    834

    Re: Help with generating random number

    Thanks for your inputs. I guess you meant random_shuffle. But random_shuffle generates the same result every time. I wonder if it is possible to generate different result every time by using...
  21. Replies
    8
    Views
    834

    Help with generating random number

    If I want to generate 10 random numbers ranging from 0 to 9, is it possible to have 10 different numbers every time? For example, every time they should be like this, 1,3,4,9,0,2,8,7,5,6 without...
  22. Re: Any guru here can explain algorithm for Sudoku?

    Can you explain the algorithm for sudoku generator based on a solved sudoku? I know we can also use back track but don't know how? Thanks for your inputs.
  23. Re: Any guru here can explain algorithm for Sudoku?

    Thanks for your response. I like to start from Solver algorithm first, which means the board is totally empty when I start. I tried brute force by hand and I think it would be very slow. For...
  24. Re: Any guru here can explain algorithm for Sudoku?

    Thanks for your response. I like to start from the easy one: brute force. Can you explain more how to backtrack once the placed number can't solve the sudoku? Thanks for your inputs.
  25. Any guru here can explain algorithm for Sudoku?

    I posted it in algorithm forum but it is too quiet there so I decide to post it here. After all I am planning to implment it using C++. The algorithm includes sudoku solver, sudoku generator and...
Results 1 to 25 of 1460
Page 1 of 59 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center