Search:

Type: Posts; User: rjv_rnjn

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,103

    -- is unary decrement operator which evaluates to...

    -- is unary decrement operator which evaluates to
    --b;//same as
    b = b -1;So, it'll decrement the value of b first and then only will it return the final value of b.Have a look at the shift...
  2. Replies
    3
    Views
    1,322

    Provided you're in the correct directory where...

    Provided you're in the correct directory where your exe is located. So adding onto simplification where hk_mp5kpdw left, (for Windows)
    say your exe named test.exe is stored in C-drive and screamer...
  3. Replies
    21
    Views
    4,964

    It'll be much easier if you sort the array (by...

    It'll be much easier if you sort the array (by implementing some sorting algo) and then you know where your greatest and least numbers are stored.
  4. Replies
    6
    Views
    1,510

    The problem statement doesn't seem to be very...

    The problem statement doesn't seem to be very clear.
    If you want to only drop the value, then compare their ascii value and then remove it from the array or wherever you're storing it.
  5. Replies
    9
    Views
    2,376

    Try to see what's the value stored in the...

    Try to see what's the value stored in the variable select. In all probabilities it'll be a newline character.
    Have to hurry with my own code otherwise would have given you the code, for now kindly...
  6. Replies
    5
    Views
    1,474

    You don't have to load the entire database each...

    You don't have to load the entire database each time you run your program. As the user selects the customer whose history is to be viewed, you fetch the data relevant to that customer only. There are...
  7. Replies
    13
    Views
    1,409

    If you want the value returned from the...

    If you want the value returned from the function() to be stored in "ans" then you do
    ans = function(); and not
    function(ans);. Does that make things clear?
  8. Replies
    13
    Views
    1,409

    That depends upon the scope of the variable. If...

    That depends upon the scope of the variable. If the variable is defined within main() then that can be accessed only within main() but if its defined above main() and outside any function then that...
  9. Replies
    13
    Views
    1,409

    That's correct. This part is not clear as to...

    That's correct.
    This part is not clear as to what exactly are you trying to ask. Your first part indicates that you totally understand how the functions return values and then this. Can you be...
  10. Thread: % thingy

    by rjv_rnjn
    Replies
    4
    Views
    1,080

    Yes and no. Yes b'cos, if you've got an integer...

    Yes and no. Yes b'cos, if you've got an integer and trying to printf() an integer, you need to do a %d. By no I meant, if you've a char type and you do a %d printf() for that it'll return you the...
  11. Replies
    8
    Views
    1,355

    In my opinion, one file per client is a good...

    In my opinion, one file per client is a good idea. This will help in getting the client summary/specifics at any point of time very easily. But there can be one master file which will store data...
  12. Replies
    6
    Views
    11,034

    You are a gem galmca. Your persistence with your...

    You are a gem galmca. Your persistence with your indentation style is rock solid, nobody can move you. As you can make out I'm n00b to this forum and was going through the previous posts and found...
Results 1 to 12 of 12