3 ms·
What if it though you wanted an example of how to construct a function? It gave you a direct answer and threw in a second example on how arguments work by addi
by UncleEntity 4y ago
What if it though you wanted an example of how to construct a function?
It gave you a direct answer and threw in a second example on how arguments work by adding a third one on top of what you requested.
I can’t even count how many times I’ve had to look at example code to figure out how to do something that had nothing to do with the code I was looking at. If I asked it where “const” needed to be placed in a C++ function to effect the whole function and it started to question my motivation I’d not be very happy, “just answer the question, you daffy computer!”
You should post your question on stack overflow and see how that goes.
- roflyear 4y agoWhy are you being so disingenuous about this?
- UncleEntity 4y agoHonestly, I just enjoy the absolute denial people are in. You asked it the most general question you could think up and it gave a reasonable answer which 100% answered the question. If someone asked me the same question I’d assume they were just interested in how to construct a function and not making a function that has a specific goal and give a similar answer. It probably learned this from the bazillion stack overflow questions by people who didn’t pay attention in class and are trying to get the interwebs to do their homework for them where people want to help them learn and not finish their homework assignments. In the context of not <whatever your preconceived notions are> this whole thing is perfect genuous.
- roflyear 4y agoI said it was a sensible answer. I'm not sure what you're trying to prove.