@ sarath :
I I just read thcode. I think ur problem is that u can't search for a particular book. The mistake is , u have used == operator to compare strings.. Instead u should use strcmp()..
...
Type: Posts; User: krishnapollu
@ sarath :
I I just read thcode. I think ur problem is that u can't search for a particular book. The mistake is , u have used == operator to compare strings.. Instead u should use strcmp()..
...
hi guys, i wanted to know whether it is possible to access the hardware unit (say, speaker) using a c program. And if so, how?
I google'd, but did not get an apt answer. Help me pls..
sry that i made a mistake in writing the code.
its been made correct.
int input,i,temp;
int array[10];
scanf("%d",&input);
i=0;
while(input!=0)
{
temp=input%10;
array[i]=temp;
i++;
Post ur code. Can't help without knowing how far u've reached.
Whenever u open a file in "write" mode, its contents will be lost. Here, in this code, u are opening the file in each n evry iteration, which will erase the content that u entered last time. So u...
I think u want to know how the arrow keys can be sensed while running a program.
here is a simple example.
#include <stdio.h>
#include <conio.h>
int main(void)
when u press an arrow key, it returns two values. a null character followed by an ascii value.
the ascii values returned are as follows:
right- 75
left- 77
up- 80
down- 72
u can generate...
thanks Adak!
thanks..
actually these are fresh news to me.
once again i thank you!!
one more thing!
can u suggest me a compiler which may help ma purpose?
so are u tryin to say that it isn't possible using my type of compiler???
i have a suggestion. but i think it will make the program a bit lengthy.
anyway let me.
i think u ppl hav heard about infix and postfix expressions.
first of all, consider the input polynomial...
u shud take a look into the "file i/o in c". it will help you.
as u need to read each string and if a string "billing" occurs then, u need to scan the very next integer values which is ur required...
@ salem
#include<stdio.h>
#include<conio.h>
#include<time.h>
what kind of data is that? can you post any example?
Is there, any other way??
hi frnz,
i want to create an exe (using c) which first, gets users' choice and then runs in background. i am using TCC compiler. and my os is xp.
can anyone pls suggest a solution?
it may depend on your program..
jus post what u hav written.
u cant call a function without defining it.
oh!
i really din know about such a function..
anyway thanks for that..
ascii value of 0->48
and that of 9->57
so if the read in char falls b/w these values, u can subtract it with 48 and store the reult.
(eg. if 2 is pressed then ascii value obtained will be 50 and...
sry for that. but i hope it wont make any non-sense.
thank you for that!!!
hi guys!!
i want to know about calling PROCEDURES in C.
also i want to know whether it has something to do with joining two programs under a single menu driven program???
thank you in...
hey! i hav done this before!!!
one way to read the input line of text is like this!!!
use the getchar() function!!
compare the input character using ascii value to know whether it is an...