Search:

Type: Posts; User: Zuko

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,898

    Thanks once more!

    Thanks once more!
  2. Replies
    3
    Views
    1,898

    Can i use fscanf() to access the file? For...

    Can i use fscanf() to access the file?
    For example the first line of the file may be: Zuko956:92555:something
    How can i store Zuko956 in a variable so i can use it?
  3. Replies
    3
    Views
    1,898

    Access file's info in MINIX

    I want to make a new command in Linux(Minix) in C, for printing some info in the screen. The info is located in the file /etc/passwd and other files.
    The info is names logged in, in the system and...
  4. Thread: MINIX Help

    by Zuko
    Replies
    6
    Views
    2,370

    Thanks Corned Bee! You really helped a lot. I was...

    Thanks Corned Bee! You really helped a lot. I was running the commands i had constructed or modified from usr/bin and managed to make them work, till this morning i figured out that i could rename...
  5. Thread: MINIX Help

    by Zuko
    Replies
    6
    Views
    2,370

    Sorry for my "ignorance" but could you explain...

    Sorry for my "ignorance" but could you explain what do you mean by saying: call /usr/bin/echo? Where should i use the full path?
  6. Thread: MINIX Help

    by Zuko
    Replies
    6
    Views
    2,370

    Because the teacher said i had to go to...

    Because the teacher said i had to go to ...../simple and modify the existing file. The only problem is that that there is no f******* existing echo file in there.
    Ok is there any way of...
  7. Thread: MINIX Help

    by Zuko
    Replies
    6
    Views
    2,370

    MINIX Help

    I was supposed to modify the echo.c code of MINIX. I moved to the directory : /usr/src/commands/simple and created the echo.c file with vi editor.
    I compiled it (cc) and then edited Makefile with vi...
  8. Thread: Dynamic Array

    by Zuko
    Replies
    3
    Views
    1,048

    Thanks, you are right! And if i want to refer to...

    Thanks, you are right! And if i want to refer to the array in that function, i have to write *A[]??
    For example why something like that is wrong??

    int FillStruct(int **A)
    {
    int...
  9. Thread: Dynamic Array

    by Zuko
    Replies
    3
    Views
    1,048

    Dynamic Array

    In this part of my program i -obviously- want to create a dynamic array.
    But somewhere there is a problem(the array is allocacated but not returned), can anyone help me, is there any problem with...
  10. Thread: Linked list

    by Zuko
    Replies
    5
    Views
    1,254

    1st: struct something{ . ....

    1st:

    struct something{
    .
    .
    .
    }*What;
    What does this "*What" means, if i place it there??
    2nd:
    My struct should be like this:
  11. Thread: Linked list

    by Zuko
    Replies
    5
    Views
    1,254

    Linked list

    Hello.
    A few days ago, i created a program, something like a database with students. I used a struct

    Struct student{
    int code;
    char name[50];
    float grade;
    ...
Results 1 to 11 of 11