i used the debugger and it totally ignored the function, it just returned a garbage value and didnt enter the function.
Type: Posts; User: avisik
i used the debugger and it totally ignored the function, it just returned a garbage value and didnt enter the function.
hello everyone, i wrote a code in C that suppose to calculate COS of an angle.
i dont need help with the writing, i just have one problem, for some reason the program doesnt enter the function...
this is the current code, i put the getchar() in the end of the loop
#include <stdio.h>
#include <conio.h>
#include <math.h>
int main()
{
yes, i put getchar() in c, but Q get me into an endless loop
yes, a will say what to do with the 2 numbers you entered, but Q will quit the program.
i tried getch() after the loop, it works fine, but when i press Q to quit the program it doesnt quit it just...
what can i do to prevent that?
hello everyone!
i am new here and i have a question.
i wrote a program in c that get a char and 2 numbers and with the char the user entered the program does some actions.
Q is for quitting the...