Search:

Type: Posts; User: ordak

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    174

    Glib is OK , I have a little experience with...

    Glib is OK , I have a little experience with CUnit too.
  2. Replies
    0
    Views
    153

    GTK signal question

    Hi,

    I seem to have a similar problem to this case:
    c - char* in a gpointer sends a string in a strange encoding - Stack Overflow

    I made recent_title a global variable as explained in the link....
  3. I still use Code::Blocks IDE with a custom...

    I still use Code::Blocks IDE with a custom make-file.



    -------------- Build: all in xboard_fork (compiler: LLVM Clang Compiler 10 GTK Library Warnings_Disabled)---------------

    Checking if...
  4. By the way I am using a make-file rather than an...

    By the way I am using a make-file rather than an IDE (Code::Blocks) project. In case it matters.
  5. Although not much recommended it exist , visit...

    Although not much recommended it exist , visit here.



    I still get some warnings that show #pragma does not work correctly yet:



    #pragma clang diagnostic push
    #pragma clang diagnostic...
  6. Enabling -Weverything for a part of code in Clang

    Hi,

    I want to enable -Weverything for a piece of C code using LLVM Clang compiler.
    Why the following does not work for me , what should I do ?


    #pragma clang diagnostic push
    #pragma clang...
  7. Thread: GTK noob

    by ordak
    Replies
    1
    Views
    190

    GTK noob

    Hi,

    I am trying to add "recent files" feature to a GTK project. I get the file name correctly but afterwards things do not go on as expected. It the following code , I am working to get first file...
  8. Replies
    13
    Views
    350

    Code::Blocks forum address is: Code::Blocks -...

    Code::Blocks forum address is:

    Code::Blocks - Index
  9. Replies
    46
    Views
    1,844

    Can not you use ungetc like here...

    Can not you use ungetc like here ?
  10. Replies
    46
    Views
    1,844

    [...] AFAIR according to C standard digits '0'...

    [...]

    AFAIR according to C standard digits '0' to '9' should be consecutive. But not necessarily for alphabets ('a' to 'f').

    By the way , why you use goto in the code ?
  11. Replies
    3
    Views
    413

    List of some books you may read on this site is:...

    List of some books you may read on this site is:

    Here.

    Although I have read some negative criticism for some of these books. I suggest you start reading the book Deitel and Deitel. At times in...
  12. Replies
    9
    Views
    708

    How about you read K&R . Note that first chapter...

    How about you read K&R . Note that first chapter is different from other chapters. I suppose both function declarations are discussed in the book.
  13. Thread: GA nasty bug

    by ordak
    Replies
    4
    Views
    577

    Ok, considering the above code, let me narrow...

    Ok, considering the above code, let me narrow down the problem. I am very suspect of init() and correct_count() functions. Maybe bug is in them, but there is a strange phenomenon in main() function....
  14. Thread: GA nasty bug

    by ordak
    Replies
    4
    Views
    577

    GA nasty bug

    Hi,

    I am back at my Sudoku Genetic Algorithm. I made a bit of progress. But there is a nasty bug that I can not find it to fix. Please help me. Not that cross-overs and mutations are under...
  15. Replies
    7
    Views
    778

    Related worthy read on bit twiddlig is here...

    Related worthy read on bit twiddlig is here.
  16. Replies
    7
    Views
    779

    Sorry I am not well informed here. But it seems...

    Sorry I am not well informed here. But it seems to me the approach you say is called "mailbox". There is another way to represent chess board and that is called "bitboard".

    For more info see this...
  17. Replies
    7
    Views
    779

    Chess programming wiki...

    Chess programming wiki.

    TSCP.
  18. Replies
    7
    Views
    779

    You may ask your questions from this forum...

    You may ask your questions from this forum. There are many chess coders to help. see the "programming and technical discussions" sub-forum.
  19. Replies
    4
    Views
    621

    [...] I prefer the second function, as it's...

    [...]

    I prefer the second function, as it's input argument is mentioned.
  20. Thread: qsort

    by ordak
    Replies
    6
    Views
    404

    Both return -1 ?

    Both return -1 ?
  21. Replies
    4
    Views
    346

    I already have a Sudoku solver here...

    I already have a Sudoku solver here.
  22. Replies
    4
    Views
    346

    Let me tell an example based on my experience....

    Let me tell an example based on my experience. Suppose you want to solve Sudoku. At one stage you want to know whether two Sudoku states are equal or not. Some Sudoku cells are bounded (they have a...
  23. Replies
    4
    Views
    346

    Hash table in chess programming link...

    Hash table in chess programming link.
  24. Replies
    6
    Views
    378

    [...] Correct me if I am wrong, can I...

    [...]



    Correct me if I am wrong, can I write those lines into the following ?



    int ch;
    while(true)
  25. IMHO it is better to choose between text or...

    IMHO it is better to choose between text or binary file each time. use "rt" to read a text file, "rb" to read a binary file.

    More info
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4