Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ty1975

    EOF problem

    I have a file, which I need to check constantly for new data. Let's say if last time I read the data until the end of the file. Then one minute later, new data has been written this file, so I start to use fgetc to new data from last the file position. But every time it shows empty, unless I...
  2. ty1975

    increase one day in a date string

    Hello, victorv. There was one uncertain point. Does this code check leap year? Thanks
  3. ty1975

    increase one day in a date string

    Thanks for both of you. You are real top experts, I am so lucky. :-) Have a nice day!
  4. ty1975

    Check Directory Name in One Folder

    Thank you very much. ;-)
  5. ty1975

    increase one day in a date string

    I have a file name which has the format as "year_month_day.alm", for example "98_04_23.alm". I need to increase it by one day, and get a new file name. So for this file name "98_04_23.alm", should return "98_04_24.alm". I do not know what is the easiest...
  6. ty1975

    HOW TO PRINTER STATUS!!!!!!!!!!!!!

    Hi, guys. I'm wondering whether anyone knows how to check the printer status under windows NT. I need to send a file to printer spooler, and then late check whether it has been printed out, or it has not. Cheers
  7. ty1975

    Check Directory Name in One Folder

    I'm wondering anyone can tell me how to check the directory name under one folder. Basically, I need to check whether certain directory exists under one folder. Thanks a lot. :-)
  8. ty1975

    URGENT, ARRARY and POINTER

    Thanks, mate.
  9. ty1975

    URGENT, ARRARY and POINTER

    Hi there, I have to read in a file line by line, and then write into another file. Since I do not know how many characters in one line, I can not define a char array with fixed size. so what shall I do then? I did sth like char *line; char ch; //read the line char by char for (j = 0; ((ch =...
  10. ty1975

    check printer status in C

    The OS the printer server is running is windows NT 4.0 Thanks
  11. ty1975

    check printer status in C

    thanks, I think it's vax/vms. But I am not sure about the version. I have to check it tomorrow. Thanks very much
  12. ty1975

    check printer status in C

    I need to write up a program which check the printer status in C language? Basically, before I print out the file, I have to check the printer is busy or free to print through network. Can anybody help me out how to write it in C please. Thanks

Part and Inventory Search

Back
Top