Search:

Type: Posts; User: Matticus

Search: Search took 0.06 seconds.

  1. Thread: MPI c problem

    by Matticus
    Replies
    17
    Views
    1,987

    Tutorials - Bitwise Operators and Bit...

    Tutorials - Bitwise Operators and Bit Manipulations in C and C++ - Cprogramming.com

    [edit] Sorry, iMalc, didn't mean to trample on your post.
  2. Thread: MPI c problem

    by Matticus
    Replies
    17
    Views
    1,987

    if( input == NULL ) //if there is no such file...

    if( input == NULL )
    //if there is no such file
    {
    printf("Cannot open file [%s] \n", "input");
    flag = 1;
    }

    if( fscanf(input, "%d", &N) != 1 )
    //if the first thing is not a number
    {
Results 1 to 2 of 2