Search:

Type: Posts; User: Tryhard

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    2,720

    that one was also given...but thanks anyways...my...

    that one was also given...but thanks anyways...my teacher just send me an example on how to do it...
  2. Replies
    9
    Views
    2,720

    Believe it or not, it actually was given by my...

    Believe it or not, it actually was given by my teacher;
    its says

    typedef struct WHATEVERYOURSTRUCTNAMEIS Sorted
    typedef Sorted * Thelist;
  3. Replies
    9
    Views
    2,720

    thats the way the teacher use it...we have to use...

    thats the way the teacher use it...we have to use her functions prototypes, we cant change it...thats the only reason i'm confuse..cause i able to do it with char and int but cant do it with that
  4. Replies
    9
    Views
    2,720

    i have another function that checks if the list...

    i have another function that checks if the list is empty or not..i just wanna know,
    if i put a string in main and call it in this function



    int main()
    {
    char * string;
    ...
  5. Replies
    9
    Views
    2,720

    Sorted Linked list Help please

    I been ask to create a sorted linked list module, and to test each function with 1 unit, 2 +.

    so i wrote my addtofront function( we have to use the same as the teacher)


    struct MyList{

    ...
  6. Replies
    5
    Views
    862

    thanks, its working.

    thanks, its working.
  7. Replies
    5
    Views
    862

    TEXT FILE CONTENT this is an example i'm...

    TEXT FILE CONTENT

    this is an example
    i'm crazy about c program
    so thats why i'm learning it




    output
  8. Replies
    5
    Views
    862

    How do you get the newline in a file?

    i got a program thats get the newline...
    i am able to get it vertical but im looking for the line to be horizontal.

    so lets say my text has "this is an example \n = 1st line "
    ...
  9. Replies
    13
    Views
    2,380

    [solve] this is done

    [solve]

    this is done
  10. Replies
    13
    Views
    2,380

    Thanks Salem, i got it to work but just a little...

    Thanks Salem, i got it to work but just a little different from what you suggested...thanks for helping me :)
  11. Replies
    13
    Views
    2,380

    yeah i did this before, its only display + all...

    yeah i did this before, its only display + all over the screen 10 times...its doesnt take the position of the + and puts it in that position...
  12. Replies
    13
    Views
    2,380

    ok but now its work but it print the other...

    ok but now its work but it print the other element only after i click enter.

    how can i print it without clicking enter.
  13. Replies
    13
    Views
    2,380

    i did it but as a result it only show the first...

    i did it but as a result it only show the first element, and never gets to the rest...so its only gets de3




    for ( x = 0 ; x < distance ; x++ ) {
    for ( y = 0 ; y < distance ; y++ ) {...
  14. Replies
    13
    Views
    2,380

    i still dont understand how to put mvaddch in a...

    i still dont understand how to put mvaddch in a loop to display the board...how do i do it?
  15. Replies
    13
    Views
    2,380

    so if i understand, mvaddch should be in a loop...

    so if i understand, mvaddch should be in a loop so its display the board? what is fp...shouldnt it be the file name?
  16. Replies
    13
    Views
    2,380

    i changed some stuffs but the thing is..its...

    i changed some stuffs but the thing is..its doesnt get the other item, its only gets the first one, i tried putting it into an array but its still doesnt work, i even tried a do while loop. should i...
  17. Replies
    13
    Views
    2,380

    File with character and number

    I ask this question before but here is another way.

    I have a text file that says de3 dn4 dw5 ds8

    the de, dn , dw and ds stand for the position of the door(d), and the number stand for the...
  18. Replies
    5
    Views
    2,771

    c will never end because its will always going to...

    c will never end because its will always going to have to loop to check whether its de3 or else, and i was thinking about storing it to a pointer or array but i was confuse to whether i need...
  19. Replies
    5
    Views
    2,771

    Get character from a word with number

    Heyy guys,
    i'm new here,
    im trying to fix a problem but cant find a way to do it...its only works with the first letter.

    so i have a txt file with information such as de3 dn5 dn7 dw9 ds1
    and im...
Results 1 to 19 of 19