Search:

Type: Posts; User: Tozilla

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,294

    i thought read(), write(),close() are for reading...

    i thought read(), write(),close() are for reading binary file

    if I still use fopen(), fread(), i still can read the binary file?
  2. Replies
    5
    Views
    2,294

    then is my sytax wrong? I have a binary file...

    then is my sytax wrong?

    I have a binary file named bintest.dat



    int readBinary(struct test *b)
    {

    FILE *inFile;
  3. Replies
    5
    Views
    2,294

    reading binary file

    I just want to know if open() can read the binary file with UNIX C.
  4. Replies
    0
    Views
    1,388

    UNIX shell programming

    I'm trying to write a problem which can display a prompt,e.g My_shell$ and accept a command entered by the user by using fgets. Also, it needs to execute the command by invoking fork() and execvp()...
  5. Replies
    1
    Views
    877

    passing value???

    can anyone show me the example declaration in header file how to recor value from other class?

    Thanks
  6. Replies
    5
    Views
    1,617

    i've aleady fixed that problem. But still have...

    i've aleady fixed that problem. But still have errors.
  7. Replies
    5
    Views
    1,617

    hm...I still can't make my program working...

    hm...I still can't make my program working properly. I fixed the prototypes. I still can see the same errors.
  8. Replies
    5
    Views
    1,617

    overloading operators..please help

    I have many errors when I compiled it. I think it's all from overloading operator. I have so many errors...this is one of them

    binary '+' : no operator defined which takes a right-hand operand of...
  9. Replies
    12
    Views
    2,536

    hm....I have the same kind of problem on operator...

    hm....I have the same kind of problem on operator overloading.
  10. I don't know why my professor gives us this kind...

    I don't know why my professor gives us this kind of design.
    I guess my professor wants us to know certain things in this design.:confused:

    ok..these are the classes I need to write

    Car class:...
  11. sorry..I forgot to write that there're two more...

    sorry..I forgot to write that there're two more header files and source files. Those files are for calculating how much fuel has been purchased and how far the car has travel.
    So, I have to use two...
  12. thanks..but i still have sytnax errors with the...

    thanks..but i still have sytnax errors with the operator overloading function
  13. Operator overloading,initization, Print() in header file

    I'm currently writing a header file for a Car class. But The problem is I don't know how to initialized in the Car class and use the copy constructor in the header file. Also, this header file...
Results 1 to 13 of 13