Moving File to be printed
Page 1 of 17 Replies - 542 Views - Last Post: 16 December 2010 - 05:35 PM
#1
Moving File to be printed
Posted 16 December 2010 - 02:54 PM
I have been working on this program for a couple days and I cant seem to crack it. My experience makes no difference because the library typically explains what needs to be done. Its 2 programs the first: I have a file that Want to move to a folder in a different directory. the second: Then have a program reading that directory and if there is anything in there print it (printer). Now i've looked up how to print a file but its not clear and I currently have a program that checks a directory for a file and copies it into itself rather than another directory because code on that isnt clear. This really isnt a major problem I just want to know how to do it. Im eager and it would make good practice.
Replies To: Moving File to be printed
#2
Re: Moving File to be printed
Posted 16 December 2010 - 02:57 PM
#3
Re: Moving File to be printed
Posted 16 December 2010 - 03:01 PM
#4
Re: Moving File to be printed
Posted 16 December 2010 - 03:07 PM
edit: also why are you writing the code on Mac and compiling it on Windows? seems to me that you can just as easily write the code on windows.
This post has been edited by ishkabible: 16 December 2010 - 03:08 PM
#5
Re: Moving File to be printed
Posted 16 December 2010 - 03:13 PM
#include <stdio.h>
int main()
{
if ( rename("C:\\mdcrack", "C:\\mdlol") )
perror( NULL );
return 0;
}
Thats useless. and its windows xp not 7 (which is garbage in my opinion)
it would be easier.... if i had the computer. Its a tough situation, but if i can get a general idea of what i need to look at to figure this out I would be fine. its just no one i know has written code for printer purposes...
This post has been edited by ishkabible: 16 December 2010 - 03:12 PM
Reason for edit:: please use code tags
#6
Re: Moving File to be printed
Posted 16 December 2010 - 03:14 PM
P.S. use code tags!!
This post has been edited by ishkabible: 16 December 2010 - 03:17 PM
#7
Re: Moving File to be printed
Posted 16 December 2010 - 03:19 PM
#8
Re: Moving File to be printed
Posted 16 December 2010 - 05:35 PM
|
|

New Topic/Question
Reply




MultiQuote







|