Search:
Type: Posts; User: tmcfadden
Search:
Search took 0.04 seconds; generated 59 minute(s) ago.
-
After copying the .cpp file to the cgi-bin directory of the server, I use the g++ compiler.
Stepping through the program locally errors out when it hits the GET method because it's got no way to...
-
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.
Here's the block...
-
I'm working on a CGI application.
I'm trying to test my input with a switch statement and output the result with html tags to populate a web page
From within the switch, I've coded as follows:
...
-
March 28th, 2013, 12:26 PM
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...
-
March 28th, 2013, 11:07 AM
I've written a simple program that output's my name, course, and a time \ date stamp.
Having researched the code to do so, I've used the includes for both the ctime and time.h libraries.
I...
-
March 14th, 2013, 07:10 PM
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.
I see and appreciate what...
-
March 14th, 2013, 08:47 AM
You're correct. I haven't got enough knowledge yet of the basics to have performed this yet.
Been looking all night
This link is a great help. Thanks again.
-
March 13th, 2013, 10:08 PM
Okay, so doing so passes the variables to the server and the server acknowledges what was sent.
Here's where this really gets tricky for me.
In an effort to fully understand the operation side...
-
March 13th, 2013, 10:12 AM
As always 2kaud, Thanks in advance for your insight. It's greatly valued.
As you referenced, I am using the very same code as the last exercise, which accepts command arguments and establishes a...
-
March 12th, 2013, 04:06 PM
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...
-
March 12th, 2013, 01:44 PM
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.
We're asked to add some code to it so that...
-
March 8th, 2013, 04:07 PM
Here's what this program does.
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....
-
March 6th, 2013, 07:23 PM
Here you go.
What I did was changed the following two variables:
Mtrx *mtrx_ptr = new Mtrx[500]; //the pointer variable in red was formerly *Mtrx
MSTbl table; //the...
-
March 6th, 2013, 06:58 PM
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,...
-
March 6th, 2013, 02:44 PM
Okay.
I understand what was done.
Both the variable and the pointer variable are the same so I renamed them:
Mtrx *mtrx_ptr
I also renamed the MSTbl to table.
-
March 6th, 2013, 12:48 PM
okay. but that would have nothing to do with the errors..
-
March 6th, 2013, 10:55 AM
I have some code does not compile. I think it's missing an included library, but not sure.
In the int main() block of code, the following three items give errors:
1. Mtrx (the one following...
-
February 27th, 2013, 09:26 AM
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.
I finally figured out that I...
-
February 26th, 2013, 09:16 PM
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...
-
February 26th, 2013, 03:28 PM
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...
-
February 26th, 2013, 01:29 PM
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
if (argc != 3)
{...
-
February 26th, 2013, 12:31 PM
Let me rephrase the question.
I've stepped through both the server and client programs with F10 (both of which I provided earlier).
What happens is that my instructor has created both programs,...
-
February 25th, 2013, 06:02 PM
Well, that's part of the problem.
I KNOW that the code presented works, but what it does, I do not know.
I've tried to run both the client and server program, but cannot see the results. I'm...
-
February 25th, 2013, 02:38 PM
I have a client \ server project that I'm working on. Very entry level:
I have to do the following
Server- Code in the listening port and start the server (I assume by executing the...
-
February 17th, 2013, 08:51 PM
So I have new code here that I need to do the same with.
1. using the gethostbyname function, prompt user for domain name, which will be entered as a string to be resolved
2. return the ip...
|
Click Here to Expand Forum to Full Width
|