Hello all. I am trying to convert a c document to c++. I requires that i use the out word like this.
if (executeCommand("QUIT", out response))
is there and out for c, or a better way that i'm unaware of. Thanks all for your time. bye
Hello all. I am trying to convert a c document to c++. I requires that i use the out word like this.
if (executeCommand("QUIT", out response))
is there and out for c, or a better way that i'm unaware of. Thanks all for your time. bye
I know of no "out word" in C or C++. I don't know if that is pseudocode, but if it isn't, it's a syntax error in either language. If "out" refers to "cout" or "output" or "standard out", well, I'm not going to try to guess what you mean. Please clarify.
out is a C# keyword. In C++ you'd pass by reference (&response)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.