You need to reduce your use of global variables it's a bit ridiculous. Also, consolidate printmatrixB and printmatrixC into one function.
Type: Posts; User: MeTh0Dz
You need to reduce your use of global variables it's a bit ridiculous. Also, consolidate printmatrixB and printmatrixC into one function.
Was that guy using cocaine?
You also need to use WSAStartup().
C and C++ are hardly ugly languages syntactically. You just lack latitude in your programming experiences.
11 months.
Most people. You may want to think about learning basic stuff like this before you try to go in an get a job programming.
This appears to be a similar topic.
http://cboard.cprogramming.com/showthread.php?t=108515
Alright cool (didn't notice your edit until now).
Okay well he has sense edited his original post so it is harder to convey this point.
But listing them in that fashion, is somewhat ambiguous. Especially to a novice programmer like the OP, I...
This is going to be platform dependent, and also you should have.
if (x == 1)
Okay in that case.
Listing two IDEs, an editor, and a compiler is even more nonsensical than the set I mentioned beforehand.
Listing three editors and then a compiler (and not specifying the difference) just seems nonsensical to me. But that's just me.
Stop mixing concepts. Code::Blocks, DevCpp, and KWrite are editors/IDEs, g++ is a compiler. More than likely you are using a port of g++ in DevCpp and Code::Blocks.
It's not really necessary to initiate the arrays to zero.
You just need to NUL terminate the string.
Yes people are quite eager to download executables from random people on the net and run them. In fact, why don't I take down my anti-virus and firewall while I do it. Will that allow it to run...
That would be your fault.
Sure.... But there is inherent semantic ambiguity even by following your statement. But at any rate let's move on. I thnk everyone's thoughts are clear.
Sure it is an argument of semantics, phrasing, word choice, etc.
I'm not saying that it is a huge deal, but regardless I do have a valid point, which people seem to not be able to grasp.
But...
Dug this hole? Hmm..
Did I ever say that he didn't know anything? I just said his wording was ambiguous.
Indeed you could use any base you wanted to represent the location.
But did you anywhere in the question ask explicitly for a certain number base? No.
Therefore you are not accurately...
Like I said Zacs7 example doesn't apply. Look at my example if you want to see one that accurately depicts the situation.
Also, if he is using multiple bases you could assume that, or you could...
That's not even CLOSE to the same thing.
A more accurate example is me saying.
"Give me the binary representation of 5".
And you responding with.
"0x5"
Wow.... Neither of you is getting my point.
Also stop questioning whether I understand number bases, it's quite annoying.
I am simply saying that it is ambiguous to request information in one...
Did I ever say that a value can't be represented in an infinite number of bases and you would always get the same value? No.
Please point out a place where it appears I don't know what I am...
Dude, you are not getting my point at all. Did I ever say that the value would be different when you change bases? No.
I simply said that his wording was not explicit.
And I never said I had a...