Search:

Type: Posts; User: TheGreekMan2000

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,347

    That helps. Thanks.

    That helps. Thanks.
  2. Replies
    6
    Views
    1,347

    Can you tell me in a few words how to do it with...

    Can you tell me in a few words how to do it with a linked list? What list is the better option on that?
  3. Replies
    6
    Views
    1,347

    You say if I use an arrey and if that is filled I...

    You say if I use an arrey and if that is filled I use the char **teams ?
  4. Replies
    6
    Views
    1,347

    I've been stuck.

    I want to make a small programme where I input some strings (let's say the names of football teams) and want those strings to get in alphabetical order. I want to input as many strings as I want at...
  5. Thread: Lists.

    by TheGreekMan2000
    Replies
    4
    Views
    984

    Thanks very much for your time.

    Thanks very much for your time.
  6. Thread: Lists.

    by TheGreekMan2000
    Replies
    4
    Views
    984

    Can I, also, in a circular linked...

    Can I, also, in a circular linked self-referencial list when done the full circle, find and print in the terminal the nodes that have a part of a string? For example, I want to print the nodes that...
  7. Thread: Lists.

    by TheGreekMan2000
    Replies
    4
    Views
    984

    Lists.

    Can I count how many nodes I have created in a circular self-referencial list if I don't know in advance how many nodes to add?
  8. Replies
    7
    Views
    1,369

    Those are the errors the compiler pops up in the...

    Those are the errors the compiler pops up in the terminal.




    MardikisMavraganis.c:66:44: error: invalid type argument of ‘->’ (have ‘date {aka struct <anonymous>}’)
    ...
  9. Replies
    7
    Views
    1,369

    Just fixed that immediately after your reply. But...

    Just fixed that immediately after your reply. But I have problem with the -> in the code. The compiler says that there are errors.




    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>...
  10. Replies
    7
    Views
    1,369

    A problem with my code.

    I have a problem with my code and I can't find a way to solve it and continue adding in it. When I compile it it says that I don't have declared the *event. I am very confused. Here is the code.

    ...
  11. Replies
    10
    Views
    1,865

    So what is myList? insertIntoList is a new...

    So what is myList? insertIntoList is a new struct? The insertIntoList(&myList,&event); is put into your previous part of code?
  12. Replies
    10
    Views
    1,865

    Also, about adding new incidents in the...

    Also, about adding new incidents in the list(circular linked list) I must do the same as above and put it inside a for?
  13. Replies
    10
    Views
    1,865

    So,about 2), I don't have to #define it?

    So,about 2), I don't have to #define it?
  14. Replies
    10
    Views
    1,865

    So to better understand what you have written:...

    So to better understand what you have written:
    1) buff is the large string I want to separate.
    2)BUFSIZ is the size of the array where I put the string before the separation.
    3) can I make the...
  15. Replies
    10
    Views
    1,865

    I have to give to the structs data with this. The...

    I have to give to the structs data with this. The data I want to pass to the circular list above is the string after the space of the following line. The data I want to give to each member is...
  16. Replies
    1
    Views
    710

    For printing the negatives of the array just run...

    For printing the negatives of the array just run the array again and check if the number is negative.
  17. Replies
    10
    Views
    1,865

    strtok() and struct with many members

    I need to separate a long string into smaller peaces with a strtok() and those peaces need to be values of members of a struct. What should I do to achieve that? Inside the while should I put ifs...
  18. Replies
    1
    Views
    1,227

    strtok() and struct

    Is there any chance that I can use strtok() to insert data (and as a result add new node to a struct)in a struct with many members inside that?
  19. Replies
    2
    Views
    1,140

    If the function needs a struct that references...

    If the function needs a struct that references for example the two previous structs what should I do? You have just played with my curiosity. Here is an example of what I mean:




    typedef...
  20. Replies
    2
    Views
    1,140

    General question.

    When you declare a function in a program with structs, does it matter where the argument is placed or it does not matter?

    Here is an example:



    typedef struct
    {
    }
    typedef struct
  21. Replies
    8
    Views
    770

    Unknown symbol.

    What does $> symbolize?
  22. First of all, don't attack the other users. It...

    First of all, don't attack the other users. It doesn't help you in the longrun. The only think that happens with that is anger.

    Secondly, it's not allowed in C. Where did you find it? C isn't your...
  23. Replies
    14
    Views
    2,273

    Ahhhh.

    Ahhhh.
  24. Replies
    14
    Views
    2,273

    What's a data field? Also, where you refere to...

    What's a data field? Also, where you refere to "records" you mean something like a voice messege or music?
  25. Replies
    14
    Views
    2,273

    The semicolons doesn't refere to the repetitions...

    The semicolons doesn't refere to the repetitions of the program but rather for the separation of the data that must be put into the incident struct.
Results 1 to 25 of 62
Page 1 of 3 1 2 3