Search:

Type: Posts; User: csmatheng

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,855

    Ok, I get that. So are the messages stored in the...

    Ok, I get that. So are the messages stored in the buffer? Thanks for the help, but I am not a programmer and it has been 8 years since I have written in C. Obviously, this class is far advanced and...
  2. Replies
    3
    Views
    1,855

    Help with client/server programming

    I have an assignment to write a simple mail application program. I am working on the server side of things now, but I am stuck. I have the code working, but it doesn't satisfy requirements. I am...
  3. Need help for DNS lookup in Switch statement

    I need to write a program that takes a command line argument of -d and -s and make each argument perform something different. I am supposed to write a DNS lookup for the -d argument which I am doing...
  4. Replies
    6
    Views
    1,477

    Thanks for the suggestion DavidP. I will give...

    Thanks for the suggestion DavidP. I will give this a shot as well. I do appreciate the response.
  5. Replies
    6
    Views
    1,477

    I apologize Lurker for posting in the wrong...

    I apologize Lurker for posting in the wrong forum. I was reading the game programming forum and forgot where I was when I posted.
  6. Replies
    6
    Views
    1,477

    Thanks

    Thanks for the suggestion. What you described is exactly the problem I am experiencing. I will certainly try adding that code to see if that will delay the termination so I can view the results.
  7. Replies
    6
    Views
    1,477

    Help with vanishing screen

    I posting this message seeking some assistance on an issue I am experiencing. I have been helping a friend with writing C programs as he is currently in school. I have taken C a while ago, and I...
  8. Replies
    2
    Views
    1,337

    Addendum to pointers to structs

    I would just like to add that I would also like to omit the statements in "main" to obtain the input from user and create a function called "GetInput" that would handle that so that "main" doesnt...
  9. Replies
    2
    Views
    1,337

    Pointers to structs

    I have this program to write that will add two fractions input by the user. I need to do this using pointers to structs. I have the code written, but it will not run all the way through. Could...
  10. Replies
    9
    Views
    1,482

    I am sorry. It was NOT EXACTLY the same. I found...

    I am sorry. It was NOT EXACTLY the same. I found the mistake. I was missing the comma in one of the scanf statements. I have corrected it and it works fine. Now, I need to figure out how to reduce...
  11. Replies
    9
    Views
    1,482

    It is EXACTLY the same except I just removed...

    It is EXACTLY the same except I just removed fflush(stdin) and I still get the same error.
  12. Replies
    9
    Views
    1,482

    Well I am going to be a good programmer, but I...

    Well I am going to be a good programmer, but I need to get through the basics first then get some experience. So does anyone have any idea why I am getting the error message when trying to compile...
  13. Replies
    9
    Views
    1,482

    error

    lab1.c: In function "main":
    lab1.c:21: invalids operands to binary &
  14. Replies
    9
    Views
    1,482

    Compiling error using GCC in Unix

    Here is my code and it will compile and run perfectly in Borland, but using gcc in Unix, I get an error, "invalid operand to binary" or something along those lines and I have no idea what to do to...
  15. Replies
    4
    Views
    10,313

    It must be in fractional form though. The way you...

    It must be in fractional form though. The way you have it would be in decimal form. thanks though.
  16. Replies
    4
    Views
    10,313

    Reducing Fractions/Entering fraction form

    Is the only way to enter fractions in and scan them from the user is one number at a time as in, enter the numerator of fraction 1, enter the denominator of fraction 1 and have a scan statement in...
  17. Replies
    5
    Views
    2,005

    Hammer (i is set to # of customers)

    Hammer, " i " is set to the number of customers so I cannot use it to control the loop. I just need to add to the code I posted, so that it will only print 20 lines at a time. Thanks for your help...
  18. Replies
    5
    Views
    2,005

    Printing 20 lines at a time

    I am completing a group project and I just found out that I need to print just 20 lines at a time. I have added the code I thought I needed to add, but it wouldnt work correctly. I know this is easy...
  19. Replies
    1
    Views
    1,160

    Searching Linked List

    I believe I am building my linked list correctly. Now I need help to write a function that will allow me to search two elements of the data and return the third. This program is suppose to accept 3...
  20. Replies
    5
    Views
    884

    To Quzah, I would just like to inform you that...

    To Quzah, I would just like to inform you that the code I submitted for help would not have been the way I left the finalized version. I am fairly new at C and so I like to write the program...
  21. Replies
    5
    Views
    884

    Linked List (mess):

    I have to write a program using linked lists to allow the user to enter three integers, store them in a linked list, then ask the user for the values of the first two integers. Then I have to...
  22. Replies
    1
    Views
    1,300

    Testing for ASCII values?

    I am looking for a function that would ONLY allow the user to enter integers (0-9) ascii values 48-57. I have looked everywhere I know and even asked some other friends of mine but no one has any...
Results 1 to 22 of 22