Search:

Type: Posts; User: TheGreekMan2000

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Thread: Lists.

    by TheGreekMan2000
    Replies
    4
    Views
    340

    Thanks very much for your time.

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

    by TheGreekMan2000
    Replies
    4
    Views
    340

    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...
  3. Thread: Lists.

    by TheGreekMan2000
    Replies
    4
    Views
    340

    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?
  4. Replies
    7
    Views
    653

    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>}’)
    ...
  5. Replies
    7
    Views
    653

    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>...
  6. Replies
    7
    Views
    653

    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.

    ...
  7. 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?
  8. 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?
  9. So,about 2), I don't have to #define it?

    So,about 2), I don't have to #define it?
  10. 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...
  11. 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...
  12. Replies
    1
    Views
    323

    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.
  13. 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...
  14. Replies
    1
    Views
    438

    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?
  15. Replies
    2
    Views
    432

    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...
  16. Replies
    2
    Views
    432

    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
  17. Replies
    8
    Views
    413

    Unknown symbol.

    What does $> symbolize?
  18. 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...
  19. Replies
    14
    Views
    789

    Ahhhh.

    Ahhhh.
  20. Replies
    14
    Views
    789

    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?
  21. Replies
    14
    Views
    789

    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.
  22. Replies
    14
    Views
    789

    Nice. The question remains the same as in the...

    Nice. The question remains the same as in the first post above. The code is that:




    typedef struct
    {
    int year;
    int month;
    int day;
  23. Replies
    14
    Views
    789

    What's a sippet?

    What's a sippet?
  24. Replies
    14
    Views
    789

    What's a pint and a quirk?

    What's a pint and a quirk?
  25. Replies
    14
    Views
    789

    I'm refering to the self-reference part. Don't...

    I'm refering to the self-reference part. Don't understand it much and good.
Results 1 to 25 of 58
Page 1 of 3 1 2 3