Search:

Type: Posts; User: Nantia Atzo

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,179

    Matticus, the two function calls are there...

    Matticus,
    the two function calls are there because my teacher in university sais we have to do so , outside the main...i am not really sure about the reason but i am searching for it.
    for my...
  2. Replies
    3
    Views
    2,179

    int ...float ...

    hi, i am very confused about when and were to put float and int.
    i know that float is for numbers with decimals (3.14...etc) but when i am writing code i get always confused.

    This programm just...
  3. Replies
    2
    Views
    3,431

    you solved my problem. i hate it that i have to...

    you solved my problem. i hate it that i have to watch out for such things in c....thank you!
  4. Replies
    2
    Views
    3,431

    function gives zero all the time...

    Hey! can anybody see my mistake?
    this function is supposed to give me some number(it is supposed to be a fahrenheit to celsius converter)...but it only gives zero:-(



    #include <stdio.h>...
  5. Replies
    1
    Views
    3,354

    use of exit() function

    the use of the exit() function is to end my programm at the place where i put the function.
    have i understood this right?
  6. Thread: switch

    by Nantia Atzo
    Replies
    4
    Views
    483

    Yes but how can i give a letter without pressing...

    Yes but how can i give a letter without pressing enter?
    or the other way: how to avoid enter beeing read as a new character?
    i tried with (ch=getchar())!='\n') but it doesnt work...
  7. Thread: switch

    by Nantia Atzo
    Replies
    4
    Views
    483

    switch

    Hello!
    I want my programm to get a letter and print the town starting with this letter.
    The problem is that if i give one of the following letters, the right town is printed but the default...
  8. Replies
    8
    Views
    5,270

    GReaper , you were right! i rewrote the code in...

    GReaper , you were right!
    i rewrote the code in a new program by my self and everything works .
    I can not understand what the problem was, but thank you!!!!!!
  9. Replies
    8
    Views
    5,270

    ok.i understood that with the quotes. But still...

    ok.i understood that with the quotes.
    But still dont know how to solve that problem ..
  10. Replies
    8
    Views
    5,270

    I went to codeblocks and edited the encoding to...

    I went to codeblocks and edited the encoding to ASCII ,if you meant that.
    But it seems that this is not the problem.
    I still try to build it and the same error messages appear ...
  11. Replies
    8
    Views
    5,270

    error stray 342 in programm

    Hello

    i want that the user inputs an number, wich will be printed .
    If he doesnt input a number but f.e a character, than the while shouldnt run (because it would be 0 ) and the last printf will...
  12. Replies
    6
    Views
    680

    control the user input

    Hello there!
    i am writing c and i want to write a programm where the user writes yes,or no and i want him to get an answer depending on what he writes.
    that is my code.
    The problem is that when...
  13. Replies
    3
    Views
    729

    i knew that i am doing a terribly silly mistake...

    i knew that i am doing a terribly silly mistake .......you are right thank you!!!!
  14. Replies
    3
    Views
    729

    "includes" instead of "include"

    Hello!


    I want to write a programm in c.
    I open codeblocks and click on new empty file.
    I save it with "A3-8960.c" and start writing the programm i want to.
    The problem is that when im am...
  15. Replies
    5
    Views
    3,199

    Ok.! my problem was just hilarious! thank you...

    Ok.! my problem was just hilarious! thank you very much!!! 8-)
  16. Replies
    5
    Views
    3,199

    problem with c=(f-32)*(5/9)

    hello, my code works if it is written like i have posted it.
    But when i put two brackets at the red line ( c=(f-32)*(5/9); ) my c variable is always 0,000 .
    Why is that so ?



    int
    main()
    ...
Results 1 to 16 of 16