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...
Type: Posts; User: Nantia Atzo
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...
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...
you solved my problem. i hate it that i have to watch out for such things in c....thank you!
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>...
the use of the exit() function is to end my programm at the place where i put the function.
have i understood this right?
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...
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...
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!!!!!!
ok.i understood that with the quotes.
But still dont know how to solve that problem ..
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 ...
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...
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...
i knew that i am doing a terribly silly mistake .......you are right thank you!!!!
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...
Ok.! my problem was just hilarious! thank you very much!!! 8-)
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()
...