Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tmcfadden

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    480

    Re: outping HTML from within C++

    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...
  2. Replies
    11
    Views
    480

    Re: outping HTML from within C++

    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...
  3. Replies
    11
    Views
    480

    outping HTML from within C++

    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:
    ...
  4. Replies
    5
    Views
    591

    Re: compliing errors with timestamp code

    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...
  5. Replies
    5
    Views
    591

    compliing errors with timestamp code

    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...
  6. Replies
    10
    Views
    875

    Re: Winsock Math Operations client \ server

    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...
  7. Replies
    10
    Views
    875

    Re: Winsock Math Operations client \ server

    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.
  8. Replies
    10
    Views
    875

    Re: Winsock Math Operations client \ server

    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...
  9. Replies
    10
    Views
    875

    Re: Winsock Math Operations client \ server

    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...
  10. Replies
    10
    Views
    875

    Re: Winsock Math Operations client \ server

    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...
  11. Replies
    10
    Views
    875

    Winsock Math Operations client \ server

    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...
  12. Replies
    16
    Views
    937

    Re: Error: Identifer "result" is undefined

    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....
  13. Replies
    16
    Views
    937

    Re: Error: Identifer "result" is undefined

    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...
  14. Replies
    16
    Views
    937

    Re: Error: Identifer "result" is undefined

    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,...
  15. Replies
    16
    Views
    937

    Re: Error: Identifer "result" is undefined

    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.
  16. Replies
    16
    Views
    937

    Re: Error: Identifer "result" is undefined

    okay. but that would have nothing to do with the errors..
  17. Replies
    16
    Views
    937

    Error: Identifer "result" is undefined

    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...
  18. Replies
    14
    Views
    756

    Re: simple client server app

    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...
  19. Replies
    14
    Views
    756

    Re: simple client server app

    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...
  20. Replies
    14
    Views
    756

    Re: simple client server app

    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...
  21. Replies
    14
    Views
    756

    Re: simple client server app

    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)
    {...
  22. Replies
    14
    Views
    756

    Re: simple client server app

    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,...
  23. Replies
    14
    Views
    756

    Re: simple client server app

    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...
  24. Replies
    14
    Views
    756

    simple client server app

    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...
  25. Replies
    12
    Views
    997

    Re: gethostbyaddr and gethostbyname

    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...
Results 1 to 25 of 30
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center