And that's what I thought.
However, despite compiling and running correctly, when I select the addition option (which is option or case: 0), nothing is output. on the web page.
Right. - Actually I didn't include both.. I tried the first one, it didn't work, so I rem'd it out and tried the second.
One other post mentioned that those are "not standard," which is what I've...
While the link you provided helps with building functions with arguments, or parameters, my real problem is putting it all in context to the stuff that's already there.
Thanks.
While that has all of the nuts and bolts to establish the connection, I'm really after seeing an example that actually passes a function back and forth.
Again, I'm trying to collect input...
I have an assignment that takes existing client and server code, that is fully able to make a TCP connection with arguments and share data and add to it.
When I run it it hits the INPUT function and waits for input. Even though the program does not prompt the user to enter something, I tested it by entering integers....
I am a student of C++ currently enrolled in a Sockets Programming class, so I have only an entry level knowledge of C++. I'm trying to decipher what my teacher has proposed.
He gave us the code,...
Right, I don't expect any changes to be made.
I just didn't know where to enter arguments into the program. I thought that there was some code that I'd have to add.
Hey 2kaud,
As always, thanks for your valued input. You've instantly made this more clear.
To answer your questions.
- Yes - I ran both programs, but they're not "designed" to work initially. The...
right. That much I know. In fact, BOTH programs want me to pass arguments.
The server side wants to know what port I'll be using.
The client side wants to know the ip address of the server, as well...
Hey Victor.
Yes. After each F10 selection, I take note of the output. I continue to select F10 until I get a console screen which displays the info listed in this block of code