View Single Post
Old 07-13-2006, 01:26 PM   #11 (permalink)
heinz1218
Registered User
 
Join Date: Jul 2006
Posts: 9
heinz1218 is on a distinguished road
awesome that worked. so here's what i did, to anyone else reading it:

-downloaded bloodshed, look at the sticky for the link in the main forum
-unzipped/installed dev-c++
-copy/pasted the code redhead so graciously provided, then compiled it (Execute>compile)
-loaded dos prompt (start>run>cmd then 'ok')
-navigated to the folder where the compiled program is (same name as you saved the project as)
-type name of your program input.txt output.txt

That worked, found my input.txt and outputed it as output.txt, sweeeet

out of curiousity, using C++ is there a way to make it user friendly so someone can just double click it in windows, and then it prompts them to find the file or something to that effect? (some other people besides me who don't know dos or anything might need this some day).

Thanks again
heinz1218 is offline   Reply With Quote