Hi,
There is a bug in this addition drill program that I can't fix up. I can't input Y/N characters in this program. Is there anyone who can help me to fix it up?
#include <conio.h>
#include...
Type: Posts; User: Sharifhs
Hi,
There is a bug in this addition drill program that I can't fix up. I can't input Y/N characters in this program. Is there anyone who can help me to fix it up?
#include <conio.h>
#include...
What is an unsigned character? I've read about EOF but can't yet understand well :(
What does mean EOF has a value of -1?
I cant understand this program especially the if statement even reading (related programs) from several books-
#include <stdio.h>
main()
{
int c;
Thanks a million.......things become easier when they are shared
There is an example in my book that asks to write a program that prints the number 1 to 100 using 5 columns (Have each number separated from the next by a tab).
The solution was as following:
...
but it should display the beeping character(\a), isn't it? In my windows xp platform, either one is not working.
But I couldn't hear that!!!
The book I'm using gives an example as following:
This program sounds the bell.
#include "stdio.h"
int main()
{
printf("\a");
return 0;
just to tell the operating system whether our program succeeded or not!!! Thanks quzah..
Okey, Prototype seems clear to me in a way. But I'm wondering why we use "return 0" at the end of main(). What functions (activities) does it play in C programming?
I've read about return value...
Thanks again Adak. I'm trying to understand things you've posted.
Thanks Bayint too
Dear Adak, please forgive my ignorance, but just for understanding, could you tell me what is a prototype and where is it used in this program?
Thanks Bayint Naung and Elysia for leaving useful comments
Thanks a bunch Adak...it works!!!
Thank Adak for your quick reply but it's not yet working or may be I couldn't understand you what you wanted to mean. Could you explain it again?
Hello there,
I’m a brand-new student in programming arena. Actually I’m a student of other discipline and I decided to learn C language. To do so I’m currently using the book “Teach yourself C –...