Search:

Type: Posts; User: fractal

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    4,419

    FILE *inp; inp = (FILE *) fopen("clues.txt",...

    FILE *inp;
    inp = (FILE *) fopen("clues.txt", "r");
    int row, column;
    char clue[row][column]
    for(row = 0; row <= 46; ++row)
    {
    for(column = 0; column <= 60; ++column)
    {
    fscanf(inp, "%s",...
  2. Replies
    4
    Views
    1,569

    well, i learn my lesson, thank you Mats (again)...

    well, i learn my lesson, thank you Mats (again) and Elysia, you are the best,
    here is my function, completed and running.



    void insertFrontierAstar ( FrontierNodePtr *headPtr, FrontierNodePtr...
  3. Replies
    4
    Views
    1,569

    thank You Mats, for quick response. I' will check...

    thank You Mats, for quick response. I' will check it
  4. Replies
    4
    Views
    1,569

    insert linked list - segment violation

    what is wrong with this function? This function insert a new node in the linked list, but it'not works.



    void insertFrontierAstar ( FrontierNodePtr *headPtr, TreeNodePtr ptr )
    {...
  5. Replies
    11
    Views
    11,416

    i am sorry if this is off topic, but i am...

    i am sorry if this is off topic, but i am curious.
    Is this "drand48()" function ANSI C89?
  6. Thread: Header Files

    by fractal
    Replies
    7
    Views
    15,498

    take a look at this http://ftp.gnu.org/gnu/glibc/

    take a look at this
    http://ftp.gnu.org/gnu/glibc/
  7. Replies
    4
    Views
    1,443

    http://pw1.netcom.com/%7Etjensen/ptr/pointers.htm...

    http://pw1.netcom.com/%7Etjensen/ptr/pointers.htm

    chapter 1
  8. Replies
    14
    Views
    68,002

    is that .c files so i can read them?

    is that .c files so i can read them?
  9. Replies
    14
    Views
    68,002

    in google? believe me i will look at!!!!

    in google?
    believe me i will look at!!!!
  10. Replies
    14
    Views
    68,002

    And my question is, where can i find funcions....

    And my question is, where can i find funcions. For example, i like to study the "printf" function. Is this not available in a opensource compiler?
  11. Replies
    14
    Views
    68,002

    I suggest to download an opensource compiler and...

    I suggest to download an opensource compiler and ( i belive, but not for sure ) you can modify the headers files
    for example you can change the value below


    #define FOPEN_MAX (20)

    FOPEN_MAX...
  12. Replies
    14
    Views
    68,002

    i ' not sure, but you have to search for an open...

    i ' not sure, but you have to search for an open source compiler, like Codeblocks.
    In my computer stdio.h is located at (something like)
    C:\Program Files\ CodeBlocks\include\stdio

    So here we are
  13. Thread: New to C

    by fractal
    Replies
    24
    Views
    2,765

    i believe that scanf("%lf",...

    i believe that


    scanf("%lf", &simple_interest);

    is better
  14. Replies
    17
    Views
    3,470

    to clear the screen read this...

    to clear the screen read this
    http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1031963460&id=1043284385
  15. Replies
    17
    Views
    3,470

    the "menu" function looks like this void...

    the "menu" function looks like this


    void menu ( void )
    {
    printf( "please, enter your choise\n\n"
    "1 to load a sudoku (from file)\n"
    "2 to select a sudoku\n"
    "3 to display selected...
  16. Replies
    17
    Views
    3,470

    i' sorry for confusing you, this infinite loop is...

    i' sorry for confusing you, this infinite loop is (was) my problem. My teacher also suggest to do this


    do
    {
    menu();
    scanf( "%d", &selection );
    if (scanf( "%d",...
  17. Replies
    17
    Views
    3,470

    i have the same problem here int main (...

    i have the same problem here



    int main ( void )
    {
    sudokuPtr sudoku_list; // δείκτης στην αρχή της λίστας
    sudokuPtr current_sudoku; // δείκτης στο τρέχων sudoku

    sudoku_list =...
  18. Replies
    17
    Views
    3,470

    do you use DEV C++ compiler?

    do you use DEV C++ compiler?
  19. Replies
    13
    Views
    1,401

    thank you for instant responces, cheers.

    thank you for instant responces,
    cheers.
  20. Replies
    13
    Views
    1,401

    ok, here we are, #include ...

    ok, here we are,



    #include <stdio.h>
    #include <stdlib.h> /* exit */

    void function ( FILE *out, char *filename );

    int main ( int argc, char *argv[ ] )
  21. Replies
    13
    Views
    1,401

    I will be back tomorow, Happy New Year to...

    I will be back tomorow,

    Happy New Year to everyone!!!
  22. Replies
    7
    Views
    2,615

    ok, try this ...

    ok, try this

    http://www.acm.uiuc.edu/webmonkeys/book/c_guide/

    and this

    http://www.cppreference.com/

    ps i'm also a newbie
  23. Replies
    13
    Views
    1,401

    i see now! and what about #include...

    i see now!
    and what about


    #include <stdio.h>

    void total_paragraph ( FILE *infile );

    int main ( void )
    {
  24. Replies
    13
    Views
    1,401

    hello everybody, and why is better to open...

    hello everybody,


    and why is better to open and close the file in main?
  25. Replies
    17
    Views
    2,790

    hello to everyone, you must change the line ...

    hello to everyone,

    you must change the line

    scanf ("%c", ans);

    with

    scanf ("%c", &ans);
Results 1 to 25 of 25