Search:

Type: Posts; User: DeathEvil

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,439

    ok nevermind, I fixed some of the compiler errors...

    ok nevermind, I fixed some of the compiler errors but right know I have too much on my plate to work on this. Thanks all for help and feel free to delete the thread.
  2. Replies
    9
    Views
    1,439

    thanks I will review it in a sec. Like I...

    thanks I will review it in a sec. Like I mentioned, there are no definitions because we won't write them (it would take way too long to write the whole program). as for gcc, my virtual machine with...
  3. Replies
    9
    Views
    1,439

    I cannot compile it because I'm missing...

    I cannot compile it because I'm missing definitions:) see this is just a review question for the final. I don't have time to write definitions as I'm studying few different things at the moment.
    can...
  4. Replies
    9
    Views
    1,439

    Need help with review prog

    I have an final today (5PM) and I was working through the review questions. The problem is:
    A text file (A:\INV.DAT) contains 100 lines of inventory data formatted (C40, REAL, INT) for...
  5. Update, as it turns out the validation of hours,...

    Update, as it turns out the validation of hours, pay_rate, and deferred is working now but the first and last name does not. What happens is, whatever I input it says it's too long (even when I type...
  6. Erased

    Erased
  7. it worked!!! I swear I tried that yesterday and...

    it worked!!! I swear I tried that yesterday and it was crashing in the middle...

    anyways, now if I could only validate those damn strings... anyone?
  8. well... I'm not sure how to validate first and...

    well... I'm not sure how to validate first and last name, and validating hours, pay_rate, and deferred fails (no matter what I input, it accepts it)
  9. problem with validating data inside function

    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    void Input_Employee(char*, char*, char*, float*, float*, float*); //prototype

    int main(void)
    {
    #define MAXFL 10 /*Maximum # of...
  10. Replies
    15
    Views
    1,691

    so that function should do the trick and be...

    so that function should do the trick and be supported with ANSI C?


    void flush(void)
    {
    int ch;
    do
    ch = getchar();
    while (ch != EOF && ch != '\n');
    clearerr(stdin);
  11. Replies
    15
    Views
    1,691

    ok thanks, will try that, and argue with him...

    ok thanks, will try that, and argue with him about fflush:D

    Appreciate all the help
  12. Replies
    15
    Views
    1,691

    what is wrong with this first line? fflush...

    what is wrong with this first line?

    fflush what my proff want us to use, that's what I meant by requirement
  13. Replies
    15
    Views
    1,691

    where did you found that first line in my code? ...

    where did you found that first line in my code?

    fflush is a requirement...
  14. Replies
    15
    Views
    1,691

    can somebody compile it and tell me what's wrong?...

    can somebody compile it and tell me what's wrong? pretty please?
  15. Replies
    15
    Views
    1,691

    this is only a fragment of the program so to...

    this is only a fragment of the program so to eliminate confusion I made this part as the whole thing:


    #include <stdio.h>
    /********************************** Constants...
  16. Replies
    15
    Views
    1,691

    Thanks for the replies; unfortunately, the...

    Thanks for the replies; unfortunately, the problem still exists.

    when the user inputs first code number (10digit), I'm getting the results I want (code, remainder, pairsum, and encryption scheme...
  17. Replies
    15
    Views
    1,691

    Noob needs help with macro

    Hi, that's a small part of my code


    #define PAIRSUM(d1, d2) (d1-48)*10+(d2-48) //macro at the top

    while (element < 3)
    {
    printf("Please enter number your credit card number ");
    ...
Results 1 to 17 of 17