-- 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...
Type: Posts; User: rjv_rnjn
-- 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...
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...
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.
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.
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...
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...
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?
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...
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...
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...
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...
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...