Search:

Type: Posts; User: arti

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    49
    Views
    4,811

    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...
  2. Replies
    49
    Views
    4,811

    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...
  3. Replies
    49
    Views
    4,811

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

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

    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
  5. Replies
    49
    Views
    4,811

    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...
  6. Replies
    49
    Views
    4,811

    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:...
  7. Replies
    49
    Views
    4,811

    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...
  8. Replies
    49
    Views
    4,811

    Thank you Kurt!!

    Thank you Kurt!!
  9. Replies
    49
    Views
    4,811

    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...
  10. Replies
    49
    Views
    4,811

    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
  11. Replies
    49
    Views
    4,811

    Will do Matticus. Sorry for responding...

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

    #define CHECK ...

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

    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:


    * ...
  14. Replies
    49
    Views
    4,811

    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.
  15. Replies
    49
    Views
    4,811

    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...
  16. Replies
    49
    Views
    4,811

    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>...
  17. Replies
    49
    Views
    4,811

    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...
  18. Replies
    49
    Views
    4,811

    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...
  19. Replies
    49
    Views
    4,811

    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!
  20. Replies
    49
    Views
    4,811

    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...
  21. Replies
    49
    Views
    4,811

    I didn't get that warning, but at first it...

    I didn't get that warning, but at first it printed 2 then I thought it was because i hadn't initialized it so I did then it printed 0 after i initialized it to 0.
  22. Replies
    49
    Views
    4,811

    #include #include...

    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>
    void printReport( FILE **inputFILE);

    #define CHECK "************************************************************\n"
    #define...
  23. Replies
    49
    Views
    4,811

    Okay I believe that this would be the shortest...

    Okay I believe that this would be the shortest code that would compile.



    #include<stdio.h>
    #include<string.h>
    #include<stdlib.h>
    void printReport( FILE **inputFILE);

    #define CHECK ...
  24. Replies
    49
    Views
    4,811

    int number=0; The two was showing up before I...

    int number=0;

    The two was showing up before I initialized the variable number. See I thought the problem was that i was not initialzing the variable number that corresponds to number that is being...
  25. Replies
    49
    Views
    4,811

    They are defines that make up the description and...

    They are defines that make up the description and formatting of the check I am supposed to write with my program
Results 1 to 25 of 28
Page 1 of 2 1 2