Search:

Type: Posts; User: Mungo

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    8,590

    for me your code works fine without the...

    for me your code works fine without the semi-colons and it should be


    for (int i=0; i<37; i++)

    'cause another way it doesnt read the letter 'A'.
  2. Replies
    15
    Views
    8,590

    thanks for your reply, your code really makes...

    thanks for your reply, your code really makes sense, but if you put this

    it will only print the last line of the file, right? and not all of them?

    cause in mine main function I did something...
  3. Replies
    15
    Views
    8,590

    My function is logical?

    Im doing a C program to decode morsetext from a file and Im struggling a bit. Well, basically Ive stored into a struct the letters/numbers and their respective morse symbols that were into a file.
    ...
  4. Replies
    1
    Views
    2,432

    help with school project, please

    Im doing a school project and need help please. So from a file full of names like:

    anna(2 spaces)marie(3 spaces)paul
    logan(3 spaces)simon(2 spaces)natalie
    ian(3 spaces)jasmine(3 spaces)jamie
    ...
  5. Replies
    5
    Views
    7,580

    Ohh true. My mistake. Thanks a lot

    Ohh true. My mistake. Thanks a lot
  6. Replies
    5
    Views
    7,580

    struggling with function issue

    Hi guys. Im doing a morse code encoder and Im struggling with some things. Does any one knows why it doesnt convert my string when I compile? Do you know tell me if its ok the connection between the...
  7. Thread: Hangman game

    by Mungo
    Replies
    5
    Views
    7,546

    oh, thanks for the tip. Now Im facing another...

    oh, thanks for the tip. Now Im facing another problem

    printf("\nWell done, %s! You have now %d attemps\n\n", name, max_attemps);
    system("pause");
    I put this system("pause") to read the...
  8. Thread: Hangman game

    by Mungo
    Replies
    5
    Views
    7,546

    thanks for the advice. I changed scanf("%s, name)...

    thanks for the advice. I changed scanf("%s, name) for gets(name) and now its working. I also added a system("pause") to not clear the board before I can see it.
  9. Thread: Hangman game

    by Mungo
    Replies
    5
    Views
    7,546

    Hangman game

    Hello, Im here to ask you guys for help, please, I will very grateful. Im doing a hangman game as a school project but it doesnt working at all.



    #include <stdio.h>
    #include <stdlib.h>...
Results 1 to 9 of 9