Search:

Type: Posts; User: babu

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,240

    Problem accepting a character

    Hi,

    My environment is Visual C++ 6.0. On executing the below code, its not waiting for me to enter a character. After I enter a number, it goes directly to the printf statements. Please help...
    ...
  2. Replies
    3
    Views
    1,616

    Thank you! Its the same as you said :)

    Thank you! Its the same as you said :)
  3. Replies
    3
    Views
    1,616

    Viewing header files in MS VC++

    Hi,

    Here is a silly question. But I do not know how to do it. Hence I'm posting it here. I'm using Microsoft's Visual C++ IDE. Supposing I want to view the contents of standard header files, say,...
  4. Replies
    3
    Views
    1,431

    problem with accepting password

    Hi,

    I'm developing a console application in which I've to accept password from the user. When the user enters the password, I want only the asteriks(*) to appear on the screen or else nothing...
  5. Replies
    4
    Views
    2,131

    I'm using Visual C++ IDE and I'm unable to...

    I'm using Visual C++ IDE and I'm unable to initialize it in a single statement. I'm getting a syntax error instead. Can somebody tell me how to do it?
  6. Replies
    4
    Views
    2,131

    Problem with arrays inside a structure

    Hi,

    Here is my program. I've several queries related to it.


    #include<stdio.h>
    struct _test
    {
    int iNum[5];
    };
  7. Replies
    6
    Views
    1,408

    A question regarding strings

    Hi,

    I've a doubt working with strings. To store a name into a character array, I give like
    char Temp[]="Array";. Here the declaration and the initialization of the array is done in a single...
  8. Replies
    10
    Views
    1,277

    wow! That was an excellent analogy! Thanks a lot...

    wow! That was an excellent analogy! Thanks a lot :)
  9. Replies
    10
    Views
    1,277

    Thanks jverkoey! I got it now

    Thanks jverkoey! I got it now
  10. Replies
    10
    Views
    1,277

    Yes laserlight, that's what I meant. But why is...

    Yes laserlight, that's what I meant. But why is it not getting reflected when I pass them as values and not the reference ?
  11. Replies
    10
    Views
    1,277

    A question about return statement

    Hi,

    I've a function which accpets two integer parameters. Now, after doing some processing within the function I want the two values back. How do I do that? Will return statement be helpful?
    ...
  12. Replies
    3
    Views
    1,056

    Need help with this code on pointers

    Hi All,

    Please help me with the following piece of code. I do not understand why it prints the same value for a, *a and also **a. Could someone explain me how it works?


    #include <conio.h>...
  13. Thread: Format Specifier

    by babu
    Replies
    2
    Views
    1,774

    Format Specifier

    Hi All,

    Can someone tell me the format specifier to be used in the printf statement for printing values of double datatype? For eg. "%d" is used for int and "%f" for float. Similarly what should...
  14. Replies
    1
    Views
    1,524

    Conversion specifier

    Hi All,

    Could someone shed some light on the usage of conversion specifiers? Particularly, I want to know about the usage of an integer prefixing the specifier. For eg: "%2d" or "%3f" or "%.2f",...
Results 1 to 14 of 14