I like perl :) New York City!? (I doubt most of the people here remember those commercials to get the reference--and so you don't think I am being a random nut, I noticed MK27 is from NYC). And the h...
Type: Posts; User: master5001
I like perl :) New York City!? (I doubt most of the people here remember those commercials to get the reference--and so you don't think I am being a random nut, I noticed MK27 is from NYC). And the h...
He is right to touch on the fact that you are not considered a troll and are a regular member. Thus some of us still hold respect for you and you wouldn't wish to go around and make people feel...
Haha you made me laugh :-) In all seriousness, your code isn't "not-brilliant" because of how you did it. It is problematic because of the fact that global buffers are just plain messy. Simply put...
Because 0x80000 is half a mebabyte in hexidecimal. Figure if 0x100000 is 1MG, then 0x100000 / 2 = 0x80000. Right? .5MB = 2^19, right?
I hate to be the psyche student on you but your code is neither brilliant nor worth using for homework purposes. I was going to simply correct your code but the entire way it works was too flawed to...
I do not see any minor errors. I only see crippling ones and ones that make the program HIGHLY under-efficient if it even works to begin with.
You obviously know where the edit button is, so...
Oooops, I didn't notice the line number mumbo jumbo. MK27's code hardly seems brilliant. I mean come on now dude...
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char **argv)...
Oh! And who could forget this little gem.
Example:
#include <stdlib.h>
#include <stdio.h>
#define IS_LESS_THAN <
Example:
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char **argv)
{
if(argc != 3)
puts("Usage: copyfile [from] [to]");
++i + 1 does not produce an undefined value for i. If he put ++i += i + 1, that would be a problem.
Not to ruin a perfectly good round of public humiliation on another member, but I should point out I posted code yesterday that does basically exactly this task. Though mine works a little...