- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
11 Posted Topics
For you guys, what is the best C++ Compiler? | |
I need help! In this program, if you hit the ENTER KEY the program will display the word "newline". If you hit the SPACE BAR it will display the word "spacebar". But unfortunately, the second statement did'nt worked (SPACE BAR). help me.... [CODE]#include<stdio.h> main() { char n; scanf("%c",&n); if(n='\n') printf("newline.."); … | |
I have a program that reads the data from a stream. Let's just pretend that I already made file in C:\ (record.txt) and I wrote the following words: hello world me you But the program will display in this manner: hello world me you instead of: hello world me you … | |
Re: I dont have an idea about this one! So, what could be the code? | |
Guys, I got a problem in File Handling.. I entered two words(My World)to be saved in a file but the file displays the first word only. Can you guys help me.... | |
Re: try this one: [CODE]#include<stdio.h> main() { int n,r; scanf("%d",&n); while(n!=0) { r=n%10; printf("%d",r); n=n/10; } return 0; }[/CODE] I hope this one works..... | |
Re: diwarak wagle, what do you mean by [COLOR="Red"]while(1)[/COLOR] in your program | |
Please help me. Can you guys tell me how to put a background color in C. | |
Re: I think scanf and getline has the same function... But, I dont know what would be its header file.. You cant use getline in C. | |
Re: int is used when the number is between 32,000 and -32,000. float is used when the number involves decimal point. double is used for larger numbers..eg.1000000000000000000 |
The End.