Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for D.M.
Member Avatar for D.M.

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.."); …

Member Avatar for Narue
0
104
Member Avatar for D.M.

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 …

Member Avatar for D.M.
-1
75
Member Avatar for J_17

Please help me with this: [CODE]#include<stdio.h> #include<dos.h> main() { int x; for(x=1;x<=50;x++) { gotoxy(x,2); delay(1000); printf("TEXT"); } return 0; }[/CODE] I am planning to run the word "TEXT" in this program to the right side, but it didnt work. WHAT'S WRONG WITH MY CODES?

Member Avatar for D.M.
0
68
Member Avatar for D.M.

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....

Member Avatar for abhishek25
0
120
Member Avatar for chezkaty

Hi can you pls help me how this program containing a function that accepts a 5-digit numbers & returns the digit in reverse. like: Enter 5-digit number: 13569 Reversed: 96531 thankyou ;)

Member Avatar for Narue
0
155
Member Avatar for jonkim9483

hey guys, new to daniweb here. This is my first assignment in my first C class at school. I'm having some trouble getting the program to work, was wondering if you folks could give me some tips. I believe I have most of the code down, I think my issue …

Member Avatar for D.M.
0
369
Member Avatar for hackit

i found a very simple program that is very simple but have a great logic. [CODE] #include<stdio.h> #include<conio.h> void main() { int B=1; printf("%d\n%d\n%d",b=15,b>9,b<9); getch(); } [/CODE] this seems very simple to me but the output is very strange to me OUTPUT:- 15 0 1 I tried very much to …

Member Avatar for Narue
0
151
Member Avatar for D.M.
Member Avatar for ashok1514
0
644
Member Avatar for geeksforgeek

hello daniweb, I am new to C Programming,can anyone explain me the functionality and uses of getline(),with advantages and its disadvantages and where to use? thanks in advance

Member Avatar for D.M.
0
140
Member Avatar for kylelendo

Hii my question is how do we decide when to use which type of datatype For eg in some program we get int i, whereas in some programs it is float i, whereas in other programs it is double i....so how do we know which datatype to use...I am confused …

Member Avatar for D.M.
0
105