Search:

Type: Posts; User: ordak

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    535

    I have no idea on how to produce a simple code...

    I have no idea on how to produce a simple code based on the original one. I may ask the question on a place , where some may know the project's internals. Thanks anyway.
  2. Replies
    2
    Views
    535

    Function call problem (segmentation fault)

    Hello,

    Considering this project:

    I try to call a function in benchmark.c file. The existing calls work well in search.c file. But my newer call causes segmentation fault. I suspect there can be...
  3. Replies
    2
    Views
    1,237

    I made some changes to your code: #include...

    I made some changes to your code:



    #include <stdio.h>
    #include <stdlib.h>

    int main (void)
    {
    int it = 0;
  4. Replies
    5
    Views
    1,445

    For GTK take a look at : here...

    For GTK take a look at :

    here.
  5. Replies
    1
    Views
    761

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

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

    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....
  7. 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...
  8. 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.
  9. 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...
  10. 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...
  11. Thread: GTK noob

    by ordak
    Replies
    1
    Views
    993

    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...
  12. Replies
    13
    Views
    1,642

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

    Code::Blocks forum address is:

    Code::Blocks - Index
  13. Replies
    46
    Views
    7,852

    Can not you use ungetc like here...

    Can not you use ungetc like here ?
  14. Replies
    46
    Views
    7,852

    [...] 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 ?
  15. Replies
    3
    Views
    1,367

    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...
  16. Replies
    9
    Views
    2,933

    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.
  17. Thread: GA nasty bug

    by ordak
    Replies
    4
    Views
    1,567

    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....
  18. Thread: GA nasty bug

    by ordak
    Replies
    4
    Views
    1,567

    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...
  19. Replies
    7
    Views
    1,458

    Related worthy read on bit twiddlig is here...

    Related worthy read on bit twiddlig is here.
  20. Replies
    7
    Views
    1,676

    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...
  21. Replies
    7
    Views
    1,676

    Chess programming wiki...

    Chess programming wiki.

    TSCP.
  22. Replies
    7
    Views
    1,676

    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.
  23. Replies
    4
    Views
    1,229

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

    [...]

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

    by ordak
    Replies
    6
    Views
    1,226

    Both return -1 ?

    Both return -1 ?
  25. Replies
    4
    Views
    1,247

    I already have a Sudoku solver here...

    I already have a Sudoku solver here.
Results 1 to 25 of 103
Page 1 of 5 1 2 3 4