Search:

Type: Posts; User: zagelle

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,216

    wc in C

    hi,

    thanks for your tips. i know cat <filename> is to display contents of file in Unix, but what is the equivalent code in C?

    Do i have to open the file first fopen() before displaying the...
  2. Replies
    10
    Views
    1,216

    how to list contents of a file?

    hi all,

    how do i list the contents of a file and calculate the string length (strlen) with it?

    thanks!
  3. Replies
    5
    Views
    1,791

    maybe you'd like to try the condition for < 0...

    maybe you'd like to try the condition for < 0 instead of -1 only so that ALL negative scores will be reflected as error?
  4. hi walt, thanks for your advice. am i right to...

    hi walt,

    thanks for your advice. am i right to assume that for various unix functions, i use the relevant c functions instead?

    e.g.

    remove() --> int remove
    rename() --> int rename

    thanks
  5. Thread: Disk IP/OP

    by zagelle
    Replies
    15
    Views
    2,745

    sorry.....i messed it up. (code) and (/code)...

    sorry.....i messed it up.

    (code) and (/code) but using square brackets instead.

    apologies for a confusing reply...
  6. Thread: Disk IP/OP

    by zagelle
    Replies
    15
    Views
    2,745

    oh and by the way, code tags are basically using...

    oh and by the way, code tags are basically using "
    " and "" tags at the start and end of your codes respectively to denote the indents and start/end of your program. hope it helps...
  7. Thread: Disk IP/OP

    by zagelle
    Replies
    15
    Views
    2,745

    Correct me if I'm wrong, but it would seem that...

    Correct me if I'm wrong, but it would seem that the 3 sides of 4, 6, 10 seems highly unlikely? I can't draw a triangle with those measurements.

    Pythagoras ain't gonna be happy if he sees his...
  8. C programming with Unix functions for manipulation of a virtual file system

    Hi all,

    This virtual file system is implemented as a binary file and I have a problem with some of the functions as it needs to incorporate with Unix and I don't know how/where to start. The basic...
Results 1 to 8 of 8