Search:

Type: Posts; User: MariosX

Search: Search took 0.01 seconds.

  1. I mean I run the programs in command prompt in...

    I mean I run the programs in command prompt in Windows 7.
    My book is really old..... or the author was a grandpa I do not know.
    I'm learning stuff about Windows 3.1, Windows 95, MS-DOS, Unix,...
  2. A ok, the code was ok then but I still got...

    A ok, the code was ok then but I still got "Process terminated with status 22" changed 3rd line to
    int main(int argc, char **argv)
    and added a "return 0"

    All I had to do was to press Ctrl + Z...
  3. Please can you be so kind and make the...

    Please can you be so kind and make the corrections in the code?
  4. Trying to write a program that counts: blank spaces, numbers and letter from a line

    I'm trying to write a program that counts the blank spaces, letters and numbers in a user-input line.

    For example:
    A fox has 4 legs

    Total blank spaces: 4
    Total numbers: 1
    Total Letters: 11
    ...
  5. Replies
    9
    Views
    6,124

    In the last line of the program I added "return...

    In the last line of the program I added "return 0;"
    I get no warning nor errors I get this "Process terminated with status 0 (0 minutes, 3 seconds)"
    I read that if the process is terminated with...
  6. Replies
    9
    Views
    6,124

    Yeah I had to change the second line to: int main...

    Yeah I had to change the second line to: int main (int argc, char *argv[] )
  7. Replies
    9
    Views
    6,124

    Alright I changed "%g" to "%lg" and the converter...

    Alright I changed "%g" to "%lg" and the converter works but I get "Process terminated with status 21 (0 minutes, 6 seconds)"
    What do I need to change?


    #include <stdio.h>
    void main(int argc,...
  8. Replies
    9
    Views
    6,124

    Fahrenheit to Celsius Converter

    Hello!
    I'm studying C for some exams I have
    In my book I'm writing exactly the code it provides and I believe it's wrong somehow


    #include <stdio.h>
    void main(int argc, char **argv)
    {
    ...
Results 1 to 8 of 8