Deutsch English Français Italiano |
<utpl9q$2u0jk$1@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder6.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: fir <fir@grunge.pl> Newsgroups: comp.lang.c Subject: saving fileXXX.bmp Date: Sun, 24 Mar 2024 17:44:48 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <utpl9q$2u0jk$1@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 24 Mar 2024 16:44:42 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="3080820"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24 X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 1524 Lines: 14 i want to save bitmap (when using editor) but i dont wannt to pen a dialog for saving ui just wana do quicksave but not replace the file already exist so i want to maybe use such scheme i will sawe "painting001.bmp" and if there is such number i will just increase the number to 002 if such exist i will use 003 and so on do yu thing it is standable to use c std lib (and probably just fopen fclose to detect if that file already exist of there is a need to use some specific windows functions? i never used it though - though maybe i could becouse code that is able to walk on directories and read all files may be handy for various practical usage (liek finding something , removing duplicates etc)