<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>char</title>
<copyright>Copyright (c) 2012 Iran ICT News. All rights reserved.</copyright>
<link>http://itshenas.com/</link>
<description>پایگاه فناوری اطلاعات و ارتباطات ایران</description>
<language>fa</language> 
<pubDate>Thu, 23 Feb 2012 04:27:23 +0330</pubDate>
<lastBuildDate>Thu, 23 Feb 2012 04:27:23 +0330</lastBuildDate>
<generator>IndexMaker 1.0</generator>
<ttl>1440</ttl> 
<MaxOfPages></MaxOfPages>
<webMaster>info@itshenas.com</webMaster>
<managingEditor>info@itshenas.com</managingEditor>
<image>
<title>پایگاه فناوری اطلاعات و ارتباطات ایران</title>
<width>120</width>
<height>80</height>
<link>http://itshenas.com/</link>
<url>http://itshenas.com/image/logo.gif</url>
</image>
<item>
<title><![CDATA[ اسپاگتی با طعم استاندارد ]]></title>
<link>http://char.itshenas.com/T_123374_____اسپاگتی-با-طعم-استاندارد.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_123374_____اسپاگتی-با-طعم-استاندارد.htm" target="_blank"><img src="http://itshenas.com/pictures/source1/901343004136356060292_23967_thum.jpg" border="1" width="90" height="60" align="right" ></a>  ...   تعریف تابع به صورت زیر است:  <b><font color="red">char</font></b> * strcat ( <b><font color="red">char</font></b> * destination, <b><font color="red">char</font></b> * <a href="http://source.itshenas.com/T______source.htm">source</a> );  strncat: این تابع دقیقا مثل تابع بالا رفتار می کند، با این تفاوت که به اندازه مشخصی از رشته دومی را به رشته  اولی می چسباند ...  مثلا:   <b><font color="red">char</font></b> str1[] = “jamejam”;  <b><font color="red">char</font></b> str2[] = “online”;  strncat(str1,str2,2);  <a href="http://output.itshenas.com/T______output.htm">output</a> » jamejamon  نحوه تعریف این تابع به صورت زیر است:   <b><font color="red">char</font></b> * strncat (<b><font color="red">char</font></b> * destination, <b><font color="red">char</font></b> * <a href="http://source.itshenas.com/T______source.htm">source</a>, size_t num);  اگر به جای num طول رشته دومی را بدهیم همان کار تابع بالا را انجام می دهد ...   نحوه تعریف این تابع به صورت زیر است:  <b><font color="red">char</font></b> * strcpy ( <b><font color="red">char</font></b> * destination, <b><font color="red">char</font></b> * <a href="http://source.itshenas.com/T______source.htm">source</a> );  strncpy: این تابع عملی شبیه به strncat برای strcat دارد، یعنی شما مقدار محدودی از یک رشته را در رشته دیگر <a href="http://xn--3ib9fse.itshenas.com/T______کپی.htm">کپی</a> می کنید ...   نحوه تعریف آن نیز مثل strncat است:  <b><font color="red">char</font></b> * strncoy ( <b><font color="red">char</font></b> * destination, <b><font color="red">char</font></b> * <a href="http://source.itshenas.com/T______source.htm">source</a>, size_t num );  strcmp: این تابع دو رشته را با هم مقایسه می کند و یک عدد صحیح را به عنوان خروجی برمی گرداند ...  تابع به صورت زیر تعریف شده است:  int strcmp ( const <b><font color="red">char</font></b> * str1, const <b><font color="red">char</font></b> * str2 );  strncmp: این تابع نیز مانند باقی توابع دارای n یک مقدار مشخص از یک رشته را با رشته دیگر مقایسه می کند و نحوه تعریف آن به صورت زیر است:  int strncmp ( const <b><font color="red">char</font></b> * str1, const <b><font color="red">char</font></b> * str2, size_t num );  در استفاده از تمامی توابع بالا جهت حصول از اطمینان از عملکرد توابع پیشنهاد می شود از تعریف دوم تابع استفاده کنید مثلا strncat به جای strcat، استفاده از این توابع باعث می شود <a href="http://xn--mgbg4fe48d.itshenas.com/T______امنیت.htm">امنیت</a> <a href="http://xn--ugb7v.itshenas.com/T______کد.htm">کد</a> شما بیشتر باشد (درباره خطای overflow پیشتر توضیح <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> شده است، همین طور در مقاله دو هفته پیش در مورد <a href="http://xn----zmch1ap9ib.itshenas.com/T______رشته-ها.htm">رشته ها</a>) ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ برنامه نویسی به سبک پترس ]]></title>
<link>http://char.itshenas.com/T_118645_____برنامه-نویسی-به-سبک-پترس.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_118645_____برنامه-نویسی-به-سبک-پترس.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/23.jpg" border="1" width="90" height="60" align="right" ></a>  ...   <a href="http://xn----gncwi7b6a14d.itshenas.com/T______قطعه-کد.htm">قطعه کد</a> زیر را در <a href="http://xn--wgbn5b.itshenas.com/T______نظر.htm">نظر</a> بگیرید:   void overflow_function (<b><font color="red">char</font></b> *str){      <b><font color="red">char</font></b> buffer[10];      strcpy(buffer, str);  }  int main(){      <b><font color="red">char</font></b> <a href="http://big.itshenas.com/T______big.htm">big</a>_string[14];      strcpy(<a href="http://big.itshenas.com/T______big.htm">big</a>_string,"bufferoverflow");      overflow_function(<a href="http://big.itshenas.com/T______big.htm">big</a>_string);      return 0;  }  از لحاظ قواعد گرامری این <a href="http://xn----gncwi7b6a14d.itshenas.com/T______قطعه-کد.htm">قطعه کد</a> درست است و باید بدون اشکال کار کند اما در زمان اجرا، خطای در حال اجرا صادر خواهد شد با این مضمون:  <a href="http://stack.itshenas.com/T______stack.htm">stack</a> around the variable ‘buffer’ was corrupted  بسیار خب، این خطا به  ما می گوید که متغیر <a href="http://xn--mgbb2a4d.itshenas.com/T______بافر.htm">بافر</a> خراب شده است ...  <a href="http://xn--ugb7v.itshenas.com/T______کد.htm">کد</a> بازنویسی شده به صورت زیر خواهد بود:  void overflow_function (<b><font color="red">char</font></b> *str){      <b><font color="red">char</font></b> buffer[10];      strncpy(buffer, str,10);  }  int main(){      <b><font color="red">char</font></b> <a href="http://big.itshenas.com/T______big.htm">big</a>_string[14];      strncpy(<a href="http://big.itshenas.com/T______big.htm">big</a>_string,"bufferoverflow",14);      overflow_function(<a href="http://big.itshenas.com/T______big.htm">big</a>_string);      return 0;  }  امیربهاالدین سبط الشیخ ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ قالب گیری دیجیتال ]]></title>
<link>http://char.itshenas.com/T_117955_____قالب-گیری-دیجیتال.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_117955_____قالب-گیری-دیجیتال.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/tips/17.jpg" border="1" width="90" height="60" align="right" ></a>  ...   فرض می کنیم که طول خط ورودی از سمت <a href="http://xn--mgbc0ab01d.itshenas.com/T______کاربر.htm">کاربر</a> داخل متغیر length قرار گرفته باشد، ابتدا یک تابع به نام substr معرفی می کنیم، شکل کلی این تابع به صورت زیر است:  int substr(<b><font color="red">char</font></b> dest[], <b><font color="red">char</font></b> src[], int position);  این تابع متن src را بصورت بلاک هایی به اندازه length در dest قرار می دهد و اندیس آخرین عنصری که از src در dest قرار <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> شده است را به علاوه 1 می کند و به عنوان خروجی برمی گرداند ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ بازی بزرگان ]]></title>
<link>http://char.itshenas.com/T_114415_____بازی-بزرگان.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_114415_____بازی-بزرگان.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/10.jpg" border="1" width="90" height="60" align="right" ></a>  ...   اعداد را به این صورت از <a href="http://xn--mgbc0ab01d.itshenas.com/T______کاربر.htm">کاربر</a> دریافت می کنیم:           <b><font color="red">char</font></b> num1[1000],num2[1000];           std::cout «« "<a href="http://enter.itshenas.com/T______enter.htm">enter</a> first number : " «« std::endl;           std::cin »» num1;           std::cout «« "<a href="http://enter.itshenas.com/T______enter.htm">enter</a> second number : " «« std::endl;           std::cin »» num2;  به این نکته توجه داشته باشید که این جا اعداد ما 1000رقمی هستند و <a href="http://xn----ymcbxw4bxd0alp86l.itshenas.com/T______میزان-حافظه.htm">میزان حافظه</a> اشغالی برای آن ها با کوچک تر شدن شان تغییری نمی کند، ما می توانیم با تعریف اعداد به صورت اشاره گر برای آن ها <a href="http://xn--mgbl8a9a5a.itshenas.com/T______حافظه.htm">حافظه</a> داینامیک در <a href="http://xn--wgbn5b.itshenas.com/T______نظر.htm">نظر</a> بگیریم و هر عدد بتواند هر تعداد رقمی را که خواست داشته باشد ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ تونلی به دنیای قدیم ]]></title>
<link>http://char.itshenas.com/T_113857_____تونلی-به-دنیای-قدیم.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_113857_____تونلی-به-دنیای-قدیم.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/94.jpg" border="1" width="90" height="60" align="right" ></a>  ...  قدم نخست برای راه اندازی یک <a href="http://xn----zmctn2a5d3aj.itshenas.com/T______خط-فرمان.htm">خط فرمان</a>، تولید <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a>ی پایه به صورت زیر است:     <a href="http://class.itshenas.com/T______class.htm">class</a> base<a href="http://command.itshenas.com/T______command.htm">command</a> {   public :            base<a href="http://command.itshenas.com/T______command.htm">command</a>(int argc,<b><font color="red">char</font></b>** argv);            base<a href="http://command.itshenas.com/T______command.htm">command</a>();            <a href="http://virtual.itshenas.com/T______virtual.htm">virtual</a> void execute();            <a href="http://virtual.itshenas.com/T______virtual.htm">virtual</a> bool contain(const <b><font color="red">char</font></b>* arg);            <a href="http://virtual.itshenas.com/T______virtual.htm">virtual</a> void printhelp();  private :            int argc;            <b><font color="red">char</font></b>** argv;  {  این <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> چیست و چه کاری قرار است انجام دهد؟  این <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> تمامی متدها و <a href="http://xn--ugb9aj75c.itshenas.com/T______فیلد.htm">فیلد</a><a href="http://xn--mgb7duu.itshenas.com/T______های.htm">های</a> مورد نیاز برای اجرا و نگهداری هر دستور را در خود دارد، و به عبارت بهتر یک شی  از یک دستور است ...   در ضمن <a href="http://xn----ymcbmmwr1a85kda.net/">طراحی</a> <a href="http://xn--mgbu0e1kobyn2i.itshenas.com/T______یکپارچه.htm">یکپارچه</a> ای خواهیم داشت، بدین ترتیب <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> <a href="http://file.itshenas.com/T______file.htm">file</a> را برای کار با <a href="http://xn----ymcb5hqat24g.itshenas.com/T______فایل-ها.htm">فایل ها</a> را به صورت زیر می نویسیم:  <a href="http://class.itshenas.com/T______class.htm">class</a> <a href="http://file.itshenas.com/T______file.htm">file</a>{            const static int buf_size = 4096;  public:            static void copy(<b><font color="red">char</font></b>* <a href="http://source.itshenas.com/T______source.htm">source</a>,<b><font color="red">char</font></b>* destination);            static void <a href="http://move.itshenas.com/T______move.htm">move</a>(<b><font color="red">char</font></b>* <a href="http://source.itshenas.com/T______source.htm">source</a>,<b><font color="red">char</font></b>* destination);            static void delete(<b><font color="red">char</font></b>* <a href="http://file.itshenas.com/T______file.htm">file</a>name);            static void rename(<b><font color="red">char</font></b>* oldname,<b><font color="red">char</font></b>* newname);            static bool exist(<b><font color="red">char</font></b>* <a href="http://file.itshenas.com/T______file.htm">file</a>name);            static void create(<b><font color="red">char</font></b>* <a href="http://file.itshenas.com/T______file.htm">file</a>name,bool <a href="http://overwrite.itshenas.com/T______overwrite.htm">overwrite</a>);  };  نیازی به توضیح در مورد متد<a href="http://xn--mgb7duu.itshenas.com/T______های.htm">های</a> <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> نیست، بسیار خ<a href="http://xn----ymcess9a1it9b.net/">وب</a> پس پیاده سازی متد execute از <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> مربوط به دستور copy به صورت زیر خواهد  شد:            void execute(){                           if(this-»contain("/x") || this-»contain("/x")){                               <a href="http://file.itshenas.com/T______file.htm">file</a>::<a href="http://move.itshenas.com/T______move.htm">move</a>(this-»argv[1],this-»argv[2]);                     }                     else                               <a href="http://file.itshenas.com/T______file.htm">file</a>::copy(this-»argv[1],this-»argv[2]);  }  حالا که موفق شدیم <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> مربوط به copy را پیاده کنیم، به بررسی <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> دیگری می پردازیم ...  این <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> بصورت زیر تعریف شده است :  <a href="http://class.itshenas.com/T______class.htm">class</a> <a href="http://utility.itshenas.com/T______utility.htm">utility</a>{  public :            <a href="http://utility.itshenas.com/T______utility.htm">utility</a>(<b><font color="red">char</font></b>* <a href="http://command.itshenas.com/T______command.htm">command</a>);            <a href="http://utility.itshenas.com/T______utility.htm">utility</a>();            void run();  private :            <b><font color="red">char</font></b>* <a href="http://command.itshenas.com/T______command.htm">command</a>;            <b><font color="red">char</font></b>** argv;            int argc;            base<a href="http://command.itshenas.com/T______command.htm">command</a>* internale<a href="http://command.itshenas.com/T______command.htm">command</a>;            void parse();            void create<a href="http://command.itshenas.com/T______command.htm">command</a>();  {;   این <a href="http://xn--mgby1c9x.itshenas.com/T______کلاس.htm">کلاس</a> شامل 3 <a href="http://xn--ugb9aj75c.itshenas.com/T______فیلد.htm">فیلد</a> است یکی argv ودیگری argc که قبلا درمورد آنها و کاربردشان صحبت کرده ایم ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ برنامه ها از کجا آغاز می شوند؟ ]]></title>
<link>http://char.itshenas.com/T_106008_____برنامه-ها-از-کجا-آغاز-می-شوند-.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_106008_____برنامه-ها-از-کجا-آغاز-می-شوند-.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/8.jpg" border="1" width="90" height="60" align="right" ></a>  ...   روش کار در <a href="http://xn---c-btdd3c6g.itshenas.com/T______زبان-c.htm">زبان c</a> و <a href="http://c.itshenas.com/T______c-.htm">c++</a> مانند <a href="http://xn---c-btdd3c6g.itshenas.com/T______زبان-c.htm">زبان c</a>#  است، اما با تفاوت هایی که آن هم به خاطر ماهیت <a href="http://xn-----btdbcc7ddq2pgddmr62sba.itshenas.com/T______زبان-برنامه-نویسی.htm">زبان برنامه نویسی</a> است، که به صورت زیر تعریف می شود:   int main(void)int main(int argc, <b><font color="red">char</font></b> *argv[])تابع main می تواند مقداری را برنگرداند، مقدار argv شامل نام <a href="http://xn--mgbb1a0fdi.itshenas.com/T______برنامه.htm">برنامه</a> است به همین خاطر همیشه مقدار argc برابر 1 است ...   در نگارشی از <a href="http://xn---c-btdd3c6g.itshenas.com/T______زبان-c.htm">زبان c</a> که در <a href="http://xn-----dtdjbbunsqa1tbe1c63ngab.com/">سیستم</a> <a href="http://xn--mgb9a8ad.itshenas.com/T______عامل.htm">عامل</a> <a href="http://apple.itshenas.com/T______apple.htm">apple</a> استفاده می شود، تعریف این متد به صورت زیر است:  int main(int argc, <b><font color="red">char</font></b> *argv[], <b><font color="red">char</font></b> *envp[])همان طور که مشاهده می کنید، تفاوت هایی بین فراخوانی تابع main در یک زبان و پلتفورم متفاوت، وجود دارد ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ حقه های برنامه نویسی ]]></title>
<link>http://char.itshenas.com/T_103335_____حقه-های-برنامه-نویسی.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_103335_____حقه-های-برنامه-نویسی.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/45.jpg" border="1" width="90" height="60" align="right" ></a>  ...  <a href="http://xn--ugb7v.itshenas.com/T______کد.htm">کد</a> زیر را در <a href="http://xn--wgbn5b.itshenas.com/T______نظر.htm">نظر</a> بگیرید:   ];10unsinged <b><font color="red">char</font></b> input_buffer[    unsigned <b><font color="red">char</font></b> i;    ; i++) {10; i  ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ تجمع  قدرت   در  یک   زبان ]]></title>
<link>http://char.itshenas.com/T_75794_____تجمع-قدرت--در-یک--زبان.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_75794_____تجمع-قدرت--در-یک--زبان.htm" target="_blank"><img src="http://itshenas.com/pictures/source/77513_75794.jpg" border="1" width="90" height="60" align="right" ></a>  ...  به عنوان مثال نوع <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> ایint  مشخص کننده <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> عددی صحیح،  float  <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a>  عددی اعشاری، double <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> عددی اعشاری بزرگ، <b><font color="red">char</font></b>  <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a>  <a href="http://xn--mgbaj0ac92ed.itshenas.com/T______کاراکتر.htm">کاراکتر</a>ی وbool  <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> دو مقداری درست یا غلط است ...  به عنوان مثال در <a href="http://c.itshenas.com/T______-c.htm">++c</a> ، متغیری از نوع <a href="http://xn--mgbpb0h.itshenas.com/T______داده.htm">داده</a> ای <b><font color="red">char</font></b>  یک <a href="http://xn--mgbbh16d.itshenas.com/T______بایت.htm">بایت</a> از <a href="http://xn--mgbl8a9a5a.itshenas.com/T______حافظه.htm">حافظه</a> را برای <a href="http://xn--tgbde2g74a.itshenas.com/T______ذخیره.htm">ذخیره</a> یک <a href="http://xn--mgbaj0ac92ed.itshenas.com/T______کاراکتر.htm">کاراکتر</a> رزرو می کند و یا متغیری از نوع int ، بسته به نوع <a href="http://xn--mgba4a1ed65a2jxj.itshenas.com/T______کامپایلر.htm">کامپایلر</a> 2 یا 4 <a href="http://xn--mgbbh16d.itshenas.com/T______بایت.htm">بایت</a> از <a href="http://xn--mgbl8a9a5a.itshenas.com/T______حافظه.htm">حافظه</a> را برای نگهداری یک عدد صحیح رزرو می کند ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ توکیو قطب بازی های ویدئویی شد ]]></title>
<link>http://char.itshenas.com/T_29446_____توکیو-قطب-بازی-های-ویدئویی-شد.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_29446_____توکیو-قطب-بازی-های-ویدئویی-شد.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/game/25.jpg" border="1" width="90" height="60" align="right" ></a>  ...  بد نیست بدانید شخصیت <a href="http://xn--mgb7duu.itshenas.com/T______های.htm">های</a> <a href="http://xn-----9sdbbd7cu4qmac09mdacda.itshenas.com/T______بازی-های-ویدئویی.htm">بازی های ویدئویی</a> ژاپنی در این کشور آن  قدر جذابیت دارند که حتی دایسو که انوموتو- سرمایه دار مشهور ژاپنی که قرار بود به جای انوشه انصاری به <a href="http://xn--mgb3a6a.itshenas.com/T______فضا.htm">فضا</a> سفر کند ولی به علت مشکلات پزشکی از این کار بازماند- اعلام کرده بود به هنگام سفر لباس یک شخصیت کارتونی به نام <b><font color="red">char</font></b> aznable را به تن می کند  ... </p>]]>
</description>
</item>
<item>
<title><![CDATA[ آموزش دلفی (بخش ششم) ]]></title>
<link>http://char.itshenas.com/T_43553_____آموزش-دلفی-بخش-ششم-.htm</link>
<pubDate>2006-02-06T00:00:00Z</pubDate>
<description>
<![CDATA[<p dir="rtl" align="justify"><a href="http://char.itshenas.com/T_43553_____آموزش-دلفی-بخش-ششم-.htm" target="_blank"><img src="http://itshenas.com/pictures/pics/programming/44.jpg" border="1" width="90" height="60" align="right" ></a>  ... 4096] of <b><font color="red">char</font></b>;   NumRead: integer;   FileLength: longint; begin   AssignFile(FromF, <a href="http://source.itshenas.com/T______source.htm">source</a>);   <a href="http://reset.itshenas.com/T______reset.htm">reset</a>(FromF);   AssignFile(ToF, <a href="http://DESTINATION.itshenas.com/T______DESTINATION.htm">DESTINATION</a>);   rewrite(ToF);   FileLength := FileSize(FromF);   with <a href="http://ProgressBar.itshenas.com/T______ProgressBar.htm">ProgressBar</a>1 do   begin     Min := 0;     Max := FileLength;     while FileLength > 0 do     begin       BlockRead(FromF, <a href="http://Buffer.itshenas.com/T______Buffer.htm">Buffer</a>[0], SizeOf(<a href="http://Buffer.itshenas.com/T______Buffer.htm">Buffer</a>), NumRead);       FileLength := FileLength - NumRead;       BlockWrite(ToF, <a href="http://Buffer.itshenas.com/T______Buffer.htm">Buffer</a>[0], NumRead);       Position := Position + NumRead;     end;     CloseFile(FromF);     CloseFile(ToF);   end; end; ... </p>]]>
</description>
</item>
</channel></rss>
