Search:

Type: Posts; User: krishnapollu

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. @ sarath : I I just read thcode. I think ur...

    @ 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()..
    ...
  2. Replies
    2
    Views
    1,615

    hardware access

    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..
  3. Replies
    7
    Views
    1,617

    sry that i made a mistake in writing the code....

    sry that i made a mistake in writing the code.
    its been made correct.
  4. Replies
    7
    Views
    1,617

    int input,i,temp; int array[10]; ...

    int input,i,temp;
    int array[10];

    scanf("%d",&input);
    i=0;
    while(input!=0)
    {
    temp=input%10;
    array[i]=temp;
    i++;
  5. Replies
    7
    Views
    6,076

    Post ur code. Can't help without knowing how far...

    Post ur code. Can't help without knowing how far u've reached.
  6. Replies
    2
    Views
    2,175

    Whenever u open a file in "write" mode, its...

    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...
  7. I think u want to know how the arrow keys can be...

    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)
  8. when u press an arrow key, it returns two values....

    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...
  9. Replies
    24
    Views
    2,856

    thanks Adak!

    thanks Adak!
  10. Replies
    24
    Views
    2,856

    thanks.. actually these are fresh news to me. ...

    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?
  11. Replies
    24
    Views
    2,856

    so are u tryin to say that it isn't possible...

    so are u tryin to say that it isn't possible using my type of compiler???
  12. Replies
    16
    Views
    9,146

    i have a suggestion. but i think it will make the...

    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...
  13. Replies
    5
    Views
    2,309

    u shud take a look into the "file i/o in c". it...

    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...
  14. Replies
    24
    Views
    2,856

    @ salem #include...

    @ salem





    #include<stdio.h>
    #include<conio.h>
    #include<time.h>
  15. Replies
    5
    Views
    2,309

    what kind of data is that? can you post any...

    what kind of data is that? can you post any example?
  16. Replies
    24
    Views
    2,856

    Is there, any other way??

    Is there, any other way??
  17. Replies
    24
    Views
    2,856

    running in background

    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?
  18. it may depend on your program.. jus post what...

    it may depend on your program..

    jus post what u hav written.
  19. Replies
    2
    Views
    1,977

    u cant call a function without defining it.

    u cant call a function without defining it.
  20. Replies
    17
    Views
    10,950

    oh! i really din know about such a function.....

    oh!
    i really din know about such a function..
    anyway thanks for that..
  21. Replies
    17
    Views
    10,950

    ascii value of 0->48 and that of 9->57 so if...

    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...
  22. Replies
    17
    Views
    10,950

    sry for that. but i hope it wont make any...

    sry for that. but i hope it wont make any non-sense.
  23. Replies
    2
    Views
    876

    thank you for that!!!

    thank you for that!!!
  24. Replies
    2
    Views
    876

    calling Procedures!

    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...
  25. Replies
    17
    Views
    10,950

    hey! i hav done this before!!! one way to read...

    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...
Results 1 to 25 of 29
Page 1 of 2 1 2