Search:

Type: Posts; User: astrogal

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    624

    return values from a program to a script

    Hello,

    I am writing a program and what I need to do is the following inside a loop in a shell script.

    1) execute ./ file obtained by compiling program1.c
    2) use values returned from step 1...
  2. Replies
    2
    Views
    1,934

    Binary to integer

    "Hello

    I have a long binary string in a char array like this

    char abc [] = "100000001010000000110010";

    I need to convert this string to a long long.
    I can't use atoi to convert it to long...
  3. Replies
    2
    Views
    4,752

    Awk, grep from C program

    Can anyone tell me how I can invoke or call: awk, grep and sed commands from within a C program?
    ..Thanks
  4. Replies
    2
    Views
    2,791

    HELP :Decrementing the file pointer

    I am writing a code that should do the following..
    Count how many times a certain string occurs in the second column of a file for a range in the first column..
    This is a simple version of my code...
  5. Thanks all.. The code is working fine now.. Will...

    Thanks all.. The code is working fine now.. Will get back if I have any other queries :rolleyes:
  6. Thanks.. I didnt know..

    Thanks.. I didnt know..
  7. Thanks.. does rewind(fptr) always make the...

    Thanks.. does rewind(fptr) always make the pointer point to beginning of file or just decrement it and make it point to previous line in the file?




    This is the output i see... Note the values...
  8. Reading a floating point from a .txt file into an array

    Hello all..
    I'm fairly new to programming and am trying to get the following implemented. I have a .txt file which contains something like this...
    1.34324 10202043
    1.78458 19430437
    1.93287...
Results 1 to 8 of 8