Search:

Type: Posts; User: Destinps

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    5,335

    check if a file is already open

    I'm trying to write a recursive function to read some data from a file that -should- be preformated etc..

    well the function call only takes a file name, so I'm opening the file within the function...
  2. Replies
    13
    Views
    3,812

    D_SVID_SOURCE worked, i read that in the man but...

    D_SVID_SOURCE worked, i read that in the man but had no idea how to comprehend it
    thanks for the help people!
  3. Replies
    13
    Views
    3,812

    no warnings when compiling with those arguments,...

    no warnings when compiling with those arguments, but if the program works for you that's good enough for me. I'm just coding it as practice for a test so it's not going to be turned in or anything.
  4. Replies
    13
    Views
    3,812

    using putty to connect to a school computer from...

    using putty to connect to a school computer from home..
    the school computer is running linux and i'm using gcc to compile
    I'm new to C and Linux so I'm not sure what info is needed, but i compiled...
  5. Replies
    13
    Views
    3,812

    NAME drand48, erand48, lrand48, nrand48,...

    NAME
    drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48,
    lcong48 - generate uniformly distributed pseudo-random numbers

    SYNOPSIS
    #include <stdlib.h>

    ...
  6. Replies
    13
    Views
    3,812

    drand48 returning 0's and nan

    I'm having trouble using drand48 to feed an array, i tested the array using the loop counter and it stores that just fine.
    When I use drand48 though, i get 7 0's in the first 7 spots, and the rest i...
Results 1 to 6 of 6