Search:

Type: Posts; User: Yannick

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    so using system calls i can read my files? can...

    so using system calls i can read my files? can you give an example how to use please?
  2. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    I want to change the directory wiith the...

    I want to change the directory wiith the objective to get the names of the files that are inside that directory.
  3. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    thank you for that information but what i really...

    thank you for that information but what i really want is that after doing that chdir the shell is poiting to that directory like:

    kermit@fastbox ~/cprogs/board $ gcc -Wall -o my_cd my_cd.c...
  4. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    How i do that with System call? There's no chance...

    How i do that with System call? There's no chance with exec functions?
  5. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    so, on the shell linux if i do "cd...

    so, on the shell linux if i do "cd /home/Documents/Downloads" i go to Downloads Folder, and shows something like this on the shell

    user@userlocalhost:~home/documents/downloads:

    i just want to...
  6. Thread: Exec functions

    by Yannick
    Replies
    15
    Views
    3,204

    Exec functions

    Hi, i just want to know what can i do for open a directory using exec functions.
    Example, i want to open the Documents/Downloads folder

    so im on linux he is on "cd /home/Documents/Downloads"
    Is...
  7. Replies
    4
    Views
    1,780

    How i can do a process that execute the shell...

    How i can do a process that execute the shell command "ps u" every 2secs ? Its with "exec" functions? Anyone can show me how to do that?
  8. Replies
    4
    Views
    1,780

    Process/childrens

    Hi, i want to create 3children processes from one "Father process" but when i test my code i see on the Shell that the "Father" create children1, children1 create children2 and children2 create...
  9. Thread: Fget to list

    by Yannick
    Replies
    3
    Views
    1,436

    Fget to list

    Hi, i've a problem with fget, cause when i try to open the file i get Segmentation Fault...Anyone knows whats wrong?





    void fgetrestaurante(List Mainlist) {

    List...
  10. Replies
    12
    Views
    1,366

    it was suppose to show diferent lists by order of...

    it was suppose to show diferent lists by order of min vect_distance but he always print the same list...
  11. Replies
    12
    Views
    1,366

    I've changed to this...it works but if there's 3...

    I've changed to this...it works but if there's 3 lists he will print 3times the same list...and not an order list..."Pesquisa special list" its a search funtion with 2 key-word and returns a list......
  12. Replies
    12
    Views
    1,366

    if i put List l=lista it says that there were...

    if i put List l=lista it says that there were already a definition...
  13. Replies
    12
    Views
    1,366

    Before the loop i want that l is at start of the...

    Before the loop i want that l is at start of the list and next to the header....what i've to do?
  14. Replies
    12
    Views
    1,366

    i dont know how to solve this...

    i dont know how to solve this...
  15. Replies
    12
    Views
    1,366

    i didnt understand...sorry

    i didnt understand...sorry
  16. Replies
    12
    Views
    1,366

    cria_lista its create list, and "insere_lista"...

    cria_lista its create list, and "insere_lista" its put the actual lnode into a new list auxiliar...
  17. Replies
    12
    Views
    1,366

    Problem with order of list

    I would like to order the list by the var distance but program will say always "Lista Vazia"



    void imprime_lista (List lista){

    int vect_distance[100];
    int vect_x[100];
    int vect_y[100];...
  18. Replies
    1
    Views
    1,420

    and the file data.dat comes with chinese...

    and the file data.dat comes with chinese characters...
  19. Replies
    1
    Views
    1,420

    Very problems with Lists

    I need someone to correct anithing that is wrong in this code... and i want to know how to create a non determined number of lists, something like we put a new list and we can add more lists when we...
  20. Replies
    33
    Views
    3,746

    Anyone knows how to do a simple Run Lenght...

    Anyone knows how to do a simple Run Lenght Encoding program?
  21. Replies
    33
    Views
    3,746

    ah, ok...is to terminate and exit a loop...thks.

    ah, ok...is to terminate and exit a loop...thks.
  22. Replies
    33
    Views
    3,746

    omg...it worked... explain me this, cause i've...

    omg...it worked... explain me this, cause i've not understood, break will break the condition of if, and will pass to next m=m/10? or it will break the do while and goes to do the m=m-1; and the do...
  23. Replies
    33
    Views
    3,746

    In function of Mostrador_1 anyone can help me? I...

    In function of Mostrador_1 anyone can help me? I do scanf of an "y" and i've to print all numbers from 100000 to 0 that have y...I've the function working but it prints more than a time, ex. y=2, it...
  24. Replies
    33
    Views
    3,746

    ok, now i've tried to do a second step that we...

    ok, now i've tried to do a second step that we put a "y" and we have to verify on a M<=100000, all numbers that has y...
    I've tried something, but it prints a cupple times the same numbers, but i...
  25. Replies
    33
    Views
    3,746

    Now its correct...What you think? #include...

    Now its correct...What you think?



    #include <stdio.h>

    int main(){

    long n;
    int escolha;
Results 1 to 25 of 34
Page 1 of 2 1 2