Search:

Type: Posts; User: mashley

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,475

    Thank you!

    Thank you!
  2. Replies
    2
    Views
    4,475

    How to put quotes in fprintf statement

    I am writing text to an ascii file.

    I want the text to look like...

    "John", "Doe"

    I have two variables, fName and lName

    how to write my fprintf() statement so I get the quotes in my...
  3. Replies
    5
    Views
    9,823

    bump :)

    bump :)
  4. Replies
    5
    Views
    9,823

    But if I hardcode the %.2e in there, it will only...

    But if I hardcode the %.2e in there, it will only work for numbers with 2 significant digits after the decimal point. If it has 3, 4 or 5 etc..., it will get chopped off. I don't want that. I just...
  5. Replies
    5
    Views
    9,823

    Formatting Scientific Notation output

    #include <stdio.h>
    #include <stdlib.h>
    // Example program............. copywright protected, 2003
    int main()
    {
    float data;

    data = 0.023;

    printf ("e = %e\n",data);
  6. Replies
    5
    Views
    1,523

    more help?

    Can anyone tell me something that isn't already obvious?

    Thanks.
  7. Replies
    5
    Views
    1,523

    Comment on this socket code

    Anyone care to comment on what this socket code does line by line? Thanks. Explain what each line does.


    status = WSAStartup(MAKEWORD(2,0),&Data);

    if (status !=0)
    printf ("Error:...
  8. Replies
    5
    Views
    920

    TE: Programs Authored

    I have written many programs that have "made it to the shelf", but I cannot give out any details, otherwise I would have to shoot you! :)
  9. Replies
    4
    Views
    2,676

    didn't seem to work...

    It didn't seem to work. I step over the CreateThread() routine and no new thread seems to be running. The only one on the list is the WinMain thread.

    Any suggestions? This should be pretty...
  10. Replies
    4
    Views
    2,676

    C++ How to debug a thread?

    I am using MS Visual C/C++ and the program I am working on uses the CreateThread() routine to create five different threads. I am stepping through the debugger and noticed that I cannot get it to...
Results 1 to 10 of 10