Search:

Type: Posts; User: arti

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,118

    I've been registered for three years but it is...

    I've been registered for three years but it is the first time that I am posting so much on the forum; therefore, I don't know much. What click_here suggested I did not know. You and some others write...
  2. Replies
    7
    Views
    1,118

    Okay will do! Thank you!

    Okay will do! Thank you!
  3. Replies
    7
    Views
    1,118

    Quick thing....i used the tags but that's the way...

    Quick thing....i used the tags but that's the way a single line comes out.
  4. Replies
    7
    Views
    1,118

    Function within a function

    I'm thinking of making a function that passes functions as parameters. I'm not sure how to do it though...this is my stab at it.


    void CalcOps(void ovtHrs(&record[i].hrs_wrk, &record[i].ovt_hrs,...
  5. Replies
    49
    Views
    4,815

    I did try it and I did write it in my code and it...

    I did try it and I did write it in my code and it did work except for the jumping lines which i tried to fix but to no avail. It's not that I can't do this alone because i can but I'm strapped for...
  6. It seem that you declared the variable of struct...

    It seem that you declared the variable of struct "IP" in the function is_valid_ip but you have to and it's best to declare like so


    typedef struct data
    {

    int a;
    int b;
    int...
  7. Replies
    49
    Views
    4,815

    And the city and state are on the same line but...

    And the city and state are on the same line but nothing printed to the screen. I've copied the main code to another directory to test all the different codes i can use and each one is failing me, for...
  8. Replies
    49
    Views
    4,815

    It didn't work because the city and state didn't...

    It didn't work because the city and state didn't print
  9. Replies
    49
    Views
    4,815

    12748 #define MAXLINE 250 char...

    12748



    #define MAXLINE 250
    char line3[MAXLINE];
    fgets(line3, MAXLINE, inputFILE);
    gets(line3);

    this didn't work....the command line didn't even show up
  10. Replies
    49
    Views
    4,815

    Ahh okay but I have tried to use fgets other...

    Ahh okay but I have tried to use fgets other times and it doesn't print to the screen; I have seen it done by fprintf and printf and other forums it has been suggested i use fputs or puts, but none...
  11. Replies
    49
    Views
    4,815

    12747 This is an updated code that gets the...

    12747

    This is an updated code that gets the city and state and zip code. I'm doinv everything that I did but now it isn't working



    /* Program: Assign2c
    Course: CISP360
    Author:...
  12. Replies
    49
    Views
    4,815

    I want to read from the file then print to the...

    I want to read from the file then print to the screen the city and the state "New Corio, New Mexico"; however, I can't store the city or the state in a single variable?
    My variables for those two...
  13. Replies
    49
    Views
    4,815

    Thank you Kurt!!

    Thank you Kurt!!
  14. Replies
    49
    Views
    4,815

    I found out the problem. See I was hard coding...

    I found out the problem. See I was hard coding "check no" but i was also putting "check no" in the file so it was only picking that up. I don't know how I could have missed that.


    #define...
  15. Replies
    49
    Views
    4,815

    This is what i currently have in my code. I have...

    This is what i currently have in my code. I have provided the output



    /* Program: Assign2c
    Course: CISP360
    Author: Arturo
    Purpose: Payroll Program
    Date: 03/20/13
  16. Replies
    49
    Views
    4,815

    Will do Matticus. Sorry for responding...

    Will do Matticus. Sorry for responding late...just got online
  17. Replies
    49
    Views
    4,815

    #define CHECK ...

    #define CHECK "************************************************************\n"
    #define CHECKBORDER "* Check No. %3d *\n"
    #define CHECKFORMAT ...
  18. Replies
    49
    Views
    4,815

    True. Sorry about that. I'm getting desperate. I...

    True. Sorry about that. I'm getting desperate. I used fscanf and fprintf before posting here and it worked fine....since now I have to format the check with stars it is not working:


    * ...
  19. Replies
    49
    Views
    4,815

    I used fscanf and fprintf before and it worked...

    I used fscanf and fprintf before and it worked but now it isn't. I'm currently using it and it's not working. I also USED the getline function but that's not working at all either.
  20. Replies
    49
    Views
    4,815

    I'm reading ffrom the file check.data which then...

    I'm reading ffrom the file check.data which then is supposed to print to the screen the name Sabre Corporation which is in the file. I fscanf then I fprintf so i could read then print but it's not...
  21. Replies
    49
    Views
    4,815

    Thank you for your advice. Here is the code that...

    Thank you for your advice. Here is the code that I'm having problems with. I followed the code that my tutor suggested i use and it is printing out garbage.
    12743



    #include<stdio.h>...
  22. Replies
    49
    Views
    4,815

    I am not wasting your time! This snippet of the...

    I am not wasting your time! This snippet of the code is from a bigger part of code which I have to take out so I don't have to post my entire code on the thread, which upon viewing what i posted i...
  23. Replies
    49
    Views
    4,815

    And another problem. I'm reading from the txt...

    And another problem.

    I'm reading from the txt file that says


    Check NO.

    Sabre Corporation
    15790 West Henness Lane
    New Corio, New Mexico...
  24. Replies
    49
    Views
    4,815

    Okay i found out what was happening....Thank you...

    Okay i found out what was happening....Thank you all for helping me! It is so much appreciated!
  25. Replies
    49
    Views
    4,815

    I thought it wasn't supposed to print 0 if you...

    I thought it wasn't supposed to print 0 if you only initialize it. Also, won't that create a problem in the future for me because the number that is supposed to go in there is 100 then increment to...
Results 1 to 25 of 110
Page 1 of 5 1 2 3 4