Search:

Type: Posts; User: robert_sun

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,402

    Message printing problem

    I am having trouble to print a message before user's input from command window.
    I wrote a read() method in the "Instruction.c" file as follow:


    #include <stdio.h>
    #include <stdlib.h>
    #include...
  2. Replies
    2
    Views
    2,235

    nop, still doesn't work. Only the the perror()...

    nop, still doesn't work. Only the the perror() was called and error message printed out before the user input, the printf() still doesn't work properly
  3. Replies
    2
    Views
    2,235

    Problem with Printing message

    I wrote a read() method in the "Instruction.c" file as follow:


    #include <stdio.h>
    #include <stdlib.h>
    #include "memory.h"
    #include "processor.h"

    void read(int address)
    {
  4. Replies
    1
    Views
    1,295

    File input problem

    I wrote a simple program called "processor.c" like this:


    #include <stdio.h>
    #include "memory.h"
    #include "processor.h"
    #include "Instructions.h"

    int main()
    {
  5. Replies
    4
    Views
    1,696

    thanks for the help. I have changed all te define...

    thanks for the help. I have changed all te define in the Instruction header file, after the compilation, the new error messages come up like this:

    snow:Cproject$ gcc processor.c...
  6. Replies
    4
    Views
    1,696

    Help for the c error

    I am having an annoy problem with errors:

    processor.c:22: called object is not a function
    processor.c:24: called object is not a function
    processor.c:26: called object is not a function...
Results 1 to 6 of 6