So what's YOUR question?
Mine is "Why haven't you read the intro posts on how to use code tags?"
Tricky question Salem; hard to answer. Could you make it a multiple choice one?
a) Because I am too busy to read any rule and beside, they are not that important. b) Because I have a sense of entitlement and know my worth. c) Because rules do not apply to me. d) Because I am a newbie and people surely will have pity of me and cut me some slack. e) All the above.
Nope, [s]he didn't mean that correction.
main() always returns an int as long as it is part of an operating system, therefore it should be int main ( void ) in this case, and care should put to finish the function with the statement return [status]. printf("Multiples of %d and %d are %d",m,n,o); You took the liberty of adding artifact to it, but not fix the ugly format that not including a '\n' at the end of the literal string in printf will originate.
Furthermore, if you choose to not carry return the cursor after each printf(), a call to fflush( stdout ) is a prudent statement to incorporate afterward.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.