<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2630335884286530243</id><updated>2012-02-16T10:10:45.693-08:00</updated><title type='text'>c++ file</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default?start-index=101&amp;max-results=100'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>150</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8049591998167806952</id><published>2009-07-14T19:23:00.001-07:00</published><updated>2009-07-14T19:23:33.392-07:00</updated><title type='text'>How to open a file with a c program.?</title><content type='html'>Ok I tried fopen to open a file called file1.txt, but it said file1 is undeclared or something like that. What's the proper code to open a file in C (if I want to open file1.txt)?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to open a file with a c program.?&lt;br&gt;just declare a file pointer for eg FILE* f ,then&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;f=fopen("drive letter:\file1.txt","mode");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;mode                              work&lt;br&gt;&lt;br /&gt;&lt;br /&gt;"a"                                      append              can make changes at the end of file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;"r"                                        read                   you can just read the file cant chang in this mode&lt;br&gt;&lt;br /&gt;&lt;br /&gt;"w"                                       write                     you can write any where in your file&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8049591998167806952?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8049591998167806952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-open-file-with-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8049591998167806952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8049591998167806952'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-open-file-with-c-program.html' title='How to open a file with a c program.?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1705693822895828327</id><published>2009-07-14T19:23:00.000-07:00</published><updated>2009-07-14T19:23:16.473-07:00</updated><title type='text'>How can I create multiple output text file in C using turbo C?</title><content type='html'>I have a text file containing number of lines (not fixed). I want to write a programme which will create separate text file containing each line. How to do this using C in Turbo C. Anybody please help me and please tell it in detail.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I create multiple output text file in C using turbo C?&lt;br&gt;Use the below code as a reference...... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; #include "stdio.h"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  #include "stdlib.h"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     void  main( )&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        FILE *fp;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        char c;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        int i=1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fp = fopen("TENLINES.TXT", "r"); // Open the file to be read&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        if (fp == NULL) printf("File doesn't exist\n");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        else {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   // perform the loop until EOF&lt;br&gt;&lt;br /&gt;&lt;br /&gt;          while(!feof(fp)) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  // Read a single line.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   if(fgets(str, 126, fp)) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("%s", str);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    //createfile("   Call create file function from here....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    ................&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    ..................&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;       fclose(fp);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   void  createfile(char* filename,char* content)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        FILE *fpwrite;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        int index;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fpwrite = fopen(filename,"w"); /* open for writing */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        strcpy(stuff,content);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        for (index = 1; index %26lt;= 10; index++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fprintf(fpwrite,"%s Line number %d\n", stuff, index);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fclose(fpwrite); /* close the file before ending program */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   }&lt;br&gt;Reply:http://www.thescripts.com/forum/thread49...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;hope this will help&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Cheers:)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1705693822895828327?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1705693822895828327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-create-multiple-output-text.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1705693822895828327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1705693822895828327'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-create-multiple-output-text.html' title='How can I create multiple output text file in C using turbo C?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7898150743426271012</id><published>2009-07-14T19:22:00.002-07:00</published><updated>2009-07-14T19:22:46.907-07:00</updated><title type='text'>Compile errors in my header file? why? c++?</title><content type='html'>before in my header file i had this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;File Edit Options Buffers Tools C++ Help                                        &lt;br&gt;&lt;br /&gt;&lt;br /&gt;#ifndef SWAP_H&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#define SWAP_H&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//#include %26lt;string%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void swap (string %26amp;, string %26amp;);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#endif&lt;br&gt;&lt;br /&gt;&lt;br /&gt;-------&lt;br&gt;&lt;br /&gt;&lt;br /&gt;that gave me these compile errors:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Swap.h:7: error: `string' was not declared in this scope&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Swap.h:7: error: parse error before `,' token&lt;br&gt;&lt;br /&gt;&lt;br /&gt;------&lt;br&gt;&lt;br /&gt;&lt;br /&gt;now i have:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#ifndef SWAP_H&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#define SWAP_H&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//#include %26lt;string%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::void swap (string %26amp;, string %26amp;);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#endif&lt;br&gt;&lt;br /&gt;&lt;br /&gt;------&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Swap.h:7: error: `string' was not declared in this scope&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Swap.h:7: error: parse error before `,' token&lt;br&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ALL this happens when i try to compile my Swap.cpp file.. help? wats wrong?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Compile errors in my header file? why? c++?&lt;br&gt;The compiler doesn't know what a "string" is. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;uncomment the #include %26lt;string%26gt; and add&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using std::string;&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7898150743426271012?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7898150743426271012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/compile-errors-in-my-header-file-why-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7898150743426271012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7898150743426271012'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/compile-errors-in-my-header-file-why-c.html' title='Compile errors in my header file? why? c++?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2394212040217279162</id><published>2009-07-14T19:22:00.001-07:00</published><updated>2009-07-14T19:22:29.935-07:00</updated><title type='text'>How to read Tiff file using C#???</title><content type='html'>I need to read a tiff file using C#, but am not getting what to do, what are steps do i need to take in .NET ( means which all dll is required to read and write and other steps).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;After reading tiff file i need to trasfer the same format of tiff to TXt format.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Can any one help me... plz.............&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to read Tiff file using C#???&lt;br&gt;Read it as an array of bytes.&lt;br&gt;Reply:how to open tiff using C#                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2wallflower.blogspot.com/&gt;wallflower&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2394212040217279162?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2394212040217279162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-read-tiff-file-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2394212040217279162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2394212040217279162'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-read-tiff-file-using-c.html' title='How to read Tiff file using C#???'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8709263135816486410</id><published>2009-07-14T19:22:00.000-07:00</published><updated>2009-07-14T19:22:14.587-07:00</updated><title type='text'>Binary Tree for searching file in c++?</title><content type='html'>I wanna write a c++ program to search inside a file and build a binary tree of all those words inside the file. Anyone can help or send me the code if you have ??&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thankx&lt;br&gt;&lt;br /&gt;&lt;br /&gt;cgsupervisor@yahoo.com&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Binary Tree for searching file in c++?&lt;br&gt;Here's some code in C, but it should compile just fine&lt;br&gt;&lt;br /&gt;&lt;br /&gt;under C++ (and you can "pretty it up" with C++ method&lt;br&gt;&lt;br /&gt;&lt;br /&gt;definitions to replace the C functions if you like):&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://nob.cs.ucdavis.edu/classes/ecs030...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also, if your problem is no more sophisticated than what&lt;br&gt;&lt;br /&gt;&lt;br /&gt;you've described, you could read the words into an array&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and call qsort() in probably 20 lines of code.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8709263135816486410?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8709263135816486410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/binary-tree-for-searching-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8709263135816486410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8709263135816486410'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/binary-tree-for-searching-file-in-c.html' title='Binary Tree for searching file in c++?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1827401279402417058</id><published>2009-07-14T19:21:00.003-07:00</published><updated>2009-07-14T19:21:57.970-07:00</updated><title type='text'>I am using parser generator 2 to compile a file using C++ borland 6.?</title><content type='html'>using parser generator,when i am compiling the files with C++ borland 6,i face problem with heared and include files..and the error is:cant include %26lt;.....h%26gt; forexample..or another is:ERROR must use c++ ..or something like this.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;may i kow if i should do any copy %26amp; paste files between parser and borland in include folders or..can some one help me to do the projects?i realy will be thank ful..i need to read characters from a file and define the TOKENs or lexical errors&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I am using parser generator 2 to compile a file using C++ borland 6.?&lt;br&gt;Fully qualify your path names (not doc.txt, but C:\Documents and Settings\Administrator\My Documents\doc.txt). This guarantees that a "file not found" is a file that doesn't exist there.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;An unsafe way around getting rid of those ERROR: Must use C++ is including (before the libraries) a #define __cplusplus line. That should work, considering that the safety responsible for that mechanism is:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#ifndef __cplusplus&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#error Must use C++&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#endif&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1827401279402417058?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1827401279402417058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-am-using-parser-generator-2-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1827401279402417058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1827401279402417058'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-am-using-parser-generator-2-to.html' title='I am using parser generator 2 to compile a file using C++ borland 6.?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4419807639475078972</id><published>2009-07-14T19:21:00.002-07:00</published><updated>2009-07-14T19:21:43.501-07:00</updated><title type='text'>What are the file read &amp; write functions in C#    ???</title><content type='html'>Actually i want to know that what are the file read %26amp; write functions in C#, like fputs(),fgets(),  or    fprintf(), and fscanf();    and please also mention how to open file in c# . and how to close it.......&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;please reply............&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What are the file read %26amp; write functions in C#    ???&lt;br&gt;Ok, what you're describing is C functions which the concept is expanded in C#.  Several objects are used to read and write files.  They include the buffered streams, file streams, text read/writers to name a few.  Most fall under the system.io class or input/output class of structure.  An example is demonstrated below:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System.IO;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;class FSRead&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    public static void Main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        //Create a file stream from an existing file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        FileInfo fi=new FileInfo("c:\\csc.txt");       &lt;br&gt;&lt;br /&gt;&lt;br /&gt;        FileStream fs=fi.OpenRead();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        &lt;br&gt;&lt;br /&gt;&lt;br /&gt;        //Read 100 bytes into an array from the specified file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        int nBytes=100;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        byte[] ByteArray=new byte[nBytes];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        int nBytesRead=fs.Read(ByteArray, 0, nBytes);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        Console.WriteLine("{0} bytes have been read from the specified file.", nBytesRead.ToString());&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've also included some links below.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://hollyhock1.blogspot.com/&gt;hollyhock&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4419807639475078972?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4419807639475078972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-are-file-read-write-functions-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4419807639475078972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4419807639475078972'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-are-file-read-write-functions-in-c.html' title='What are the file read &amp;amp; write functions in C#    ???'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2901491265465670280</id><published>2009-07-14T19:21:00.001-07:00</published><updated>2009-07-14T19:21:26.115-07:00</updated><title type='text'>Function for copying a file in c language?</title><content type='html'>for writing nc i should copy file from a drive and paste it in other&lt;br&gt;&lt;br /&gt;&lt;br /&gt;drive or location .what function i should use for copying a file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and also for cuting a file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;notice:i am programing in c.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Function for copying a file in c language?&lt;br&gt;On UNIX style systems you can execute commands with the system call, for example&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system("cp pathname1 pathname2")&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Likewise on Windows but with copy instead of cp.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.die.net/doc/linux/man/man3/sy...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Windows has a CopyFile function which can be called from C.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://msdn.microsoft.com/library/defaul...&lt;br&gt;Reply:This is not tested and has no real error checking but should get you started.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int copy (char * src, char * dest)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    char buf[1024];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    FILE * in, *out;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    in = fopen(src, "r");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    if(in == NULL)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        return(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    out = fopen(dest,"w");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    if(out == NULL)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        return(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    while(fread( buf, &lt;br&gt;&lt;br /&gt;&lt;br /&gt;          sizeof(buf), &lt;br&gt;&lt;br /&gt;&lt;br /&gt;          1, &lt;br&gt;&lt;br /&gt;&lt;br /&gt;          in))&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fwrite(buf, &lt;br&gt;&lt;br /&gt;&lt;br /&gt;               sizeof(buf),&lt;br&gt;&lt;br /&gt;&lt;br /&gt;               1,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;               out);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    fclose(in);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    fclose(out);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    return(0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Or you can have the program do it with the appropriate calls.  Use C file I/O to open the file, write it to another file at the new location, close both.  Then make calls to appropriate functions to delete the old files if needed.  I beleive that unlink works in *nix and kill works under DOS or DOS box.  You'll have to look up the Windows functions if you need it in the Win32 or Win32s APIs.  I hope this helps.&lt;br&gt;Reply:DanD is quite rignt. One additional detail: you can use function "system" in DOS and Windows also.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system( "copy pathname_1 pathname_2" );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you want to "cut" the file call then&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system( "del pathname_1" ) for Windows&lt;br&gt;&lt;br /&gt;&lt;br /&gt;of&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system( "rm pathname_1" ) for *NIX&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2901491265465670280?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2901491265465670280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/function-for-copying-file-in-c-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2901491265465670280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2901491265465670280'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/function-for-copying-file-in-c-language.html' title='Function for copying a file in c language?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-781152128765375717</id><published>2009-07-14T19:21:00.000-07:00</published><updated>2009-07-14T19:21:09.608-07:00</updated><title type='text'>Cut and Paste file from C drive to D drive?</title><content type='html'>I have a whole bunch of Sims games installed in my computer under C drive. But now my C drive is really filled to the max and my D drive has about 8GB free.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Is it possible to cut and paste the whole EA games file from C drive to D drive?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Cut and Paste file from C drive to D drive?&lt;br&gt;It might Create issues in cutting and pasting, as some files also connected to system registry and refer to original location. You start installing new files on D: drive as it instalation will give you option to decide about target folder.  You can save some space in C drive by de-intalling some games or un-sed software or moving noral data(like documents, songs etc) from C to other Drive&lt;br&gt;Reply:No u can't CUT and PASTE. Instead u can re-install to your D: Drive.&lt;br&gt;Reply:Uninstall the sims, I believe it will ask you if you want to keep the saved games. Reinstall on the other drive and transfer the saved games folder.&lt;br&gt;Reply:Yes you can, you must do it in a whole folder and take patience because it my take a time to transfer a big files, after the procedure run a disk clean-up to drive C and maybe defrag it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I hope it helps!&lt;br&gt;Reply:Try CTRL+C and CTRL+V first. Then start playing them from the D: drive. If that works, then delete from C: drive.&lt;br&gt;Reply:No, the installed game will still try to read files from their original installed location.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-781152128765375717?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/781152128765375717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/cut-and-paste-file-from-c-drive-to-d.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/781152128765375717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/781152128765375717'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/cut-and-paste-file-from-c-drive-to-d.html' title='Cut and Paste file from C drive to D drive?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6337824447679428712</id><published>2009-07-14T19:20:00.003-07:00</published><updated>2009-07-14T19:20:55.287-07:00</updated><title type='text'>How can I run an exe file by C# Windows programming?</title><content type='html'>How can I run an exe file by C# Windows programming? I have problems in running an exe file by clicking the button that i made in c# windows programing, can anyone of you write the code of event handler in c# through which i can run exe file by just clicking the button,rest of the code is:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System.Windows.Forms; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System.Drawing; &lt;br&gt;&lt;br /&gt;&lt;br /&gt; class ButtonForm : Form { &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  Button MyButton = new Button(); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;   public ButtonForm() { &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    Text = "Respond to a Button"; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;     MyButton = new Button(); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    MyButton.Text = "Press Here"; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    MyButton.Location = new Point(100, 200); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;     // Add button event handler to list. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    MyButton.Click += new EventHandler(MyButtonClick); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;     Controls.Add(MyButton); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }   &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  [STAThread] &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  public static void Main() { &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    ButtonForm skel = new ButtonForm(); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    Application.Run(skel); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// Handler for MyButton. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;   {  Please guide me with this part.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  } &lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thank u in advance.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I run an exe file by C# Windows programming?&lt;br&gt;Okay, you already have a function defined, you need to go to your Form.cs file, where the EventHandler is located.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;MyButton.Click += new EventHandler(MyButtonClick); &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This points to the MyButtonClick function.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;**************************************...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now you need to add:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using System.Diagnostics;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Then create a process:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Process TheProcessYouNamed;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;private void MyButtonClick(object sender, EventArgs e)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    TheProcessYouNamed = Process.Start("EXEToRun.exe");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    TheProcessYouNamed.CloseMainWindow();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6337824447679428712?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6337824447679428712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-run-exe-file-by-c-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6337824447679428712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6337824447679428712'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-run-exe-file-by-c-windows.html' title='How can I run an exe file by C# Windows programming?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6906422894993688373</id><published>2009-07-14T19:20:00.002-07:00</published><updated>2009-07-14T19:20:39.291-07:00</updated><title type='text'>File handling in C?</title><content type='html'>hi guys and gals. i've gotta submit a project. i hav to handle student details such as name, roll number,5 marks, avg,result and rank. i need to save it in a file using C. cud u plz help me gettin the codes. plz.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;File handling in C?&lt;br&gt;Unless you're working with a database system (and you probably aren't), the file management is the least of your worries.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;First, develop a program that handles the records in an array (or better, an STL vector or a linked list) in memory.  That's where you're going to have to add records, delete records, sort records, etc.  It's easier to manage it here than in a file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Second, write code that goes through your array/list and writes each record to a file.  You'll then write the opposite of that which builds a list from the file.  These you'll call when your program quits and when it starts.  If you want to get fancy, you might save more frequently than this in case of crashes, either on a timer or before and after sorting or other operations.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now to the crux of your question, how to do this.  That's going to depend a lot on what API you're using.  In windows you'd use CreateFile and WriteFile.  Using standard C or C++ with streams will give you other options.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've added a link here to an article that goes over some of the standard C options for reading and writing files.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.exforsys.com/content/view/207...&lt;br&gt;Reply:The file save fuction is differ C# then GML.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To write GML go to http://www.gamemaker.nl/download.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1cabbage.blogspot.com/&gt;cabbage&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6906422894993688373?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6906422894993688373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/file-handling-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6906422894993688373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6906422894993688373'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/file-handling-in-c.html' title='File handling in C?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6158855276679516712</id><published>2009-07-14T19:20:00.001-07:00</published><updated>2009-07-14T19:20:23.326-07:00</updated><title type='text'>Most important file in c drive?</title><content type='html'>wat is the most important file/files in the c drive that will coz serious problems for windows to run if they are deleted by accident?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Most important file in c drive?&lt;br&gt;content of windows folder or system files like ntldr.sys....&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6158855276679516712?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6158855276679516712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/most-important-file-in-c-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6158855276679516712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6158855276679516712'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/most-important-file-in-c-drive.html' title='Most important file in c drive?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3295006223840126992</id><published>2009-07-14T19:20:00.000-07:00</published><updated>2009-07-14T19:20:05.749-07:00</updated><title type='text'>Hi! How do I open a file in C and create one if it doesn't exist?</title><content type='html'>I have a problem with creating a file in C. I would like to open existing file (or create one if it doesn't exist) and write something into it:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/* open the file */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if ((shfd = open(argv[2], O_CREAT | O_RDWR, 0677))  %26lt; 0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;my_error("open failed");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/* map a portion of the file to buffer in memory */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if ((mem = mmap(0,SIZE,PROT_READ | PROT_WRITE, MAP_SHARED, shfd, 0)) == (void *)-1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;my_error("mmap failed");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sprintf(mem, "%d", getpid());&lt;br&gt;&lt;br /&gt;&lt;br /&gt;However, when the file doesn't exist and is created, its empty, and I get "bus error" message at the last line... If I try to write something to the file that already exists and is empty, I get the same message. If it exists and is not empty, it works fine...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Could anyone please help? I would really appreciate any help, since I don't know why I'm getting that error...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks a lot for your time.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Hi! How do I open a file in C and create one if it doesn't exist?&lt;br&gt;You can't extend a file with mmap().  You can map&lt;br&gt;&lt;br /&gt;&lt;br /&gt;memory that you might write into, but when you close&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or fsync the file, it will NOT be extended.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The historical way to do this is to lseek to the position&lt;br&gt;&lt;br /&gt;&lt;br /&gt;you want and write a single byte.  The filesystem will&lt;br&gt;&lt;br /&gt;&lt;br /&gt;arrange that the intervening bytes will look like zeros.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've modified your program snippet to open a file,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;mmap it, and scribble in a bunch of bytes -- while&lt;br&gt;&lt;br /&gt;&lt;br /&gt;preserving whatever is there.  It's not particularly&lt;br&gt;&lt;br /&gt;&lt;br /&gt;clever, but it should show most of the details you're&lt;br&gt;&lt;br /&gt;&lt;br /&gt;looking for.  You can contact me through YA if you&lt;br&gt;&lt;br /&gt;&lt;br /&gt;have questions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;sys/types.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;sys/stat.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;fcntl.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;sys/stat.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;unistd.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;sys/mman.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;string.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdlib.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main(int argc, char* argv[])&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  int shfd;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  struct stat statbuff;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  char *filename = argc%26gt;1 ? argv[1]     : "testfile";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  int   mmapsize = argc%26gt;2 ? atoi(argv[2]) : 100000;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  char *mem;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  /* open the file */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if ((shfd = open(filename, O_CREAT | O_RDWR, 0677)) %26lt; 0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    perror("open failed"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  /* if it is too small, we will extend the file for the mmap */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if (fstat(shfd, %26amp;statbuff) != 0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    perror("stat"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if (statbuff.st_size %26lt; mmapsize) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    if (lseek(shfd, mmapsize-1, SEEK_SET) == (off_t)-1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      perror("lseek"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    if (write(shfd, "\0", 1) %26lt; 0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      perror("write"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  /* map a portion of the file to buffer in memory */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if ((mem = mmap(0, mmapsize, PROT_READ | PROT_WRITE, MAP_SHARED, shfd, 0)) == MAP_FAILED)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    perror("mmap failed"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  /* scribble on the file *after* whatever was already there */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if (statbuff.st_size %26lt; mmapsize)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    memset(mem+statbuff.st_size, 'X', mmapsize-statbuff.st_size);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  if (close(shfd) %26lt; 0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    perror("close"), exit(-1);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:Hmmm, I dont follow how you are trying to do it but this is how I always do it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FILE *Pfile;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char FileName[] = "nameoffile";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char buffer[];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //open file or create if it doesnt exsist&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Pfile = fopen(FileName, "w"); // w = open for write&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                              // r = open for read&lt;br&gt;&lt;br /&gt;&lt;br /&gt;                              // wb = open binary for write&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //fill buffer with what you want to write to file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;strcat(buffer, "stuff you want to add to file");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //write buffer to the file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fwrite(%26amp;buffer, strlen(buffer), 1, Pfile);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   //DONT forget to close the file when done!!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fclose(Pfile);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3295006223840126992?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3295006223840126992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/hi-how-do-i-open-file-in-c-and-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3295006223840126992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3295006223840126992'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/hi-how-do-i-open-file-in-c-and-create.html' title='Hi! How do I open a file in C and create one if it doesn&apos;t exist?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6494167952988387172</id><published>2009-07-14T19:19:00.003-07:00</published><updated>2009-07-14T19:19:51.215-07:00</updated><title type='text'>Reading data from file using C++?</title><content type='html'>I have a text file representing time-voltage signal 2 colums of numbers, in scientific format eg.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;time             voltage&lt;br&gt;&lt;br /&gt;&lt;br /&gt;0.003          1.553e-8&lt;br&gt;&lt;br /&gt;&lt;br /&gt;...                  ...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;how do I read them into a mx2 matrix using C++?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;used to working with C, not familar with C++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Reading data from file using C++?&lt;br&gt;You could use class ifstream.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It makes very easy to read from a file as an input stream.&lt;br&gt;Reply:If you are not required to use the C++ library, then use the C one.  I always preferred the C one.  Even in my college courses, where we were expected to use C++ I was not penalized for using the standard C library.  If you are going to school, you might want to double check if this is acceptable.  IMO the C++ standard library using too confusing and abstracted of a syntax to be understandable.  Plus I knew how to look at standard C code on paper and determine what the result would be, in C++ I wasn't and still can't always do this.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6494167952988387172?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6494167952988387172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/reading-data-from-file-using-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6494167952988387172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6494167952988387172'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/reading-data-from-file-using-c.html' title='Reading data from file using C++?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-389762304275558490</id><published>2009-07-14T19:19:00.002-07:00</published><updated>2009-07-14T19:19:35.446-07:00</updated><title type='text'>Do I need to file Schedule C?</title><content type='html'>I started the business in 2006 and claimed a loss of the business income and filed a Schedule C for 2006.But, I only participated passively(less than 500 hours) in my business for 2007. I did not sell any inventory nor did I buy anymore. I used some items from the inventory for personal use. I did not have any expenses for 2007. I plan to close the business this year 2008. Do i need to file a Schedule C for 2007 and if so what line items would i need to file out?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Appreciate any help.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Do I need to file Schedule C?&lt;br&gt;I'm not sure but you do have to claim your inventory if you did not close the business prior to 2007 even if you did not sell any inventory. It is still considered an asset. I would consult with an accountant on this.&lt;br&gt;Reply:If you were in possession on inventory that you did not sell, can you not write off the depreciation?&lt;br&gt;Reply:its sounds like no you do  not  if you had no expenses cant see what you would fill out&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://phlox4.blogspot.com/&gt;phlox&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-389762304275558490?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/389762304275558490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/do-i-need-to-file-schedule-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/389762304275558490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/389762304275558490'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/do-i-need-to-file-schedule-c.html' title='Do I need to file Schedule C?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3344678099733996105</id><published>2009-07-14T19:19:00.001-07:00</published><updated>2009-07-14T19:19:17.619-07:00</updated><title type='text'>How to use java file in c#?</title><content type='html'>Hai all,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  I have one doubt in c#.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  I have few files in java.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  Can i use those java file in c#.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  For example DataSheet is a class in java.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  Can i use that DataSheet class in my windows application.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; But that java file is opened like J#.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; Then i have another doubt. What is language interoperability.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any relation is between language interoperability and the above case.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any one please guide.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks advance&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to use java file in c#?&lt;br&gt;Use Java in C# using IVKM.NET (http://www.codeproject.com/useritems/csh...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Or this http://www.thescripts.com/forum/post1025...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Language interoperability is the ability of code to interact with code that is written using a different programming language. Language interoperability can help maximize code reuse and, therefore, improve the efficiency of the development process.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Yes, language interoperability is demonstrated in this case. See http://www.velocityreviews.com/forums/t1... for more details on how C# and Java interoperate with examples,&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3344678099733996105?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3344678099733996105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-use-java-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3344678099733996105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3344678099733996105'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-use-java-file-in-c.html' title='How to use java file in c#?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4111467845673170668</id><published>2009-07-14T19:19:00.000-07:00</published><updated>2009-07-14T19:19:03.298-07:00</updated><title type='text'>How can I delete a  .exe file that has secretly been installed in my C: drive?</title><content type='html'>After visiting a website ZoneAlarm notified me that a  .exe file in my C: drive was trying to access the internet. I know this is a foreign file b/c I never installed anything like that and nothing like that was ever there.  Norton has not been able to quarantine the file b/c a message says the file is in use or write protected. I cannot delete the file for the same message.  What can I do?  This file is repeatedly trying to access the internet.  I'm suspecting it's a malicious file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I delete a  .exe file that has secretly been installed in my C: drive?&lt;br&gt;Probably easiest to boot the system in safe mode (tap F8 every second or two while booting until you see the screen giving you the option to boot into safe mode).  Once there, you can probably delete the file without any problems.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Failing that, try downloading Knoppix (http://www.knoppix.com).  Boot off of that, and you'll definitely have the ability to delete it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To make an effort to prevent this activity in the future, try downloading a free realtime spy/malware monitoring tool such as Windows Defender.&lt;br&gt;Reply:I had the same problem before - I honestly can't remember how I fixed it now but I would suggest you go into your task manager (ctrl-alt-del) and google each of your processes that you're not sure about - you should pick up a website that will have most of them and you can just search in there.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;End any suspicious processes (the website will usually suggest whether it is recommended to end certain processes or not) and go back to the file you want to delete and try deleting it before it starts itself again.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Even if this doesn't solve your problems (there are some better solutions above), you should clear some of your ram and the pc will run faster.&lt;br&gt;Reply:write down  the file name ... then click start  and go to find  or search,  click  on all files  and folders  then type  in the file name.. let  it search   then right click any and all files  one  at a time  and delete  them  empty  your recycle bin  and then  rerun  you virus  and malwear protection&lt;br&gt;Reply:Put it on a different folder to the one it is on, and then quickly delete that folder.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If that doesn't work, you will have to boot in Safe Mode, run antivirus and antispyware software, and if the file is still there, delete it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.pchell.com/support/safemode.s...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4111467845673170668?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4111467845673170668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-delete-exe-file-that-has.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4111467845673170668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4111467845673170668'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-delete-exe-file-that-has.html' title='How can I delete a  .exe file that has secretly been installed in my C: drive?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-714636342066205793</id><published>2009-07-14T19:18:00.002-07:00</published><updated>2009-07-14T19:18:45.713-07:00</updated><title type='text'>Can I move Norton Anitivirus definition file in C:\Program Files\Common Files\Symantec Shared\Virus Defs to D:</title><content type='html'>I am using Norton Internet Security 2004 together with Norton Anitfvirus on Windows 2000 plarform. The virus definition file is growing almost everyday at speed of 50MB/day. Now the file size is 5000MB (5GB) but I am using Windows 2000 FAT32 file system.  My C partition can only extend to 7.8GB. Now C partition has 400MB free space left only and is approaching risk limit .  However I still have 6GB in my D partition.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can I move Norton Anitivirus definition file in C:\Program Files\Common Files\Symantec Shared\Virus Defs to D:&lt;br&gt;Moving the virus definitions would break Norton.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Seriously, and I know you didn't want to hear this, it would greatly benefit you to dump Norton and use a different antivirus software. Norton is recognized rather widely by techs to be inefective.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A good free one (I use the paid version) is www.free-av.com, which is Avira AntiVIR. This is the best anti-virus I have ever come across, and I've test-driven many.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-714636342066205793?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/714636342066205793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-i-move-norton-anitivirus-definition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/714636342066205793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/714636342066205793'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-i-move-norton-anitivirus-definition.html' title='Can I move Norton Anitivirus definition file in C:\Program Files\Common Files\Symantec Shared\Virus Defs to D:'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1623614371315741193</id><published>2009-07-14T19:18:00.001-07:00</published><updated>2009-07-14T19:18:29.968-07:00</updated><title type='text'>Can i take emage file of C &amp; D drive which is carry on C= windows 98 se and D=windows XP Pro SP-2 Pl send prg.</title><content type='html'>I have four partition CDEF. C for win 98 se %26amp; D for win XP sp2.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;E, F for data storage. Now i wnat to take a sing file as mirror ro emage file off both drive C %26amp; D. Pl if some one have any prog which is fullfill above facilities send me by mail in zip format. OR guide me Please Help me.......&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can i take emage file of C %26amp; D drive which is carry on C= windows 98 se and D=windows XP Pro SP-2 Pl send prg.&lt;br&gt;Can you access win 98 from xp if so bring the firle too the desktop of xp and go from there.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://verbena4.blogspot.com/&gt;verbena&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1623614371315741193?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1623614371315741193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-i-take-emage-file-of-c-d-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1623614371315741193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1623614371315741193'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-i-take-emage-file-of-c-d-drive.html' title='Can i take emage file of C &amp;amp; D drive which is carry on C= windows 98 se and D=windows XP Pro SP-2 Pl send prg.'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3267372961209926323</id><published>2009-07-14T19:18:00.000-07:00</published><updated>2009-07-14T19:18:14.293-07:00</updated><title type='text'>Do I file 2 schedule C forms if I have 2 businesses, if so how do I combine the figures from both?</title><content type='html'>I have 2 businesses. One is my main business and one is a side business. I usually file scedule C for each of them however since one of these businesses has not done any sales in previous years this was never an issue. Last year one of my businesses had a slight loss and the other one made profit. I am not totally sure what to do next. I think I am supposed to file 2 different schedule C forms and then somehow combine figures but I am not totally sure. Any suggestions? Detailed suggestions would be helpful.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Do I file 2 schedule C forms if I have 2 businesses, if so how do I combine the figures from both?&lt;br&gt;you have it exactly correct; do two separate Schedule Cs and then add the net income figures together before you go on to Schedule SE&lt;br&gt;Reply:Yes, two schedule C forms, but add up the numbers from the end to go on one schedule SE and one form 1040.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Example:  if one made $8000 and the other lost $500, the total would be $7500 and that would go on top of the schedule SE and onto the 1040.&lt;br&gt;Reply:When you own an unincorporated small business by yourself, the IRS considers you a sole proprietor.  Your business earnings (or losses) are included as part of your individual income tax filing.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you run two or more sole proprietorships, you must file a Schedule C for each.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You would "net out" the profit/loss from the two to enter on your form 1040.&lt;br&gt;Reply:You are correct that 2 Schedule Cs would be completed.  The combined total profit/loss would go on page 1 of your 1040.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3267372961209926323?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3267372961209926323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/do-i-file-2-schedule-c-forms-if-i-have.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3267372961209926323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3267372961209926323'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/do-i-file-2-schedule-c-forms-if-i-have.html' title='Do I file 2 schedule C forms if I have 2 businesses, if so how do I combine the figures from both?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5873729567448411951</id><published>2009-07-14T19:17:00.003-07:00</published><updated>2009-07-14T19:17:59.152-07:00</updated><title type='text'>No 1099?  Do I file a schedule C?</title><content type='html'>Have main job and side business--unrelated.  Filed schedule C for past 2 years on side income earned (under 10K).  in 2007 no money made in side business but have contract--do I file a schedule C this year or for next year after am I paid?  If so, what do I do about my business deductions this year--do I carry them over to the next year and not file a schedule C this year because my side business made no money?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;No 1099?  Do I file a schedule C?&lt;br&gt;file schedule C for 2007.  you lost money -- no revenue but had expenses.  this negative carries over onto your Form 1040 and reduces your tax due&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;IRS trusts that you'll make this all back in the future and thus pay the taxes then.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;[as long as you make money at least 3 years out of every five they do.]&lt;br&gt;Reply:Do what "Spock" says he's right on.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Save me some trouble, lol&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5873729567448411951?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5873729567448411951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/no-1099-do-i-file-schedule-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5873729567448411951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5873729567448411951'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/no-1099-do-i-file-schedule-c.html' title='No 1099?  Do I file a schedule C?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7793649771631853524</id><published>2009-07-14T19:17:00.002-07:00</published><updated>2009-07-14T19:17:41.885-07:00</updated><title type='text'>Help with Opening file in C.?</title><content type='html'>Im having a problem here. I have a little project to do but having some problems. The question simply asks me to prompt the user for a filename. after i get that i need to open the file and read in the information line by line and add the values of some numbers.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This is what I have&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#define  MAX      30&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FILE *ifp;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main(){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int num;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int scores;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    char filename[MAX],c;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("Please enter filename to open\n");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scanf("%s",%26amp;filename);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    ifp = fopen("filename","r");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;   fscanf(ifp,"%d",%26amp;num);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while(num!=0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    &lt;br&gt;&lt;br /&gt;&lt;br /&gt;    fscanf(ifp, "%d",%26amp;scores);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scores+=scores;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("scores are: %d\n",scores);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    fclose(ifp);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt; &lt;br&gt;&lt;br /&gt;&lt;br /&gt; return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;everytime i try it it shows 0 when printed out onscreen. the file i have only have the number below in that order.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;500&lt;br&gt;&lt;br /&gt;&lt;br /&gt;345&lt;br&gt;&lt;br /&gt;&lt;br /&gt;323&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Help with Opening file in C.?&lt;br&gt;scanf(%s, filename); // yah, you can remove the %26amp;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ifp=fopen(filename,"r"); // remove quotes from filename&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fscanf(ifp,"%d",%26amp;num); // if the first num is 500 in your file, you will spin in the loop forever, i.e. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while(num!=0) // no way to get out of this since num == 500&lt;br&gt;Reply:You should remove the %26amp; character *only* from:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scanf("%s",%26amp;filename);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The while loop will go forever, since you read into num only one time and then it never gets modified.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Replace it with this loop:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while(num!=0)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scores+=num;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fscanf(ifp, "%d",%26amp;num);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So you keep reading into num, but adding its value to scores, which you have to initialize to 0, so the nums don't get added to some random value that scores may have upon declaration.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int scores = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Oh, and you should read a new num, after you have added the first num read before entering the loop, otherwise you will lose  the first value.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;That should work. Good luck!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;LATER EDIT: check back since I did some mistakes myself!&lt;br&gt;Reply:You should use&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scanf("%s",filename);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You don't need the "%26amp;" because it is already a pointer.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any array is already a pointer and char is no exception.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I don't see any other problems in there except that you should check ifp after you do the fopen and if it is null then warn that the file was not opened.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7793649771631853524?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7793649771631853524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-with-opening-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7793649771631853524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7793649771631853524'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-with-opening-file-in-c.html' title='Help with Opening file in C.?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7348754639498816690</id><published>2009-07-14T19:17:00.001-07:00</published><updated>2009-07-14T19:17:25.847-07:00</updated><title type='text'>Reading integers from FILE in C?</title><content type='html'>I have a file that has integers on one line diveded by one space and nothing else.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For ex: &lt;br&gt;&lt;br /&gt;&lt;br /&gt;6 23 -2 45 -11&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have to do more things with these numbers, find the sequence with the maximum sum and others. But that's not the problem, I can do that. The problem is reading these numbers as integers and not as strings. I've tried reading them as strings and then using atoi() but I get a warning about atoi: "passing arg 1 of atoi makes pointer from integer without cast" - something like that. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;My declaration is char b[1000]; char c. c is the variable in which I read characters from the file with getc(). If I declare them as char *b, *c, I don't get any more warning for atoi() but reading from the file doesn't work anymore. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any suggestions?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Reading integers from FILE in C?&lt;br&gt;Have you tried looping (until end-of-line or EOF) using fscanf? This function is used like fprintf/printf. So,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FILE *filePointer;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int myInt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/* Open the filePointer...blah blah blah */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;/* Read an integer into myInt */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fscanf(filePointer, "%d", %26amp;myInt);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;No atoi conversion is needed in this case...it's already an int. The getc function will only retrieve one character at a time. For example, 23 would be read as 2 and then 3. Alternatively, you could read like this, entering each character into a char array until you hit a space and then, after adding a null-string char ("\0") send this into atoi.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://snapdragon2.blogspot.com/&gt;snapdragon2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7348754639498816690?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7348754639498816690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/reading-integers-from-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7348754639498816690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7348754639498816690'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/reading-integers-from-file-in-c.html' title='Reading integers from FILE in C?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2753872486733594204</id><published>2009-07-14T19:17:00.000-07:00</published><updated>2009-07-14T19:17:09.632-07:00</updated><title type='text'>How to read Tiff file using C++ or C#?</title><content type='html'>Hi&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;am working on OCR in TIFF using C++ and C#, but am not able to open an tiff file Programmatically. i have downloaded libtiff library from libtiff website , but in Visual Studio C++ it is shownig link error as LINK : fatal error LNK1104: cannot open file "dlibtiff.lib".&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Can any one suggest me what to do???&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;plz send me the dlibtiff.lib file to me&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Am waiting for replay....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Plz help me ......&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to read Tiff file using C++ or C#?&lt;br&gt;- When you say you downloaded libtiff, did you actually build the source to get a static library?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;- If you do have the binary built, did you mention the library in the linker settings? And the library path?&lt;br&gt;Reply:Hi i have builded and linker is also set but still showing LINK : fatal error LNK1104: cannot open file "libtiff.lib", can any one help me.                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2753872486733594204?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2753872486733594204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-read-tiff-file-using-c-or-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2753872486733594204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2753872486733594204'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-read-tiff-file-using-c-or-c.html' title='How to read Tiff file using C++ or C#?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6843459546666818457</id><published>2009-07-14T19:16:00.003-07:00</published><updated>2009-07-14T19:16:54.528-07:00</updated><title type='text'>How to make a C program run a bat file using cmd.exe?</title><content type='html'>I made a C program that uses simple file handling and types some command in a bat file.  Then It runs the bat file using 'system' statement in 'process.h' . The problem is it runs in NTVDM ie suppose if i give the command to run a file in C:\asdfasdfadf.txt, it uses only the eight character of the file name.  The batch file works perfectly when run in cmd.exe. Is there any way to start the  bat file in cmd using a C program&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to make a C program run a bat file using cmd.exe?&lt;br&gt;So I guess you're trying to make a DOS program access files with long filenames, right?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Well, I've never tried it, but maybe you can try putting the file name in quotes.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For example, if you want to open a file called&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hello Out There.txt, you would pass this string to your 'open file'  C procedure: &lt;br&gt;&lt;br /&gt;&lt;br /&gt;"Hello Out There.txt"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;My suggestion comes from the fact that if you run command.com and you want to use EDIT.COM to edit a text file with a long filename, you need to put the file name in quotes.  Keep in mind that command.com is a DOS program, while cmd.exe is a Windows console program.  Cmd.exe allows long file names, while command.com expects 8.3 format.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Another suggestion is to pass the C 'open file' function the mangled 8.3 DOS name that Windows uses for files that use long file names.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The mangled name for Hello Out There.txt would be helloo~1.txt.  To get an idea about how the mangled names work, just run command.com and look at all the file names and directory names which use long file names.&lt;br&gt;Reply:#include %26lt;stdlib.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main(void){&lt;br&gt;&lt;br /&gt;&lt;br /&gt; system("cmd.exe batch_file_name.bat");&lt;br&gt;&lt;br /&gt;&lt;br /&gt; return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;Reply:I haven't done much C in Windows, but you might try fork, and exec the command in the child process.  Just a suggestion of a different method, I have no idea if it will make any difference.&lt;br&gt;Reply:Gopinath M This link might help you understand&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.google.co.uk/search?hl=en%26amp;q=m...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6843459546666818457?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6843459546666818457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-make-c-program-run-bat-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6843459546666818457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6843459546666818457'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-make-c-program-run-bat-file.html' title='How to make a C program run a bat file using cmd.exe?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3664236778402181416</id><published>2009-07-14T19:16:00.002-07:00</published><updated>2009-07-14T19:16:37.614-07:00</updated><title type='text'>C drive disk space differ from actual file size in c drive?</title><content type='html'>when i cright click on c dribve and see proporties it shows  total size 27.8 gb and free space 1,85 gb&lt;br&gt;&lt;br /&gt;&lt;br /&gt;when i enter c drive select all files in c drive and then right click and see proporties actual file size is=4.21 GB &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;why so and even cant defragment as it says minimum 155 free disk space required&lt;br&gt;&lt;br /&gt;&lt;br /&gt;why so happening can anyone help&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C drive disk space differ from actual file size in c drive?&lt;br&gt;Some files are "hidden". click tools, view, show hidden files and folder. i use it hide files =)&lt;br&gt;Reply:Some files are hidden and they aren't counted when you click properties inside the C drive. Also when u see the C drive properties it doesn't show the space windows occupies&lt;br&gt;Reply:microsoft and the drive manufacurers use a different numbering system to measure the drive space.pay attention to the highest amount&lt;br&gt;Reply:When you right click and go to properties it is going to give you a more accurate reading than if you try to select all and go to properties.  As mentioned, there are hidden files, and if the difference is as large as you say (27.8GB versus 4.21GB) you're definately not finding something on the disk.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;27.8 with 1.85GB free sounds about accurate for a 30GB hardrive.  If you have music, videos, or pictures, that space will go fast.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In order to defragment you need to delete some files and free up some disk space.  The defgragmentation tool requires a certain amount of free space to move files to, so it can better organize the drive. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Try deleting extra stuff and removing programs that you do not use.  You should be able to free up enough disk space to run a defragment.  If you're system is running very slowly, it's not all that surprising considering it sounds like your hard drive is almost full.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A good option is to buy an external hard drive, and use it for storage.  Not to mention you can transfer all of the stuff you need to the external and format and then reinstall windows....which will make your computer seem like new.  Make sure you have all of your driver disks (The software for things like video cards, sound cards, and so on), or have someone on hand who knows about formatting and reinstalling windows, since the "driver hunt" can be a pain in the ***.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3664236778402181416?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3664236778402181416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-drive-disk-space-differ-from-actual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3664236778402181416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3664236778402181416'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-drive-disk-space-differ-from-actual.html' title='C drive disk space differ from actual file size in c drive?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7156230161861536996</id><published>2009-07-14T19:16:00.001-07:00</published><updated>2009-07-14T19:16:23.313-07:00</updated><title type='text'>C++  - How do i read/write text file in C++ programming??</title><content type='html'>Hi,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I was wondering if any programmers can help me out.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I am currently a student who is required to do a small project.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and one of the requirements is to read/write text file using C++ programming.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;so, was wondering if anyone can help me out here....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;is it possible for me to read in the text file and store every word in a array?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Like if my text file contains ::&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;John 14 Student&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Peter 26 Engineer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Tom 20 Teacher&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and i want to store them in the program like::&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;name[0]=john&lt;br&gt;&lt;br /&gt;&lt;br /&gt;age[0]=14&lt;br&gt;&lt;br /&gt;&lt;br /&gt;job[0]=Student&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;name[1]=Peter&lt;br&gt;&lt;br /&gt;&lt;br /&gt;age[1]=26&lt;br&gt;&lt;br /&gt;&lt;br /&gt;job[1]=Engineer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;name[2]=Tom&lt;br&gt;&lt;br /&gt;&lt;br /&gt;age[2]=20&lt;br&gt;&lt;br /&gt;&lt;br /&gt;job[2]=Teacher&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and to write them back into the text file...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;haha is it possible??&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;hope someone can help ^^&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;thanks&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;-Oleo&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++  - How do i read/write text file in C++ programming??&lt;br&gt;Yes, its very possible. First you need to #include %26lt;fstream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;then declare an input and output file object like this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ifstream = inputFile;          //input file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ofstream = outputFile;      //output file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//declare the path of the file to be read&lt;br&gt;&lt;br /&gt;&lt;br /&gt;inputFile.open("%26lt;complete path to file%26gt;");     //path c:\text.txt&lt;br&gt;&lt;br /&gt;&lt;br /&gt;outputFile.open("%26lt;complete path to file%26gt;");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//then to read from the input file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;inputFile %26gt;%26gt; //any variable can be put here, the inputFile %26gt;%26gt; works just like the cin %26gt;%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//then you can write back to the output file the same way&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;outputFile %26lt;%26lt; //whatever you want to output, it works just like cout %26lt;%26lt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//of course this is just pseudo code but you could easily make it work with arrays by adding a for loop. for easier debugging, write the program first with all cin %26gt;%26gt; and cout %26lt;%26lt; statements. once it works that way, replace all the cin %26gt;%26gt; with intputFile %26gt;%26gt; and cout %26lt;%26lt; with outputFile %26lt;%26lt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//one last thing make sure to close both files when you are done with them&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;inputFile.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;outputFile.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//its just that simple! happy coding.&lt;br&gt;Reply:Surely, you can use C++ streams: operators '%26gt;%26gt;' and '%26lt;%26lt;' to write to and read from the file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Though i write in C++ for a long time, for file input/output i still prefer good old plain C read/write and fscanf/fprintf. You can use any of these two pairs with the same result.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1lavender.blogspot.com/&gt;avender&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7156230161861536996?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7156230161861536996/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-how-do-i-readwrite-text-file-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7156230161861536996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7156230161861536996'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-how-do-i-readwrite-text-file-in-c.html' title='C++  - How do i read/write text file in C++ programming??'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8142972570276691575</id><published>2009-07-14T19:16:00.000-07:00</published><updated>2009-07-14T19:16:09.844-07:00</updated><title type='text'>File handling in C: How to edit existing Binary File(Not Append)?</title><content type='html'>Any one PLS Help Me!! (Urgent)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to edit the contents of a structure I've written to a file(Turbo C). And I have to save it too. PLS help me out..........&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The purpose is 'edit' option in a phone book application in Turbo C.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;File handling in C: How to edit existing Binary File(Not Append)?&lt;br&gt;A phone book application should have a database-like structure. You'll be writing to offsets and only certain amounts of data that fit the field sizes. At least, if you're writing data to the structure. If you're changing the structure best is to create a new file with that structure and copy the data over, deleting the old file.&lt;br&gt;Reply:you can use fseek() to go to a certain position in the file, and then fwrite() to write a record.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;you have to calculate the position in fseek; if your file only has structures which have the same file, it's easy. then the position is sizeof(structure) * index.&lt;br&gt;Reply:The Binary/Text file dichotomy is Windows-specific, meaning that other operating systems just have you open the file, perform functions on it and close it and it doesn't matter what type of file it is.  Even in Windows, the difference is not as important as understanding what is in either file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Obviously you want to search for the proper struct, copy it to memory edit it and rewrite it.  The first thing to do is to find the struct.  If you know the size of the struct (which you should) and the number of the record you should be able to determine its position in the file.  If you have to find the record, you can search for the relevant information however you choose, copy the file position of the start of the struct into a separate variable, copy the struct into a copy in memory, and so on, resetting the position of the file pointer to that of the variable you saved the start position into.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Frankly, you might as well just copy the whole database into memory, into an array if you can't deal with linked lists and other data structures, edit it, and write the whole file back to disk destructively.  But if that's how they want you to do it that's how you should do it.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8142972570276691575?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8142972570276691575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/file-handling-in-c-how-to-edit-existing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8142972570276691575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8142972570276691575'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/file-handling-in-c-how-to-edit-existing.html' title='File handling in C: How to edit existing Binary File(Not Append)?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5835737301687074472</id><published>2009-07-14T19:15:00.003-07:00</published><updated>2009-07-14T19:15:49.605-07:00</updated><title type='text'>Calling a batch file in C++ script?</title><content type='html'>How Do i Call to a batch file named open.bat in a C++ script&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;How do i tell it to call a batch file from the following script:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;iostream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;using namespace std;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main ()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout %26lt;%26lt; "Hello\n ";     &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout %26lt;%26lt; "\nTestingSomething\n"; &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout %26lt;%26lt; "\nI hope this works\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  cout %26lt;%26lt; "\nIm going to launch a batch file\n\n";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;  return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to see what the script looks like after you've told it to add the batch file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Show me what the script will look like after the calling of the batch file is added.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Calling a batch file in C++ script?&lt;br&gt;you probably want to call system()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.cplusplus.com/reference/clibr...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5835737301687074472?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5835737301687074472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/calling-batch-file-in-c-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5835737301687074472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5835737301687074472'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/calling-batch-file-in-c-script.html' title='Calling a batch file in C++ script?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1894429868424094810</id><published>2009-07-14T19:15:00.002-07:00</published><updated>2009-07-14T19:15:35.313-07:00</updated><title type='text'>Function prototype in seperate file , 3 file help c++?</title><content type='html'>Hey&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I've got a c++ query. Ive got currently 2 files. One is the main , whilst the other file is a seperate bool function, which is used by the main file when running the program. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to create another file (ie : fun.h) which stores the prototype of the bool function.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;What do i have to write in each file, so all 3 files connect to each other, and so that when all 3 files compiled together, no syntax errors occur.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;thankyou :-)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1894429868424094810?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1894429868424094810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/function-prototype-in-seperate-file-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1894429868424094810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1894429868424094810'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/function-prototype-in-seperate-file-3.html' title='Function prototype in seperate file , 3 file help c++?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4961020011681811976</id><published>2009-07-14T19:15:00.001-07:00</published><updated>2009-07-14T19:15:17.821-07:00</updated><title type='text'>C code help for file output?</title><content type='html'>I have a problem with the following code .....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;FILE* out_file;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;out_file = fopen("c:\\data.dat", "w");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;double data = 0.017876148;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fprintf(out_file,"%lf", data);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fclose(out_file)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I want to print out the exact 9 digits on a dat/txt file but I am getting a truncated digit of 0.0178761. How can I fprintf the whole data without being truncated ?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C code help for file output?&lt;br&gt;with the printf field modifier, like so ...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fprintf(out_file,"%.9lf", data);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;see the '.9'  ?  that says to use nine digits of precision after the floating point....good luck&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Man I love C.  Hope you can enjoy it too.  It's a steep learning curve at first, but very powerful lang and worth the work.  Can't tell you how many languages borrowed and stole C ideas and structure.  My point: learning C will aid leaning across many languages...no time is spent on it is lost, so to speak.&lt;br&gt;Reply:Anytime, like to help.  Very welcome....                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://12violet.blogspot.com/&gt;violet&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4961020011681811976?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4961020011681811976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-code-help-for-file-output.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4961020011681811976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4961020011681811976'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-code-help-for-file-output.html' title='C code help for file output?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2904880021778603253</id><published>2009-07-14T19:15:00.000-07:00</published><updated>2009-07-14T19:15:03.274-07:00</updated><title type='text'>Microsoft visual c++,  message appear saying:program: c:program file?</title><content type='html'>program c:program files internet explorer&lt;br&gt;&lt;br /&gt;&lt;br /&gt;this application has requested the runtime to terminate it in an unusual way,please contact the application support team for more information&lt;br&gt;&lt;br /&gt;&lt;br /&gt;what i can do?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Microsoft visual c++,  message appear saying:program: c:program file?&lt;br&gt;Either the Visual C++ is corrupted or the installation cd is missing files, reinstall it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If the installation Cd is working fine on another PC, then ur Windows is corrupt or another application is conflicting with Visual C++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2904880021778603253?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2904880021778603253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/microsoft-visual-c-message-appear.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2904880021778603253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2904880021778603253'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/microsoft-visual-c-message-appear.html' title='Microsoft visual c++,  message appear saying:program: c:program file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-573077508178826917</id><published>2009-07-14T19:14:00.002-07:00</published><updated>2009-07-14T19:14:45.814-07:00</updated><title type='text'>How to file W2-C along with W2 ?</title><content type='html'>Hi,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For 2007, I had by mistake been taxed for 5 months for state Indiana instead of NJ. Also the W2 showed the same and because of that I got 2 W2 from my employer. I have never worked or been to Indiana. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;When I reported the error to them they have sent me a W2-C. I have not yet filed my tax. I wanted to know how should I go ahead with filing my tax. Can I file the entire 12 months for NJ since I have already got the W2-C. Or do I have to file for both states. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also I think the federal tax filing should not be affected by this since only the state tax withheld was wrong. Please let me know your opinions on both my questions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;K Sri&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to file W2-C along with W2 ?&lt;br&gt;Your right your fed tax wont change and you would only have to file the corrected W2c with the correct state.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-573077508178826917?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/573077508178826917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-file-w2-c-along-with-w2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/573077508178826917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/573077508178826917'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-file-w2-c-along-with-w2.html' title='How to file W2-C along with W2 ?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5213642748024497523</id><published>2009-07-14T19:14:00.001-07:00</published><updated>2009-07-14T19:14:29.619-07:00</updated><title type='text'>I have problem in programming! pls answer this..It is .c file extension?</title><content type='html'>how do I make a program that never goes down even if i press enter? it will remain only on the same line. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;EXAMPLE of my program:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;conio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int major,minor,line,line1,units,sUnit;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    float grades,wpa,msca,grade1,sum,average,avera...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    char another='Y';&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("Press Enter to Start...\2\n");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scanf("%c",%26amp;another);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    system ("cls");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("\nHow many major subjects you have: ");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scanf("%d",%26amp;major);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("Supply equivalent grade and unit for the major subjects:\n\n");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("                       GRADES                 UNITS\n");/* after I key in the grade it must not go down &lt;br&gt;&lt;br /&gt;&lt;br /&gt;                                                                      even if I press ENTER, it must be in the same line*/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    for(line=1; line%26lt;=major;line++)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("(%d) Major subjects:\t ",line);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scanf("%f",%26amp;grades);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    printf("\t");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    scanf("%d",%26amp;units);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;getch();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;\\try to paste this on your program.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I have problem in programming! pls answer this..It is .c file extension?&lt;br&gt;the line will move down because of "echo" on the terminal&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;best way is to output ANSI terminal escape codes to move the cursor back up to the previous line&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for reference:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ESC = ASCII#(27)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("\033[1A") moves the cursor up a line on most termninals&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5213642748024497523?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5213642748024497523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-problem-in-programming-pls.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5213642748024497523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5213642748024497523'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-problem-in-programming-pls.html' title='I have problem in programming! pls answer this..It is .c file extension?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2221931686601168088</id><published>2009-07-14T19:14:00.000-07:00</published><updated>2009-07-14T19:14:15.426-07:00</updated><title type='text'>Leaving out a vowels in C++ file?</title><content type='html'>Can anybody help me??? What i need to do is to leave out the vowels in ac++  file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Leaving out a vowels in C++ file?&lt;br&gt;Interesting question... I assume you want to parse C++, and remove the vowels on user identifiers (eg. "shrouding" the source itself).&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Is this what you are after? Or do you simply want a filter to remove vowels from anything...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If the second is what you want, try something like (note, no real C++ features used, aren't needed)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;strings.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int c;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    while ((c = getchar()) != EOF) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        if (index("aeiouAEIOU", c)) {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;            putchar(c);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;would do it. If you want to shroud C++ source, the project is a bit (understatement) bigger -- start with a BNF description of C++, and look at SNOBOL4 (www.snobol4.org). SNOBOL4 will accept the BNF description (more or less) directly, and will let you modify the user variables (function names, etc.) as they are seen. My estimate -- it will take 1 to 2 months to write the thing.  Alternatively, look for "C++ source shroud" on google -- that gave my www.abxsoft.com as a possible source for this program.&lt;br&gt;Reply:just write a function&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;void no_vowels(std::string%26amp; full_string){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::string result;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for(std::string::iterator back = full_string.rbegin();back != full_string.begin(); --back){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(*front != "A" || *front != "a" || *front != "E" ...ect){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;result += *back;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;};&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;full_string = %26amp;result;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;};&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;that will do it for strings....i think....its the gist of it i think you need to start at the back of the string, and cuz _ += will add it to the front....i could be wrong,  assuming u know file IO that shouldn't be too bad....u can make it return a string pretty easily too&lt;br&gt;Reply:I don't understand...can you explain&lt;br&gt;Reply:What is a C++ file?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I suspect you are supposed to write C++ code remove all the vowels from some text, then output the remaining characters it to a file.  Correct?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You will need to look at every character in the text, determine if it is a vowel, then decide whether you will write it or skip it.  Try writing a function bool IsVowel(char c ), then write code that determines if 'c' is a vowel.   Don't forget that vowels can be upper or lower case.  Think about using a switch statement here.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://peony3.blogspot.com/&gt;peony&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2221931686601168088?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2221931686601168088/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/leaving-out-vowels-in-c-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2221931686601168088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2221931686601168088'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/leaving-out-vowels-in-c-file.html' title='Leaving out a vowels in C++ file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6013458402760925073</id><published>2009-07-14T19:13:00.003-07:00</published><updated>2009-07-14T19:13:59.329-07:00</updated><title type='text'>Including audio in a C++ file??</title><content type='html'>can any1 write me a simple code for including(importing or watever) a .wav or any odr format sound file and play it on d running of d program automatically??? pls help urgently&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Including audio in a C++ file??&lt;br&gt;What you can do is issue a call to MCI to handle the audio file.&lt;br&gt;Reply:Uh, for which operating system?  If it's DOS, then you have to search for pre-built libraries for sound and music, then run your program in DOS BOX (DOS emulator program).  Back then, you had to program sound cards directly and build you own sound/music engines if you didn't want to purchase one.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For Windows, if you're using a framework like Borland's VCL or Microsoft's MFC, then you'll have to look in your framework's reference files to find the sound/music playing functions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you're programming with the Windows API, you can use different multimedia functions.  For playing .wav files, you can use the sndPlaySound() function.  For simple playback of  .wav %26amp; other types of sound/music files, you can either use the MCI or DirectShow functions.  MCI is older and most people use DirectShow nowadays, but MCI is simpler to use.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Example of mciSendString() function to play a MIDI file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;mciSendString( "play c:\midi\myfile.mid",0 ,0, 0);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://msdn2.microsoft.com/en-us/library...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6013458402760925073?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6013458402760925073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/including-audio-in-c-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6013458402760925073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6013458402760925073'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/including-audio-in-c-file.html' title='Including audio in a C++ file??'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-288636870889013241</id><published>2009-07-14T19:13:00.002-07:00</published><updated>2009-07-14T19:13:41.622-07:00</updated><title type='text'>How can I run  a c file "copylru.c" in the vc++ 2005 express edition?Plz tell the menu how to buuild and run.</title><content type='html'>I have a program copylru.c.How can I run it in the vc++ 2005 express edition?Please explain me the menu how to build and run the same&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I run  a c file "copylru.c" in the vc++ 2005 express edition?Plz tell the menu how to buuild and run.&lt;br&gt;My 2005 edition doesn't have a "Run" command. It's a "Debug" command which does the same thing. Look towards the top and you'll see a small green triangular play button to execute the debug. Hope this is what you were asking.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-288636870889013241?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/288636870889013241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-run-c-file-copylruc-in-vc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/288636870889013241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/288636870889013241'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-run-c-file-copylruc-in-vc.html' title='How can I run  a c file &quot;copylru.c&quot; in the vc++ 2005 express edition?Plz tell the menu how to buuild and run.'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4718859723405202470</id><published>2009-07-14T19:13:00.001-07:00</published><updated>2009-07-14T19:13:27.463-07:00</updated><title type='text'>How to include  *.c file in a C program?</title><content type='html'>note that the compiler  used is TURBO C++&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to include  *.c file in a C program?&lt;br&gt;All the files are included in the same way. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;For example you can write it as&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include "file1.h"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include "file2.c"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include "file3.c"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You can't write " *.c ".....you have to mention all the file names separately in the program !!&lt;br&gt;Reply:I don't think there is a direct way to do this. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;U can create a intermediate header file called allfiles.h which inturn&lt;br&gt;&lt;br /&gt;&lt;br /&gt;includes all the necassary C files. Your program can just use the %26lt;allfiles.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The allfiles.h can be generated thru another program(may be a batch file) to avoid manual effort&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4718859723405202470?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4718859723405202470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-include-c-file-in-c-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4718859723405202470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4718859723405202470'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-include-c-file-in-c-program.html' title='How to include  *.c file in a C program?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1802371615201759653</id><published>2009-07-14T19:13:00.000-07:00</published><updated>2009-07-14T19:13:09.886-07:00</updated><title type='text'>How do zip my C++ file to be under 250kb?</title><content type='html'>Our kb size of our compressed zipped folder  is way over the  limit that I want (at a whopping 1,000+ kb!). We have done everything said in the instructions but it still doesn't work. The only solution we see is to remove the debug folder before zipping and that will do it, but doing this causes our FormApp program to be unable to execute because of the missing debug file. Is there something we should delete in the debug file or something else we should be doing? Please email me back.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;email at pyrojelli@yahoo.ca if you can help me and I will email my file to you, thank you all.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How do zip my C++ file to be under 250kb?&lt;br&gt;http://books.google.com/books?q=c%2B%2B+...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://long-stem-roses.blogspot.com/&gt;long stem roses&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1802371615201759653?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1802371615201759653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-do-zip-my-c-file-to-be-under-250kb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1802371615201759653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1802371615201759653'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-do-zip-my-c-file-to-be-under-250kb.html' title='How do zip my C++ file to be under 250kb?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1494150448409957843</id><published>2009-07-14T19:12:00.003-07:00</published><updated>2009-07-14T19:12:54.024-07:00</updated><title type='text'>Adding An Icon To a C++ File?</title><content type='html'>I wrote a file in Visual Studio 2008 it was a win32 project, and empty.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;How Can i add an icon (.ico) to the .exe file i compiled?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I alrdy have an .ico file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Adding An Icon To a C++ File?&lt;br&gt;Move your .ico file into the \res folder of your project.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Open the resource viewer. Right click on your project (or open the icon folder). Add item, existing item, pull down the extension so ".ico" or "*" is selected. Click on your .ico file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It is now added to your project. Hope that helps.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1494150448409957843?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1494150448409957843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/adding-icon-to-c-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1494150448409957843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1494150448409957843'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/adding-icon-to-c-file.html' title='Adding An Icon To a C++ File?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5424421930814593975</id><published>2009-07-14T19:12:00.002-07:00</published><updated>2009-07-14T19:12:39.535-07:00</updated><title type='text'>How can we find a good attorney in Washington, D.C. to file a writ of mandamus against Sec. of State Rice?</title><content type='html'>Due to various unique historical, legal, etc. criteria, we have a group of people here who have determined that they should qualify for the issuance of "US national non-citizen passports."  (The issuance of such passports, and general qualifying criteria are outlined in Dept. of State Foreign Affairs Manuals, Series 7.)  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here where we live in Asia, however, the local United States embassy/consulate refuses to accept the applications (which is form DS-11).  They also refuse to give us any paperwork regarding their "opinion" and their "non-action."  We are tired of trying to argue with the consular officials. A law student from the USA suggested that we need is to file a writ of mandamus against the Secretary of State in the appropriate court in Washington, D.C.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Our own background research on this subject is actually quite extensive.  But how could we find a suitable attorney?  We do not live in the USA. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;What would this cost?  We definitely want to raise the money.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can we find a good attorney in Washington, D.C. to file a writ of mandamus against Sec. of State Rice?&lt;br&gt;Sounds like BS to me, 'mandamus' means 'we command' and frankly part of the reason that immigraiton's such a mess is that people are getting so damn pushy and demanding. I fully believe we should pull the plug on ALL immigration for 5 years, or until the whole mess sorts itself out. And, furthermore, what the hell is a US national non-citizen? Sounds like more lawyerese to me, you're either a citizen, or you aren't.  Speaking OF lawyers, I think we have them to thank for the broad confusion on the issue. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;When fish get spooked, they swim really really fast, which has the added effect of muddying the waters in a shallow area.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There's a lot of deliberately muddied water on the immigration question, now we've got people apparently trying to sue their way into the United States. This is all getting very very stupid...&lt;br&gt;Reply:i agree to disagree to agree.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;either way, can u give me 10 points? thanks&lt;br&gt;Reply:Good luck, because you'll need it. I have the feeling that no American attorney will go up against the Bush administration. However, You might check with film maker Michael Moore, who has a web site and/ or the ACLU. It would probably cost you plenty. What other legal options might you have?&lt;br&gt;Reply:Try the yellow pages&lt;br&gt;Reply:Give it up. You can't touch her.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5424421930814593975?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5424421930814593975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-we-find-good-attorney-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5424421930814593975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5424421930814593975'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-we-find-good-attorney-in.html' title='How can we find a good attorney in Washington, D.C. to file a writ of mandamus against Sec. of State Rice?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-631889108333507723</id><published>2009-07-14T19:12:00.001-07:00</published><updated>2009-07-14T19:12:21.571-07:00</updated><title type='text'>Simple C++ File I/O Question?</title><content type='html'>Why exactly does this program not work? I want the output to be 150&lt;br&gt;&lt;br /&gt;&lt;br /&gt;999&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(Ignore the spaces/line breaks, i just want those two numbers)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have commented the purpose of each of the four seperate peices of my code. All im trying to do here is put the number 150 into a file, then take it out and display it. that works. then, i want to overwrite 150 with 999. i know that works because i can open the file and look in it, it does indeed say 999.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;the trouble starts when i try to copy the 999 and display it...i get the original junk that was in the variable 'number2'&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(the code is in details because its too much text)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Simple C++ File I/O Question?&lt;br&gt;This really does seem perplexing. I am not an expert - the only thing I can think of is that it has something to do with the fact that it only takes 1 byte to represent 150 and it takes 2 bytes to represent 999. How do you know that what you are getting is what is in the variable number2 originally? I would be interested to know if instead of using 999 you used another number, like 127.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-631889108333507723?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/631889108333507723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/simple-c-file-io-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/631889108333507723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/631889108333507723'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/simple-c-file-io-question.html' title='Simple C++ File I/O Question?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3107831529317143678</id><published>2009-07-14T19:12:00.000-07:00</published><updated>2009-07-14T19:12:07.227-07:00</updated><title type='text'>What c++ and c file extension?</title><content type='html'>example for c++ --%26gt; test.cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;are  "printf" and "scanf" commands in C++ or C&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What c++ and c file extension?&lt;br&gt;c++  file name extention is .cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;c file name extention is .c&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf and scanf commands belong to language C&lt;br&gt;Reply:The file extension in C is .c  like test.c and &lt;br&gt;&lt;br /&gt;&lt;br /&gt;in C++, the extension of file is  .cpp, like test.cpp.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The printf and scanf are the standard output and input commands in C. But these can be valid in C++.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The same commands are cout and cin objects respectively in C++.&lt;br&gt;Reply:The are in C++ ..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thats a guess...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ok.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;bye...&lt;br&gt;Reply:for c : myfile.c&lt;br&gt;&lt;br /&gt;&lt;br /&gt;forc++ : myfile.cpp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for using "printf" and "scanf" commands in C : #include %26lt;stdio.h%26gt; befor main&lt;br&gt;Reply:I'm sorry iyiogrenci but printf and scanf are also in C++ language!they are predefined with %26lt;stdio.h%26gt;;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;scanf allow you to insert data from file like "file%26gt;%26gt;x" for %26lt;fstream.h%26gt; and printf allow you to print data into file like "file%26lt;%26lt;x"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for %26lt;fstream.h%26gt;&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://99gifts.blogspot.com/&gt;gifts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3107831529317143678?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3107831529317143678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-c-and-c-file-extension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3107831529317143678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3107831529317143678'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-c-and-c-file-extension.html' title='What c++ and c file extension?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4993848691802255243</id><published>2009-07-14T19:11:00.003-07:00</published><updated>2009-07-14T19:11:51.125-07:00</updated><title type='text'>C++ file monitor?</title><content type='html'>what library and function would i use to detect size change and possibly content change of a running file?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ file monitor?&lt;br&gt;You mention linux compatible.  However you are writing for linux only then you can look at "inotify".  It's system call and you need a kernel beyond, if I recall, 2.6.12.  Check you kernel version and do a web search for inotify if it isn't already in your man pages.&lt;br&gt;Reply:I think you want FAM, the File Alteration Monitor&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://oss.sgi.com/projects/fam/faq.html...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For windows an OS X you have to use different libraries - there's no cross-platform solution I know of.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4993848691802255243?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4993848691802255243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-monitor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4993848691802255243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4993848691802255243'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-monitor.html' title='C++ file monitor?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1631050143253570324</id><published>2009-07-14T19:11:00.002-07:00</published><updated>2009-07-14T19:11:34.032-07:00</updated><title type='text'>C File I/O question.?</title><content type='html'>okay.. I've learned to take the content of a file and output it with printf... now I need someone to explain to me how i would set each line into a global variable. As sort of a configuration file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;like this.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;file - bot.conf&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;BotNick "nicknamehere"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;BotUser "botuserhere"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and it would set those into a variable to be used by the entire programme.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also, if it's not too difficult, i'd like to have support for shell style comments.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C File I/O question.?&lt;br&gt;Declare the global variables *before* any of your routines, so their scope is the entire source file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include ...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char globNick[256];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char globUser[256];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int grabGlobal() {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;   /* In here, you assign to the global variables. */&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main () {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If your global variables get used in any other files, you declare them similarly at the top of the file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;extern char nickGlob[256];&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Shell-style comments depend on your shell: look up the comment syntax.  For most UNIX-based shells, it's simply "# " (sharp - space) at the start of the line.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Does that help?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://zinnia2.blogspot.com/&gt;innia&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1631050143253570324?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1631050143253570324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-io-question_14.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1631050143253570324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1631050143253570324'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-io-question_14.html' title='C File I/O question.?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7160772586836183303</id><published>2009-07-14T19:11:00.001-07:00</published><updated>2009-07-14T19:11:17.639-07:00</updated><title type='text'>Source code that can expand macros in C source file?</title><content type='html'>Does any body have  code that can expand macros in C source file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Source code that can expand macros in C source file?&lt;br&gt;jonny try this link&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.google.co.uk/search?hl=en%26amp;q=S...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7160772586836183303?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7160772586836183303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/source-code-that-can-expand-macros-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7160772586836183303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7160772586836183303'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/source-code-that-can-expand-macros-in-c.html' title='Source code that can expand macros in C source file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2416939206423028237</id><published>2009-07-14T19:11:00.000-07:00</published><updated>2009-07-14T19:11:02.246-07:00</updated><title type='text'>What is graphic functions header file in Microsoft Visual C++ 6.0?</title><content type='html'>In a C++ Source File program that runs in DOS, what header file contains graphic functions such as _setpixel(), &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;_setvideomode(), _lineto(), …? What is it's path and name?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is graphic functions header file in Microsoft Visual C++ 6.0?&lt;br&gt;If your code will work purely in DOS mode (no Windows at all) you can get to a graphics mode using DOs Interrupts to set mode which defines the resolution and color depth (in DOS there is no wayb to use high resolutions with out using compatible VESA drivers for your video card) then can put pixels just by directly writting to memory locations segment b800h and a000h point to video adapters video buffer.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you are using Windows you can use GDI.h (Graphics Device Interface) for a standardized video API independent of video driver. You use device contexts to access the graphic functions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Loren Soth&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2416939206423028237?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2416939206423028237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-graphic-functions-header-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2416939206423028237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2416939206423028237'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-graphic-functions-header-file.html' title='What is graphic functions header file in Microsoft Visual C++ 6.0?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6710859808499132774</id><published>2009-07-12T20:24:00.001-07:00</published><updated>2009-07-12T20:24:27.080-07:00</updated><title type='text'>Please tell me whats wrong with the C header file i created ?</title><content type='html'>i am trying to creat a C header file. i want a funcion that prints a menu, prompt for the choice, scan it and return it to function main.  so i created header file and tried to use the function in a program but not working pls tell me whats wrong here.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;header file................&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int menu_bread()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  int choice;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  printf("1.Baguette : 2.Foccacia : 3.Ciabatte");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  printf("\nbread type:");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  scanf("%d",choice);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  return choice;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main function i ivoked the function ............&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;stdio.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;program.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int choice&lt;br&gt;&lt;br /&gt;&lt;br /&gt;choice=menu_bread();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;if(choice==1)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("ok");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;program.h     is the header file i created.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Please tell me whats wrong with the C header file i created ?&lt;br&gt;I understand you are trying to do some thing. I dont want to go deap into this. All the best!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The error is due to the missing '%26amp;' before the 'choice' in the "scanf("%d",choice);" statement in the menu_bread() function.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Also make sure you place your header file (say) in the correct path. First try to have the function in the main *.c file and test. Then you move that as a seperate file. You will be able to debug easily. Hope this helps.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Please note only when you press '1' you will get the output in the console or else noting will be there. So you may like to add an else statement saying something to make sure it works or not. Please add a getche(); or getch() at the end of the program too.&lt;br&gt;Reply:don't forget that the header file always just contains the declaration of the function, not the function body:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;header file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;extern int menu_bread();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int menu_bread()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;(in your case, it also works if your header file contains the function body, but this is an exception and absolutely not recommended because it will give you a lot of trouble in bigger projects).&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6710859808499132774?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6710859808499132774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/please-tell-me-whats-wrong-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6710859808499132774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6710859808499132774'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/please-tell-me-whats-wrong-with-c.html' title='Please tell me whats wrong with the C header file i created ?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1030104553506272298</id><published>2009-07-12T20:24:00.000-07:00</published><updated>2009-07-12T20:24:12.912-07:00</updated><title type='text'>How to use a c++ exe file from linux in windows?</title><content type='html'>I have a c++ code in linux. In this code I call another code and I run it. The exe file for this other code is called "voronoi" and I need to give it as input "b.txt". The output will be called HEXAGON.txt . For this I use the command:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system("/.voronoi %26lt;b.txt %26gt;HEXAGON.txt");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;now the problem is that I have another c++ code in windows and I need to call "voronoi" in this code aswell but I don'y know how to do it. I have copied voronoi into the folder of this code but it doesnt work. Please help.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How to use a c++ exe file from linux in windows?&lt;br&gt;It is better to have the source code voronoi to make the program portable and faster, I should say. So I would recommend you finding another source code implementation for voronoi.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;As indicated earlier, the executable formats are different in Windows and linux, so you would need to use to use an emulator like Cygwin. Using Cygwin, you can run linux executables in Windows environment.&lt;br&gt;Reply:Don't.  Linux uses the ELF file format for its executables.  Windoze uses the exe and com formats for its executables.  If you want to run voronoi under Windoze you copy the source code to your Windoze HD and download either djgpp or DevC++ (at http://www.delorie.com/djgpp and http://www.bloodshot.net/dev-cpp.html ) and recompile it as an exe file.  Both are Windoze ports of GCC.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If your computer can ever ever forgive you for leaving Windoze on it, it will thank you for not mixing file formats that way.&lt;br&gt;Reply:At a guess I say the problem was to do with the '/.' part of you system command.  Windows and Linux will treat this differently.  With the syntax you've used I think it would try to find voronoi in the the root directory of the current drive.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'd copy voronoi into some directory that is in PATH and then call it with -&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;system ("voronoi %26lt;b.txt %26gt;hexagon.txt");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I create a C:\Bin folder to do this.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2gerbera.blogspot.com/&gt;gerbera&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1030104553506272298?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1030104553506272298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-use-c-exe-file-from-linux-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1030104553506272298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1030104553506272298'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-to-use-c-exe-file-from-linux-in.html' title='How to use a c++ exe file from linux in windows?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7905669068266779033</id><published>2009-07-12T20:23:00.003-07:00</published><updated>2009-07-12T20:23:55.107-07:00</updated><title type='text'>Extract or View C++ Source code from an exe file?</title><content type='html'>Is there any way I can extract or at least the C++ source file of an exe file. Im really in need of help Iv only got the exe file and iv lost the source code. Please Some one Help.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Extract or View C++ Source code from an exe file?&lt;br&gt;A simple answer would be, No. You cannot extract the c++ source files (.cpp) from an .exe.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You can reverse engineer the binary file. You can always get the Assembly Source code (hopefully). Cause an EXE is a binary compilation. So you cannot get the .cpp files only the assembled code which is ASSEMBLY.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You could either DEBUG the exe and see the application run in Assembly, or use some kind of reverse engineering tool like DA.PRO&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Take a look at Assuming its .NET:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.netdecompiler.com/index.html&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.junglecreatures.com&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It is illegal to get the source code of an EXE. Cause if the programmer wants the user to see the source code, he could of included it. Unless your learning how to crack software, then your doing something which isn't good.&lt;br&gt;Reply:No.  Once a high-level language program is compiled into the assembly code, the information of the original source is lost.  You cannot get back to the source code.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There is no one-to-one relationship between a high-level language statement and an assembly instruction.  One statement is normally compiled to more than one instructions.  Then the compiler attempt to optimize the code by removing redundant code, or replacing a code segment with better instructions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So, why you cannot reverse engineering back the source?  First, you do not know where the boundaries of two high-level languages are.  Second, after optimization, you don't even have instructions for a complete statement anymore.&lt;br&gt;Reply:no.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7905669068266779033?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7905669068266779033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/extract-or-view-c-source-code-from-exe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7905669068266779033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7905669068266779033'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/extract-or-view-c-source-code-from-exe.html' title='Extract or View C++ Source code from an exe file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4306127984498873003</id><published>2009-07-12T20:23:00.002-07:00</published><updated>2009-07-12T20:23:37.398-07:00</updated><title type='text'>C++ file I/O question?</title><content type='html'>My problem is I have to compute an average of grades from students from a text file and put the original data plus the averages in a new file.  Each line of the input file contains a student's last name, a space, the student's first name, a space, and then ten quiz scores (whole numbers) separated by spaces all on one line.  The data of the input file will be exactly the same as the input file, except there will be an average at the end of each line.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have all the general open input file, output file, etc. stuff...I just don't know how to begin on the rest of it.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ file I/O question?&lt;br&gt;#include %26lt; fstream%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//open the file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ifstream in;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;in.open("file.txt");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//open the output file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ofstream out;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;out.open("out.txt");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//declaration&lt;br&gt;&lt;br /&gt;&lt;br /&gt;string firstname;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;string lastname;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;double score;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;double sum = 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int n =1;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while (!in.eof())&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//while it is not the end of file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// get the last name, first name and score in each line &lt;br&gt;&lt;br /&gt;&lt;br /&gt;in %26gt;%26gt; lastname %26gt;%26gt; firstname %26gt;%26gt; score;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//print in the output file the last name, first name and score &lt;br&gt;&lt;br /&gt;&lt;br /&gt;out %26lt;%26lt; lastname %26lt;%26lt; " " %26lt;%26lt;  firstname %26lt;%26lt; " " %26lt;%26lt;score %26lt;%26lt; " ";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//print the average&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sum = sum + score;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;out %26lt;%26lt; sum / n %26lt;%26lt; endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;n++;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//close the file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;in.close()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;out.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}// end of main&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4306127984498873003?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4306127984498873003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-io-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4306127984498873003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4306127984498873003'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-file-io-question.html' title='C++ file I/O question?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2645504109141748358</id><published>2009-07-12T20:23:00.001-07:00</published><updated>2009-07-12T20:23:22.067-07:00</updated><title type='text'>Is a C executable file portable across various systems?</title><content type='html'>how to create an installable file from a C program.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Is a C executable file portable across various systems?&lt;br&gt;No.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The source code will sometimes be portable, especially between different POSIX systems, but you still need to recompile for different CPU instruction sets.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2645504109141748358?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2645504109141748358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/is-c-executable-file-portable-across.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2645504109141748358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2645504109141748358'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/is-c-executable-file-portable-across.html' title='Is a C executable file portable across various systems?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-748923119127951093</id><published>2009-07-12T20:23:00.000-07:00</published><updated>2009-07-12T20:23:05.053-07:00</updated><title type='text'>Does we need turbo c software to run turbo c exe file?</title><content type='html'>Hmmm sounds wierd! I wrote a program called chart.c in turbo c which is two header files like bimap.h ,xyz.h.When I compile,chart.exe is created.when i run chart.exe in some other machine, its not running unless tc sofware and those two header files is placed in the system.Can anyone tell me why it happens and how to make one single exe file without all these headerfiles and tc sofware.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Does we need turbo c software to run turbo c exe file?&lt;br&gt;I think u may have to carry only the two header files.&lt;br&gt;Reply:kumarango... when you compile your code you must use independent source library. so when you compile the source the code will have certain flags and library built in. Assembler pointer must be made at start of your code.&lt;br&gt;Reply:Once you have your .exe file you should be able to execute it on any PC. You don't need to copy all the other files, they are just needed from your compiler to build the .exe file.&lt;br&gt;Reply:Your header file might be compiled as an extended object library of your exe file. This means that whenever you run chart.exe, it will look for its extended library which are your header files. To solve this, check your header decleration.&lt;br&gt;Reply:you need to make sure that it compiles those two header files inside the .exe file&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://4rosemary.blogspot.com/&gt;rosemary&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-748923119127951093?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/748923119127951093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/does-we-need-turbo-c-software-to-run.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/748923119127951093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/748923119127951093'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/does-we-need-turbo-c-software-to-run.html' title='Does we need turbo c software to run turbo c exe file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5644964269615722264</id><published>2009-07-12T20:22:00.003-07:00</published><updated>2009-07-12T20:22:50.085-07:00</updated><title type='text'>Need site for C, C++ ,Batch file programming?</title><content type='html'>i need a site where they teach advanced batch file programming, C, C++ and that kind of stuff properly.I Know the basics and need to study the advanced stuff becoz iam too sleepy to listen to the crap they teach in highschool.......&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Need site for C, C++ ,Batch file programming?&lt;br&gt;Hehe..Sammy U'll never change yaar..:)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5644964269615722264?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5644964269615722264/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/need-site-for-c-c-batch-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5644964269615722264'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5644964269615722264'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/need-site-for-c-c-batch-file.html' title='Need site for C, C++ ,Batch file programming?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3588925614388393545</id><published>2009-07-12T20:22:00.002-07:00</published><updated>2009-07-12T20:22:33.363-07:00</updated><title type='text'>How can i retrieve .c source file from an exe file?</title><content type='html'>i was finishing my project and accidentaly overwrite the .c and all i have is executable file from the compiler, pls i badly nid help hir...can i decompile the executable to make c source? please help..&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can i retrieve .c source file from an exe file?&lt;br&gt;What you are looking for is called a "reverse compiler".&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I have heard of them.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This may be one:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.backerstreet.com/rec/rec.htm&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Otherwise you are, indeed, out of luck.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you stay in programming long enough, you will overwrite many files and each one will re-remind you to, "back up, back up, back up".&lt;br&gt;Reply:This just cannot be done since the compiler passed through various stages on the way to the EXE file. During each stage information is lost. So it is one way.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The only thing I think can be done is disassemble but it will not produce C but the assembley language&lt;br&gt;Reply:Some free utilities to do disassembly exist.  Some for assembly to C exist.  However, they will NOT recover variable names, strucutre names, comments and other declarations in any way other than the convention of the decompiler/disassembler.  So, what you'll get will be really strange looking code, with nothing familiar in it.  I've seen programmers try and pull this trick with there own code and still not recreate it very well.  The site below has a variety of such tools, but if I were you, I'd just start over.  It'll be easier and probably improve your knowledge more than disassembling it would any way.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;EDIT --&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There is one glimmer of hope that may help you out.  You say that you "overwrite" the file?  On some medium, such as floppy or hard drive, you might be able to use a data retrieval utility to find the magnetic remanants of the file's image.  Just because the file is truncated, overwritten once or "deleted" doesn't mean that it is physically gone, it just can't be found and read by the computer's normal methods.  Try searching for a free demo of the software.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I wish you luck.&lt;br&gt;Reply:If only, if only.  Sorry.&lt;br&gt;Reply:Yes, you can use a "DEcompiler" that will generate C code from the exe.  However, it will not look like the C code you wrote because a program looks at the machine instructions and produces C statements from those instructions.  So it might help you start over, but the output from the decompiler is messy to read.&lt;br&gt;Reply:No, source code is not stored in the executeable file.  As others have mentioned, you could use a decompiler ... but if you weren't backing up your data externally, then I'm guessing your project is not worth the trouble/effort of attempting to recover source code.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Sorry ... you'll need to write it again.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3588925614388393545?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3588925614388393545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-retrieve-c-source-file-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3588925614388393545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3588925614388393545'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-retrieve-c-source-file-from.html' title='How can i retrieve .c source file from an exe file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3211418320954421222</id><published>2009-07-12T20:22:00.001-07:00</published><updated>2009-07-12T20:22:18.687-07:00</updated><title type='text'>A C++ header file ???</title><content type='html'>Hello !&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Does anyone know where I can find the definition, I mean, the code, of %26lt;strstream%26gt;, or if at all it can be found ? It's an old C++ header file, with four deprecated classes, but I need it because this thing I am trying to build uses it and it is also old :) &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I am not very experienced with this :)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks !&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;A C++ header file ???&lt;br&gt;If you have a C++ compiler installed on your machine (like Visual Studio), then the "include" path usually has all the header files. I have Visual Studio myself, so I searched under Program Files\Microsoft Visual Studio 8\VC\Include and found the file there. Y! Answers does not let me attach a file, otherwise I could have given you the file itself.&lt;br&gt;Reply:It would be part of an older version compiler distribution. I've updated all %26lt;strstream%26gt; code to use %26lt;sstream%26gt; with very little effort. Depending how much its used in your project, maybe that would be easier than finding a now discontinued header.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The difference is that %26lt;strstream%26gt; uses a character array for storage and %26lt;sstream%26gt; uses a std:string for storage. I've always used them for output formatting so all I had to do was change the type and use c_str() to get a usable character array result.&lt;br&gt;Reply:# include %26lt;iostream.h%26gt;&lt;br&gt;Reply:I do not quite understand your question.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Did you check this website out below?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.tacc.utexas.edu/services/user...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It has extensive information concerning the class strstream, what it is used for (writing to an array located in memory), and other information.&lt;br&gt;Reply:Use google code search, the best way to find out about google code search is to google it :)&lt;br&gt;Reply:strstream is still available in Visual Studio 2005. The class stringstream is part of the STL and should be available to most compilers on most platforms.&lt;br&gt;Reply:Do you have Microsoft Visual Studio 2005? The latest version (2008 isnt out yet) has access to the MS library which has a lot of the most-used files for programming.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;strstream%26gt; doesn't sound familiar, if it is old, it might be built into %26lt;string%26gt;&lt;br&gt;Reply:%26lt;strstream%26gt; translates to strstrea.h&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Do a search in your compiler directory for this file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3211418320954421222?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3211418320954421222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3211418320954421222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3211418320954421222'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file.html' title='A C++ header file ???'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1472536519095482641</id><published>2009-07-12T20:22:00.000-07:00</published><updated>2009-07-12T20:22:02.363-07:00</updated><title type='text'>C++ data file on mac?</title><content type='html'>I am trying to write a program in C++ that will take input from a data file (employee.in).  In the book (from school) it only explains how to run this program using a MS-DOS input window. I don't think I can run that on my mac computer. Does anyone know how to run this program on a mac? Or... Does anyone know how to run the MS-DOS promt on a mac? Thanks.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ data file on mac?&lt;br&gt;if u can istall c++ program on ur computer that would do it for u try may be dev c++&lt;br&gt;Reply:You have a C compiler on the mac. Once compiled for mac it will run from the console window. The commands are different, and it would need re-compiling for Windows use.&lt;br&gt;Reply:you can run windows on macs... and work on the file from windows on the mac. you would need a pretty fast mac.... somewhat new... bootcamp or parallels, and of course a windows cdrom. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;this is the only way to have msdos on a mac.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://2wallflower.blogspot.com/&gt;wallflower&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1472536519095482641?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1472536519095482641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-data-file-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1472536519095482641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1472536519095482641'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-data-file-on-mac.html' title='C++ data file on mac?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5748969026275506325</id><published>2009-07-12T20:21:00.002-07:00</published><updated>2009-07-12T20:21:45.986-07:00</updated><title type='text'>What is the C:/RECYCLER file for?</title><content type='html'>I have a problem with some files that I've downloaded from a P2P network. They keep on leaving duplicates of a song that I've downloaded and when I click on them they don't play. The file path says C:/RECYCLER/NPROTECT/(somenumbers).mp3.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;When I went to this location, there were a bunch of files that were encoded and I look and see that the attributes of the NPROTECT file say "Hidden". Is this why I cannot delete the faulty mp3s? Thanks.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is the C:/RECYCLER file for?&lt;br&gt;This folder is part of Norton antivirus. You can limit the size of this file by cutting back on the amount of restore points you create. When you uninstall Norton you can delete this folder. As to the encoded files they are probably backups of files you've been downloading.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;check out these sites for more info...   http://www.wilderssecurity.com/showthrea...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://help.lockergnome.com/general/NPRO...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;hope this helps or at least gives you a starting point.&lt;br&gt;Reply:RECYCLER is the RECYCLE BIN folder&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;it is the folder where deleted files are temporarily stored (i.e. "Are you sure you want to send %26lt;file%26gt; to the Recycle Bin?")&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Every hard drive installed in your computer has its own RECYCLER folder.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To delete those faulty MP3s in the Recycled folder, try to empty your Recycle Bin.&lt;br&gt;Reply:C:\Recycler is one more Microsoft implementation to either guard a legitamate user from harming his or her system, or to collect data for a purpose known only to Microsoft.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The C:\Recycler folder on a Windows Operating System is where all the deleted files go. If you go to "Tools%26gt; Folder Options...%26gt; View %26gt;" in a explorer window and uncheck "Hide protected Operating System Files" you will be alerted with a box saying it is un davised to do this. Click ok and navigate to C:\ drive and you will see it and be able to navigate and delete the files.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;hope this helps.&lt;br&gt;Reply:Bet you set the p2p software to delete incomplete or faulty files. And somewhere along the line you have used Norton utilities?? Right? Norton protected recycle bin is a pain in the a@s. Hard to get rid of but it can be done. Go to the Norton control and turn off Norton protected recycle bin. Also get "file utilities" from http://www.gibinsoft.net/gipoutils/ once installed it lets you move or delete on reboot when windows cant screw with you.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5748969026275506325?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5748969026275506325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-crecycler-file-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5748969026275506325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5748969026275506325'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-crecycler-file-for.html' title='What is the C:/RECYCLER file for?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7999675710359045771</id><published>2009-07-12T20:21:00.001-07:00</published><updated>2009-07-12T20:21:29.506-07:00</updated><title type='text'>Outputting data from c++ into file?</title><content type='html'>Hello,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;      I would like to know how to, in my c++ program, write certain bits of data directly to file instead of writing it to the screen.  My program asks me for specific input then after I give the parameters I want it to take the output values that would normally be put to the stream but then instead be directed to a file I create.  on top of that I would like to be able to somehow make it so that each time I execute the program it writes the data to consecutive files.  For example the first file would be "file1" the second "file2" and so on.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Brian&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Outputting data from c++ into file?&lt;br&gt;Whew!  That's daunting!  Ok, here it goes.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;to start with, create a file called "iterator.txt" and put the letter 'A' into it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include %26lt;fstream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;main... (all that gibberish that goes in the "main" declaration)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//get the letter value of this current time running the program&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//this will help in naming the final output file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ifstream iterator = "iterator.txt"; //open an input file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char iteration = iterator.get(); //get a value out of a file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;iterator.close(); //close a file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ofstream nextVal = "iterator.txt"; //open an output file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;nextVal.put(iteration + 1); //put a character into a  file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;nextVal.close(); //close a file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//now to create and write the output file.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ofstream outputFile = "file" + iteration + ".txt"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//write to the output file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;*outputFile %26lt;%26lt; "Send some stuff to the file, yo." %26lt;%26lt; endl;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;//remember to close your file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;outputFile.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;That's the basic gist of it.  I'm doing this all from memory, so I'm sure there are bugs in the code.  Use a search engine to fill in the gaps in what I've told you here.&lt;br&gt;Reply:#include %26lt;fstream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    int main()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    {&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        fstream file_op("c:\\file.ext ",ios::out);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        file_op%26lt;%26lt;"wirte to file this line  ";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        file_op.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;        return 0;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;    }&lt;br&gt;Reply:*slaps forhead* dude, there are only like 5,000,000 recources at your disposal that tell you how to do this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.cplusplus.com/doc/tutorial/&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;don't program unless you want to do a lot of technical reading and abuse search engines&lt;br&gt;Reply:# include%26lt;iostream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;# include%26lt;fstream.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;# include%26lt;process.h%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int main(void)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;{&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fstream file_output("C:\\sample.fil"ios::out);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;file_out%26lt;%26lt;":-) I have done it!";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;file_out.close();&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;getch();&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7999675710359045771?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7999675710359045771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/outputting-data-from-c-into-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7999675710359045771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7999675710359045771'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/outputting-data-from-c-into-file.html' title='Outputting data from c++ into file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2547005066705686912</id><published>2009-07-12T20:21:00.000-07:00</published><updated>2009-07-12T20:21:14.308-07:00</updated><title type='text'>C and C++,make file?</title><content type='html'>Is there any example in MAKE FILE which has C and C++ link.anyone plz....................&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C and C++,make file?&lt;br&gt;There really shouldn't be a difference between C and C++ linking.  The compile step may require differences though.&lt;br&gt;Reply:Make file:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;After compilation, the file is created with the options, where to place which files and the various options like uninstall etc information will be available.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There is no such a difference in C or C++ make files.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To create a make file, visit the following link:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.hsrl.rutgers.edu/ug/make_help...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2547005066705686912?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2547005066705686912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-and-cmake-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2547005066705686912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2547005066705686912'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-and-cmake-file.html' title='C and C++,make file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5156183477243006720</id><published>2009-07-12T20:20:00.003-07:00</published><updated>2009-07-12T20:20:59.250-07:00</updated><title type='text'>C programming file printing?</title><content type='html'>Hello, I have a slight problem regarding fprintf.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Basically, I am asking the user to input a number:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;printf("%d\n", get_id("Enter the Number (100000-999999): ", 99999, 1000000));&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;but when it comes to printing it to a text file, i'm not sure what to write for the variables part:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fp = fopen("C:\\test.txt", "w");&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fprintf(fp, "%d", ???);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;question marks indicate that I don't know what to put in there.  I made the get_id() function in another file in which the function returns the value "n".  n being the number the user inputs.  I'm not sure if that helped.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Any help would be much appreciated.  Thanks.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C programming file printing?&lt;br&gt;You put there the variable names you want written to the file, one for each %-specification in the second parameter. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I suspect you're also missing the saving of the value that get_id probably returns. What I think your code should look like is this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;int id;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;id = get_id( ....whatever );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fp = fopen( ....);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fprintf( fp, "%d", id );&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck.&lt;br&gt;Reply:fprintf and printf work exactly the same except for the file pointer.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://hollyhock1.blogspot.com/&gt;hollyhock&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5156183477243006720?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5156183477243006720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-programming-file-printing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5156183477243006720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5156183477243006720'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-programming-file-printing.html' title='C programming file printing?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5669547516236365708</id><published>2009-07-12T20:20:00.002-07:00</published><updated>2009-07-12T20:20:42.066-07:00</updated><title type='text'>Get message C:\file not found C:\?</title><content type='html'>I downloaded an antivirus. After I realized that it was not working properly probably because my pc is old. I uninstalled it and deleted files also by hand.Now during boot after the Win98 screen shows the first time I get this message on a black screen: C:\ file not found C:\. How can I get rid of it?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Get message C:\file not found C:\?&lt;br&gt;CLICK START&lt;br&gt;&lt;br /&gt;&lt;br /&gt;CLICK RUN&lt;br&gt;&lt;br /&gt;&lt;br /&gt;WRITE MSCONFIG&lt;br&gt;&lt;br /&gt;&lt;br /&gt;CLICK  OK&lt;br&gt;&lt;br /&gt;&lt;br /&gt;THE SYSTEM CONFIGURATION UTILITY WINDOW WILL OPEN&lt;br&gt;&lt;br /&gt;&lt;br /&gt;SELECT START UP&lt;br&gt;&lt;br /&gt;&lt;br /&gt;REMOVE THE SIGN IN FRONT OF YOUR ANTIVIRUS&lt;br&gt;&lt;br /&gt;&lt;br /&gt;THEN CLICK OK&lt;br&gt;&lt;br /&gt;&lt;br /&gt;THEN RESTART&lt;br&gt;Reply:i think you need to format your C %26amp; install new windows &lt;br&gt;&lt;br /&gt;&lt;br /&gt;or i perfer to therow your computer from your window  lol&lt;br&gt;Reply:do a refresh windows install &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Do not format just refresh windows files &lt;br&gt;&lt;br /&gt;&lt;br /&gt;or put win 98 disk in drive , Run type sfc (press enter)&lt;br&gt;&lt;br /&gt;&lt;br /&gt;browse disk and extract file(s)&lt;br&gt;Reply:this problem arises when you delete the files by hand try to go to add remove program in control panel(i think win98 has that) and remove it from there, other than that u can try to restore your computer back couple of weeks before u deleted the anti virus&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5669547516236365708?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5669547516236365708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/get-message-cfile-not-found-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5669547516236365708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5669547516236365708'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/get-message-cfile-not-found-c.html' title='Get message C:\file not found C:\?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6984865920879194642</id><published>2009-07-12T20:20:00.001-07:00</published><updated>2009-07-12T20:20:25.543-07:00</updated><title type='text'>C++ read file help?</title><content type='html'>i want my program to read a .dat file containing characters arranged like below:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A&lt;br&gt;&lt;br /&gt;&lt;br /&gt;B&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C&lt;br&gt;&lt;br /&gt;&lt;br /&gt;B&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A&lt;br&gt;&lt;br /&gt;&lt;br /&gt;B&lt;br&gt;&lt;br /&gt;&lt;br /&gt;A&lt;br&gt;&lt;br /&gt;&lt;br /&gt;B&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;how do i let my program know that it should take a value, then skip the whitespace, then take the value after the whitespace until end of file? I was give some codings that look like this&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;infile %26gt;%26gt; temp %26gt;%26gt; ws;   //whats temp? a char?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ read file help?&lt;br&gt;I'll assume you have included %26lt;iostream%26gt;, and ifstream infile.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Actually, the easier way to do it is...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;char temp;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;while (infile.peek() %26amp;%26amp; !infile.eof()){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;     infile %26gt;%26gt; temp;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Anyway, this is just one way to do it. I like to use peek() to know the eof is reached.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6984865920879194642?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6984865920879194642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-read-file-help.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6984865920879194642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6984865920879194642'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-read-file-help.html' title='C++ read file help?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3268546830844114203</id><published>2009-07-12T20:20:00.000-07:00</published><updated>2009-07-12T20:20:09.698-07:00</updated><title type='text'>C++ Header file question (SystemInfo.h)?</title><content type='html'>i am building a C++ console application that requires me to include "SystemInfo.h"&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i included this in my project (ie...... #include "SystemInfo.h")&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and i am getting a compile error with microsoft visual c++ compiler:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;fatal error C1083: Cannot open include file: 'SystemInfo.h': No such file or directory&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;i did some research but cannot find this file or where it is supposed to be located, any help would be greatly appreciated!!!!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ Header file question (SystemInfo.h)?&lt;br&gt;Systeminfo.h is probably a system header file.  Use %26lt; and %26gt; instead of quote marks.  That causes the precompiler to look in the system directories first.&lt;br&gt;Reply:I used to get that error when I forgot to save the file I included in the program.  I hope you the error.  Good luck!&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3268546830844114203?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3268546830844114203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file-question-systeminfoh.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3268546830844114203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3268546830844114203'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file-question-systeminfoh.html' title='C++ Header file question (SystemInfo.h)?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8702222990008752291</id><published>2009-07-12T20:19:00.003-07:00</published><updated>2009-07-12T20:19:54.774-07:00</updated><title type='text'>C++ header file question...?</title><content type='html'>In C++ if you write a function you are going to include in a separate file that use a class from the STL do you include that in the .h file, .cpp file, or both??&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;example:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.h file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// do i include string here in the .h file? &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;string%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::string foo(std::string x);&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;.cpp file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;// or do you includ it here in the defination&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#include%26lt;string%26gt;?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;std::string foo(std::string x){&lt;br&gt;&lt;br /&gt;&lt;br /&gt;return x + "asdf";&lt;br&gt;&lt;br /&gt;&lt;br /&gt;};&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or do you do it in both????&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;C++ header file question...?&lt;br&gt;You’ll need to include a header file wherever you use something from it. In your example, you definitely need to include it in the header file. Now, in your case, you don’t need to include it in the source file, but you should.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Includes cascade. That is, your source file includes it’s respective header file, the one where you declare std::string foo(…). However, that header file includes string, so… But you shouldn’t assume that a header file includes another. You should include string in both the header file and source file, because the declarations are required in both.&lt;br&gt;Reply:What a good question, the answer is just the header.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Why ? Because in this case the cpp file has already been compiled into a type of object file known as a library.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And the CRT or C RunTime library is linked into your program by default. You most likely therefore would recieve an error if you tried also including the cpp for the compiler because you would wind up with two indentical foo functions in the resulting program!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;For other libraries though you have to actually mention them for the linker as well, otherwise you would recv a link error that the function is notr implemented(or worse a runtime error if you've been tricky)&lt;br&gt;Reply:You need it in the header file else std::string would be unresolved.  There's a case where you may get away without it: when some other file you include in turn include it.  But for documentation sake you should always explicitly include your dependencies.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Most header files have some macro trickery such as:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#ifndef __blahblahblah&lt;br&gt;&lt;br /&gt;&lt;br /&gt;...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;#endif&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So the header file can be included multiple times in the course of processing your .cpp file and won't run into "multiply defined" errors.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1cabbage.blogspot.com/&gt;cabbage&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8702222990008752291?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8702222990008752291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8702222990008752291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8702222990008752291'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/c-header-file-question.html' title='C++ header file question...?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4964839116886838393</id><published>2009-07-12T20:19:00.002-07:00</published><updated>2009-07-12T20:19:38.418-07:00</updated><title type='text'>On my c drive,c program files there is a dslifestyle.exe file.ok,then there is another one in c;\program files</title><content type='html'>i have been getting a pop up box saying this file is missing, but  i came across one file in my c;program files. Then i click on it, and it goes to another file that is called-C;\Program Files\dslifestyle, so what do i do with the one that doesn't look like a file it is like three little blocks-like kids blocks&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;On my c drive,c program files there is a dslifestyle.exe file.ok,then there is another one in c;\program files&lt;br&gt;Adware-DropSpam:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You may use a good anti spyware software like Ad-Aware to scan your system &lt;br&gt;&lt;br /&gt;&lt;br /&gt;or visit the webpage below for more information and to identify the file locations of the adware  and remove them manually.&lt;br&gt;Reply:That looks like adware....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you delete the file it will just duplicate itself or download even worse stuff.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You would prob need a good spysweep with anti virus ware.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4964839116886838393?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4964839116886838393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/on-my-c-drivec-program-files-there-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4964839116886838393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4964839116886838393'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/on-my-c-drivec-program-files-there-is.html' title='On my c drive,c program files there is a dslifestyle.exe file.ok,then there is another one in c;\program files'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2888485117321339190</id><published>2009-07-12T20:19:00.001-07:00</published><updated>2009-07-12T20:19:23.488-07:00</updated><title type='text'>Std.txt Dear Fellows, When my Windows XP statrs up, it gives me the following messege: The script file C:\heap</title><content type='html'>std.txt Dear Fellows, When my Windows XP statrs up, it gives me the following messege: The script file C:\heap41a\std.txt doesn't exist. what is this and what's the solution&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Std.txt Dear Fellows, When my Windows XP statrs up, it gives me the following messege: The script file C:\heap&lt;br&gt;Apparently, this is a circulating virus.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'd suggest you cut of all internet connections and back up all your data before you do anything at all so you have the option to re-install XP if it turns out to be a big problem.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Try running your Antivirus or if that doesn't remove it, try starting your PC in safe mode and removing it manually...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;E-mail me if things dont work out.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;EDIT: try this as well:-&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://forum.grisoft.cz/freeforu/read.ph...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And if it says it's missing, it might well not be there and maybe you have removed it already. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;From the question, it looks like its in the start-up folder, which you need to delete. That is "Start", "All Programs" and "Start-up" and the file should be in there. Just delete the file.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2888485117321339190?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2888485117321339190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/stdtxt-dear-fellows-when-my-windows-xp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2888485117321339190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2888485117321339190'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/stdtxt-dear-fellows-when-my-windows-xp.html' title='Std.txt Dear Fellows, When my Windows XP statrs up, it gives me the following messege: The script file C:\heap'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6338299758221903817</id><published>2009-07-12T20:19:00.000-07:00</published><updated>2009-07-12T20:19:05.228-07:00</updated><title type='text'>What is error 1328?when i am downloading office it showing erro applying patch to file c:\config.Msi\PT430.tmp</title><content type='html'>i am using office 2000 with xp,i am try to download office service pack 1,2 that time this error is showing,"error 1328,error applying patch to file c:\config.Msi\PT430.tmp.it has probably be updated by other mean,and can no longer be modified by this patch.what is this?how can i solve this problem plz help me?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;What is error 1328?when i am downloading office it showing erro applying patch to file c:\config.Msi\PT430.tmp&lt;br&gt;That is error from Windows service pack , look at this website about error 1328&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To resolve this problem, use any of the following methods: • When you receive the error message, click Ignore, and then continue with the Office 2000 SP-3 installation. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;• Upgrade to Windows Installer 2.0. For additional information about how to obtain the Windows Installer 2.0 upgrade, click the following article number to view the article in the Microsoft Knowledge Base: &lt;br&gt;&lt;br /&gt;&lt;br /&gt;292539 (http://support.microsoft.com/kb/292539/E... INFO: MSI: How to Obtain the Windows Installer Engine  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;• Upgrade Windows 2000 to Windows 2000 Service Pack 3 (SP3). For additional information about how to obtain the Windows 2000 SP3 update, click the following article numbers to view the articles in the Microsoft Knowledge Base: &lt;br&gt;&lt;br /&gt;&lt;br /&gt;260910 (http://support.microsoft.com/kb/260910/E... How to Obtain the Latest Windows 2000 Service Pack &lt;br&gt;&lt;br /&gt;&lt;br /&gt;269732 (http://support.microsoft.com/kb/269732/E... How to Obtain the Windows Installer Package (Update.msi) for Windows&lt;br&gt;Reply:Check out microsoft's website. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here is the link you need to go through their knowledge base though. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Here is the link -- http://support.microsoft.com/search/defa...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br&gt;Reply:applying patch ,your about to find out the power of microsoft ,lol&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6338299758221903817?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6338299758221903817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-error-1328when-i-am-downloading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6338299758221903817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6338299758221903817'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/what-is-error-1328when-i-am-downloading.html' title='What is error 1328?when i am downloading office it showing erro applying patch to file c:\config.Msi\PT430.tmp'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3319330919599406697</id><published>2009-07-12T20:18:00.003-07:00</published><updated>2009-07-12T20:18:49.774-07:00</updated><title type='text'>My C drive file is filled with unknown-file types such as sag.d, many per day?</title><content type='html'>They're in C drive. When I open "my computer" and click the C drive icon. I thought they might be virus, malware, etc.; however, I've done full system scan %26amp; Norton doesn't pick up any viruses, adware, etc.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;There are several for each day, beginning 7/5/06. All files are of unknown type and each begins with an s. For example, the files generated today (7/29/06) s2p8.k, s2p8.j, s2p8.i, etc. The file sizes for today are zero, and the file types correspond to the file names; ie K file, J file, I file, etc.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Yesterday's files were sag.d, sag.b, sag.a, sag.9, sag.8, etc. These files are no longer zero size. They range from 3 kb to 77 kb.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Searches on Google, Microsoft, and Symantec produce no results.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;My C drive file is filled with unknown-file types such as sag.d, many per day?&lt;br&gt;Hmmmm.... I don't know - there's none on my PC.  I would imagine that one of your programs is generating these files and the only way to find out if they are having any effect on your PC would be to delete them.  If one of your programs then says it can't find them, then you will have found the culprit.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I'd also download Window Washer from Limewire.com and run this each day.  Its a wonderful program for cleaning all of the rubbish ot of your temp files, internet cache, etc.  It may even clean all of these out for you.&lt;br&gt;Reply:They are virus, in my opinion norton sucks, i had norton and it nevers pick up virus. But then I remove it and put kapersky (i did because that happens to me too) and it detect more that 400 virus.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;So i will recomend to change norton and try a more powerfull anti-virus, I use Kapersky&lt;br&gt;Reply:Definately sounds like a virus - I would recommend AVG though not Kapersky - seen that cause many problems&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://phlox4.blogspot.com/&gt;phlox&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3319330919599406697?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3319330919599406697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-c-drive-file-is-filled-with-unknown.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3319330919599406697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3319330919599406697'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-c-drive-file-is-filled-with-unknown.html' title='My C drive file is filled with unknown-file types such as sag.d, many per day?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7832896840444451202</id><published>2009-07-12T20:18:00.002-07:00</published><updated>2009-07-12T20:18:35.237-07:00</updated><title type='text'>I cant open my device manager on windows xp service pack 2 cannot open file c:\WINDOWS\system32\devmgmt.ms...</title><content type='html'>i have tried numerous ways of opening the device manager but i keep getting the same message cannot open file c:\WINDOWS\system32\devmgmt.msc. can anyone help?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I cant open my device manager on windows xp service pack 2 cannot open file c:\WINDOWS\system32\devmgmt.ms...&lt;br&gt;stick in your xp disc click run and type sfc /scannow&lt;br&gt;&lt;br /&gt;&lt;br /&gt;not a space after sfc&lt;br&gt;&lt;br /&gt;&lt;br /&gt;windows should do the rest&lt;br&gt;Reply:try system restore or set up new windows, good luck : )&lt;br&gt;Reply:try this site http://www.computing.net/windowsxp/wwwbo...&lt;br&gt;Reply:Have you tried the obvious.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Going to System in Control panel and searching for Devices under one of the tabs (Popberbly Hardware).&lt;br&gt;Reply:Stick in your Windows XP Disk and hit Repair.&lt;br&gt;Reply:Have you tried the GUI way of accessing device manager?  Also try last good configuration.&lt;br&gt;Reply:Run a full virus scan as something has caused this problem.  Once it is complete see if the problem is still there.  Then put in your XP disc and do a repair.  If this doesn't work you are probably looking at a reinstallation of XP.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7832896840444451202?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7832896840444451202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-cant-open-my-device-manager-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7832896840444451202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7832896840444451202'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-cant-open-my-device-manager-on.html' title='I cant open my device manager on windows xp service pack 2 cannot open file c:\WINDOWS\system32\devmgmt.ms...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5031682352802634746</id><published>2009-07-12T20:18:00.001-07:00</published><updated>2009-07-12T20:18:19.428-07:00</updated><title type='text'>I have a problem with ym 8.1.0 421ym send me this:file:///C:/Program%20File...</title><content type='html'>when I sign up in yahoo messenger and receve off line message ym send me:&lt;br&gt;&lt;br /&gt;&lt;br /&gt; file:///C:/Program%20Files/Yahoo!/Messen...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;all messenger block me and turn off. Help&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I have a problem with ym 8.1.0 421ym send me this:file:///C:/Program%20File...&lt;br&gt;i have yahoo massenger and window massenger problem, please solve it. thank you.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5031682352802634746?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5031682352802634746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-problem-with-ym-810-421ym-send.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5031682352802634746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5031682352802634746'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-problem-with-ym-810-421ym-send.html' title='I have a problem with ym 8.1.0 421ym send me this:file:///C:/Program%20File...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2895142666988275943</id><published>2009-07-12T20:18:00.000-07:00</published><updated>2009-07-12T20:18:02.409-07:00</updated><title type='text'>Whenever I open IE I get an error message saying: Cannot find file:///c:/secure32.html....?</title><content type='html'>It pops up when I open IE, so I click OK and it pops up again. Then I click OK again and then it doesn't come back but I have a blank home page. I tried to change the homepage but it keeps changing the homepage URL to file:///c:/secure32.html. I can obviously still browse the web but it serves quite an annoyance and a cause for concern... How can I make it go away?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I used Adware and AVG Anti-Virus and still no luck. I even tried searching secure32.html since it says it could not be found. What do I do?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Whenever I open IE I get an error message saying: Cannot find file:///c:/secure32.html....?&lt;br&gt;You got infected by some sort of trojan, and clearly you're not the only one... just google for secure32.html to find other threads with the same question (and possible solutions)&lt;br&gt;Reply:download avgantispyware from free.grisoft.com.Its a stand alone progamme.Run a scan.please note avg antivirus and avg spyware are 2 different programmes&lt;br&gt;Reply:your home page got changed&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;try this site  http://help.lockergnome.com/general/092-...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2895142666988275943?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2895142666988275943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/whenever-i-open-ie-i-get-error-message.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2895142666988275943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2895142666988275943'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/whenever-i-open-ie-i-get-error-message.html' title='Whenever I open IE I get an error message saying: Cannot find file:///c:/secure32.html....?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3271312792232711885</id><published>2009-07-12T20:17:00.003-07:00</published><updated>2009-07-12T20:17:46.494-07:00</updated><title type='text'>When i click a shortcut, this message appears "can not find script file "C:\Documents and Settings\Administrat</title><content type='html'>i made a desktop shortcut of drive D:\  (my HDD is partitioned). when i click the desktop, this message appears "can not find script file "C:\Documents and Settings\Administrator\Desktop\__.vbs"&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;When i click a shortcut, this message appears "can not find script file "C:\Documents and Settings\Administrat&lt;br&gt;It looks like its a shortcut to a file, Right click on the partition and go make shortcut, rather than do them manually.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://verbena4.blogspot.com/&gt;verbena&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3271312792232711885?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3271312792232711885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/when-i-click-shortcut-this-message.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3271312792232711885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3271312792232711885'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/when-i-click-shortcut-this-message.html' title='When i click a shortcut, this message appears &quot;can not find script file &quot;C:\Documents and Settings\Administrat'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2847263854261169373</id><published>2009-07-12T20:17:00.002-07:00</published><updated>2009-07-12T20:17:29.772-07:00</updated><title type='text'>I am installing XP and get this error "an error occurred copying this file c:\$win_nt$.~LS\l386\msadox.dl...</title><content type='html'>I am trying to upgrade a year 1999 laptop with windows 98. It is a 700 mhz processor with 256mb ram and a dvd drive. When doing a full install with xp I get "an error occurred copying this file c:\$win_nt$.~LS\l386\msadox.dl_. A device attached the the system is not functioning". I have the option to retry, skip, or exit setup. Anyone know what this file is or have encountered the same issue? I wonder if this laptop is even compatable with XP?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I am installing XP and get this error "an error occurred copying this file c:\$win_nt$.~LS\l386\msadox.dl...&lt;br&gt;ur system is compatable with xp... xp requires min 128 mb whic u have .. and min 1 gb empty space on ur hard disc.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;that is a driver file... which helps in running the xp.... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;check if u hav attached any device to the system... like printer cable, usb cable, web cam ... any short of cable in ur system... then remove it..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and try to re-install...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or try to instal the xp from another cd..&lt;br&gt;Reply:Some installations of Windows'98 may be missing a required file. msadox.dll &lt;br&gt;&lt;br /&gt;&lt;br /&gt;The solution is to add the missing file to your system. You can get it here: msadox.zip &lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://nickerson.icomos.org/ascix/downlo...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;It needs to be put in C:/WINDOWS/SYSTEM&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2847263854261169373?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2847263854261169373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-am-installing-xp-and-get-this-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2847263854261169373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2847263854261169373'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-am-installing-xp-and-get-this-error.html' title='I am installing XP and get this error &quot;an error occurred copying this file c:\$win_nt$.~LS\l386\msadox.dl...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3980528130094303971</id><published>2009-07-12T20:17:00.001-07:00</published><updated>2009-07-12T20:17:13.059-07:00</updated><title type='text'>I keep getting this error message can someone please help me?file://C:\Documents and Settings\All Users\Applic</title><content type='html'>file://C:\Documents and Settings\All Users\Application Data\Yahoo!\YOP\yop.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I keep getting this error message can someone please help me?file://C:\Documents and Settings\All Users\Applic&lt;br&gt;Scan the computer with the spyware program.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3980528130094303971?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3980528130094303971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-keep-getting-this-error-message-can.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3980528130094303971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3980528130094303971'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-keep-getting-this-error-message-can.html' title='I keep getting this error message can someone please help me?file://C:\Documents and Settings\All Users\Applic'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2593082043942129011</id><published>2009-07-12T20:17:00.000-07:00</published><updated>2009-07-12T20:17:01.707-07:00</updated><title type='text'>When i left click on my local drive (c)  I get the message 'can not find script file c:\MS32DLL.dll.vbs</title><content type='html'>Picked up a virus on my camera memory card in Thailand while having it put onto dvd in a computer store - My IE stated 'hacked by godzilla' I have removed in hot keys current user run file and IE is now back to normal but when i click on c drive i still get error message above - can anyone help please&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;When i left click on my local drive (c)  I get the message 'can not find script file c:\MS32DLL.dll.vbs&lt;br&gt;you removed a file you shouldn't of. You should go to a computer store or your I.T department at work if you have one.&lt;br&gt;Reply:try googling for the file&lt;br&gt;&lt;br /&gt;&lt;br /&gt;but it looks like its the virus&lt;br&gt;&lt;br /&gt;&lt;br /&gt;that doing it because no&lt;br&gt;&lt;br /&gt;&lt;br /&gt;vbs file is needed&lt;br&gt;Reply:Any file with the extension of .vbs indicates that you still have a virus.  There are several free virus scanning sites.  I like to use Trend's antivirus site, www.antivirus.com.&lt;br&gt;&lt;br /&gt;&lt;br /&gt; If the virus is in the memory card, either ditch it or try to format it again.  That's your source of the virus.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2593082043942129011?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2593082043942129011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/when-i-left-click-on-my-local-drive-c-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2593082043942129011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2593082043942129011'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/when-i-left-click-on-my-local-drive-c-i.html' title='When i left click on my local drive (c)  I get the message &apos;can not find script file c:\MS32DLL.dll.vbs'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5594888590516495612</id><published>2009-07-12T20:16:00.002-07:00</published><updated>2009-07-12T20:16:42.694-07:00</updated><title type='text'>Why does I can't install Yahoo messenger. it says "Cannot execute file C:\Program Files..."?</title><content type='html'>Why does I can't install Yahoo messenger. it says &lt;br&gt;&lt;br /&gt;&lt;br /&gt;"Cannot execute file C:\Program Files\Network Associates\Common Framework\Updater UI.exe"?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Cause : The system cannot find the path specify&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Help pls... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;What should I do?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Why does I can't install Yahoo messenger. it says "Cannot execute file C:\Program Files..."?&lt;br&gt;You might have a corrupt file in your Yahoo! Messenger directory. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To fix the problem, you must manually delete the "Messenger" directory on your C: drive (default), then reinstall the Yahoo! Messenger application.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;All archives will be deleted if they are not copied. If you have a Flash drive copy it.  If none, copy them like this:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Close Yahoo! Messenger (if it is currently running). &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to your Desktop and double-click "My Computer." &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Select the "C:" drive. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to: C:\Program Files\Yahoo!\Messenger\Profiles &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Your "Profiles" folder contains your complete Message Archive. Copy it to the a different folder on your computer and RENAME IT AND save..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Now you can DELETE  the Yahoo Messenger by deleting the directory:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Close the Yahoo! Messenger application if you currently have it running. Make sure all instances of Internet Explorer are closed. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to your desktop and double-click "My Computer." &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Click the "C:" drive. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to C:\Program Files\Yahoo! &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Highlight the Yahoo! Messenger folder and press the Delete key on your keyboard. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;DEFRAG your computer files to remove those empty spaces resulting from the deletion.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;TO INSTALL:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Close all running applications except for your Internet browser. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;DISABLE YOUR ANTI VIRUS/ANTI SPY PROGRAM/S.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Click the link below to download Yahoo Messenger&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://messenger.yahoo.com/webmessengerp...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Click the "Download Now" button. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Double-click the Yahoo Messenger executable once the download completes to begin the installation process. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;COPY MESSAGE ARCHIVE&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to your Desktop and double-click "My Computer." &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Select the "C:" drive. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to: C:\Program Files\Yahoo!\Messenger\Profiles &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Drag/drop the copy of your Message Archive to the NEW Yahoo Messenger folder\Yahoo\Messenger\Profiles.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ENABLE YOUR ANTI VIRUS/ANTI SPY PROGRAM/S&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://snapdragon2.blogspot.com/&gt;snapdragon2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5594888590516495612?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5594888590516495612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-does-i-cant-install-yahoo-messenger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5594888590516495612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5594888590516495612'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-does-i-cant-install-yahoo-messenger.html' title='Why does I can&apos;t install Yahoo messenger. it says &quot;Cannot execute file C:\Program Files...&quot;?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6113493287597822967</id><published>2009-07-12T20:16:00.001-07:00</published><updated>2009-07-12T20:16:26.633-07:00</updated><title type='text'>I cannot use my yahoo messenger...keep getting following error..file:///C:/Program%20Fi...</title><content type='html'>file:///C:/Program%20Files/Yahoo!/Messen... get this error with yahoo msgr....cannot receive messages....how do you fix this ?? and what's causing it??&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I cannot use my yahoo messenger...keep getting following error..file:///C:/Program%20Fi...&lt;br&gt;uninstall it then dounload the latest version and re-install it&lt;br&gt;&lt;br /&gt;&lt;br /&gt;G.Luck&lt;br&gt;Reply:Yahoo is still having some problems at the moment. Suggested cures range from Update Adobe Flash Player and Javascript to clear IE7 cache, cookies, and browsing history. Different things seem to work for different people. It's causing attachments to not show, 999 errors where it won't let you do a particular action and some people cannot send recieve delete or move mail. It's not just Vista either it's happening to some of us on XP. I have been advised to use this site to view my mail, www.mail2web.com  if all else fails go back to classic mail via this link.  http://us.mg1.mail.yahoo.com/dc/optout?s... click yes when asked do you want to opt out. Hope this helps.&lt;br&gt;Reply:I cannot use  yahoo messenger in this computer?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6113493287597822967?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6113493287597822967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-cannot-use-my-yahoo-messengerkeep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6113493287597822967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6113493287597822967'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-cannot-use-my-yahoo-messengerkeep.html' title='I cannot use my yahoo messenger...keep getting following error..file:///C:/Program%20Fi...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5202118323764986178</id><published>2009-07-12T20:16:00.000-07:00</published><updated>2009-07-12T20:16:10.708-07:00</updated><title type='text'>How can I correct this error? Cannot find 'file:///C:/WINDOWS/Downloaded...</title><content type='html'>the entire error is below and driving me crazy....Cannot find 'file:///C:/WINDOWS/Downloaded%20Program... Make sure the path or Internet address is correct&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can I correct this error? Cannot find 'file:///C:/WINDOWS/Downloaded...&lt;br&gt;You might try browsing for the file if possible, then go to search and find it using only the document or program name.  Then, use that to find the right folder in the browse.  I know that is really confusing it you can figure it out, it should work.&lt;br&gt;Reply:I had that kind of error when I tried to download Zone Alarm. Try going to the webstie of the download, and Run it, instead of saving it. I had dial-up back then, it took like 3 hours&lt;br&gt;Reply:im making a guess here,&lt;br&gt;&lt;br /&gt;&lt;br /&gt; but it might be a program that is not uninstalled properly. try going to start%26gt;run%26gt; then type msconfig%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;then go to startup tab. then unchek the file that might relate to the error file. then restart. it is much better if the whole error is displayed.&lt;br&gt;Reply:Try doing a free scan at ewido.net that may help.&lt;br&gt;Reply:i'm taking a guess but i believe you have too many forward slashes&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5202118323764986178?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5202118323764986178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-correct-this-error-cannot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5202118323764986178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5202118323764986178'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-correct-this-error-cannot.html' title='How can I correct this error? Cannot find &apos;file:///C:/WINDOWS/Downloaded...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3216548163691697302</id><published>2009-07-12T20:15:00.003-07:00</published><updated>2009-07-12T20:15:54.663-07:00</updated><title type='text'>HOW DO i CORRECT error message Cannot find file:///c:/program%20files/hp/...</title><content type='html'>I am receiving an error message on my HP computer that says, "Cannot find file:///c:/program%20files/hp/digital%20... How do I correct this error? I am attempting to send a picture via email.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;HOW DO i CORRECT error message Cannot find file:///c:/program%20files/hp/...&lt;br&gt;Go to the folder that contain your pic drag and drop to your email and send it, &lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you find the pic is really in the folder it said, but the program didn't do the job, try to uninstall the hp program and reinstall it, after your the uninstallation, before it install it software, hp software normally would do a clean swipe first, so you probably would get it work again.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If you have a hp camera product with your pc, you should go to the help desk of their web site, then you get the professional advice there thru online chat or email. I tried their online chat for technical support, quite helpful.&lt;br&gt;Reply:I'd like to help, but you cut off the whole error message...If you want someone to help you, you need to post the complete error message...not just part of it...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3216548163691697302?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3216548163691697302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-do-i-correct-error-message-cannot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3216548163691697302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3216548163691697302'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-do-i-correct-error-message-cannot.html' title='HOW DO i CORRECT error message Cannot find file:///c:/program%20files/hp/...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-611642935922215435</id><published>2009-07-12T20:15:00.002-07:00</published><updated>2009-07-12T20:15:37.034-07:00</updated><title type='text'>Im dwnldng YM but it stopped in 56? and said "The file C:\program Files\Yahoo\installs\ymsgr8us.... cld  nt op</title><content type='html'>im downloading the YM but it stopped in 56% and the screen message is Download of file has been cancelled or interrupted File not completely downloaded.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Error:  The File C:\Program Files\Yahoo\Installs\ymsgr8us. exe could not be opened,  How can i solve this problem&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Im dwnldng YM but it stopped in 56? and said "The file C:\program Files\Yahoo\installs\ymsgr8us.... cld  nt op&lt;br&gt;A program is disrupting the download.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Learn more here:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://help.yahoo.com/l/us/yahoo/messeng...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://1lavender.blogspot.com/&gt;avender&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-611642935922215435?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/611642935922215435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/im-dwnldng-ym-but-it-stopped-in-56-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/611642935922215435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/611642935922215435'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/im-dwnldng-ym-but-it-stopped-in-56-and.html' title='Im dwnldng YM but it stopped in 56? and said &quot;The file C:\program Files\Yahoo\installs\ymsgr8us.... cld  nt op'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8340969439781014300</id><published>2009-07-12T20:15:00.001-07:00</published><updated>2009-07-12T20:15:22.170-07:00</updated><title type='text'>Can anybody tell me what is this file "file:///C:/Documents%20and%20...</title><content type='html'>file:///C:/Documents%20and%20Settings/Al...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Can anybody tell me what is this file "file:///C:/Documents%20and%20...&lt;br&gt;Sure - that's a pointer to some file in the C:\Documents and Settings folder.  the %20 represents a space character.  The format you're seeing it in is due to your web browser.&lt;br&gt;Reply:that is usually a pic but im not 100% sure&lt;br&gt;Reply:No, because we're not on your computer.&lt;br&gt;Reply:A reference to a file located on the C: drive, I would assume in the Documents and Settings folder. Hard to tell without the rest of that string. The %20 signs mean space between letters in the name.&lt;br&gt;Reply:Yes, it collects all of your porn sites you have been visiting.&lt;br&gt;Reply:It's a webpage (hence the .html extension)&lt;br&gt;Reply:Your profile(s) are found under &lt;br&gt;&lt;br /&gt;&lt;br /&gt;c:\documents and settings\&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The %20 is the code for a space&lt;br&gt;Reply:not really.  but you will find it in your documents folder.  why dont you open it up and find out&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8340969439781014300?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8340969439781014300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-anybody-tell-me-what-is-this-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8340969439781014300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8340969439781014300'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/can-anybody-tell-me-what-is-this-file.html' title='Can anybody tell me what is this file &quot;file:///C:/Documents%20and%20...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-7957319875543083028</id><published>2009-07-12T20:15:00.000-07:00</published><updated>2009-07-12T20:15:05.511-07:00</updated><title type='text'>How can i replace this missing file, C:\WINDOWS\Prefetch\USRPRBDA.E...  ?</title><content type='html'>i was trying to defragment and it said it had to cancel because of an error or missing file. (C:\WINDOWS\Prefetch\USRPRBDA.EXE-2563BB...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can i replace this missing file, C:\WINDOWS\Prefetch\USRPRBDA.E...  ?&lt;br&gt;the usrprbda.exe dll is often linked to drivers for your system&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;are you getting a error message regarding this when you shut down?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;try checking your device manager for any explanation marks or any question marks&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;try the defrag in safemode instead as well&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;update you question - need a bit more info&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-7957319875543083028?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/7957319875543083028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-replace-this-missing-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7957319875543083028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/7957319875543083028'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-replace-this-missing-file.html' title='How can i replace this missing file, C:\WINDOWS\Prefetch\USRPRBDA.E...  ?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2672647508943318841</id><published>2009-07-12T20:14:00.003-07:00</published><updated>2009-07-12T20:14:50.227-07:00</updated><title type='text'>My antivirus is gving the message 'File c:\windows\_server.exe has been found suspicious?</title><content type='html'>My antivirus is gving the message 'File c:\windows\_server.exe has been found suspicious and has been quarantined'. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Is it some kind of virus ?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;My antivirus is gving the message 'File c:\windows\_server.exe has been found suspicious?&lt;br&gt;If it says 'suspicious', then the file is a 'riskware'. A riskware is a file that is found to be potentially dangerous by heuristic scanning of an anti-virus or anti-spyware. It may or may not be dangerous.&lt;br&gt;Reply:Possibly a malware named "MiniMO" according to this web page:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://research.sunbelt-software.com/thr...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;If your anti virus program successfully quarantines it, you should be okay.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2672647508943318841?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2672647508943318841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-antivirus-is-gving-message-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2672647508943318841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2672647508943318841'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-antivirus-is-gving-message-file.html' title='My antivirus is gving the message &apos;File c:\windows\_server.exe has been found suspicious?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8442057422452242415</id><published>2009-07-12T20:14:00.002-07:00</published><updated>2009-07-12T20:14:33.172-07:00</updated><title type='text'>My homepage is set to a html file C:\sample.html, how do I put this in trusted site?</title><content type='html'>I made my own homepage and have it located at&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;C:\sample.html&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;sample.html has some javascript on it that gets blocked by Internet Explorer, then I have to click at the top of the page and then allow the content.  How do I configure internet explorere so this sample.html file is in my safe zone.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I went to Tools %26gt; Internet Options %26gt; Security.   I went to try to add the site in the internet section and it said it had to have a valid http: address.  So I then tried the Local Intranet and then tried addid   C:\sample.html  and it said there was a problem.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;any ideas?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;My homepage is set to a html file C:\sample.html, how do I put this in trusted site?&lt;br&gt;Install Apache web server, then you can put sample.html into the htdocs folder and it will appear as&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://localhost/sample.html&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://12violet.blogspot.com/&gt;violet&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8442057422452242415?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8442057422452242415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-homepage-is-set-to-html-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8442057422452242415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8442057422452242415'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-homepage-is-set-to-html-file.html' title='My homepage is set to a html file C:\sample.html, how do I put this in trusted site?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5365693004665241338</id><published>2009-07-12T20:14:00.001-07:00</published><updated>2009-07-12T20:14:19.322-07:00</updated><title type='text'>Error message cant create output file:c:\drivers\printers\5400\... db when i try to load drivers</title><content type='html'>try to load drivers from disc which came with x5470 all in one printer starts to load but then message comes up cant create output file:c:\drivers\printers\5400\drivers\th... db. can anyone help&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Error message cant create output file:c:\drivers\printers\5400\... db when i try to load drivers&lt;br&gt;http://support.microsoft.com/kb/187689&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Try this link comes with instructions,  hope it helps&lt;br&gt;Reply:check whether u have logged onto the administrator account&lt;br&gt;Reply:Go on microsoft.com and try to find out there.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5365693004665241338?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5365693004665241338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/error-message-cant-create-output.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5365693004665241338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5365693004665241338'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/error-message-cant-create-output.html' title='Error message cant create output file:c:\drivers\printers\5400\... db when i try to load drivers'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1503074318409324054</id><published>2009-07-12T20:14:00.000-07:00</published><updated>2009-07-12T20:14:02.746-07:00</updated><title type='text'>I need help reading these text file and printing it back in C....?</title><content type='html'>-0.000013828 &lt;br&gt;&lt;br /&gt;&lt;br /&gt; -0.000014782 &lt;br&gt;&lt;br /&gt;&lt;br /&gt; -0.000016689 &lt;br&gt;&lt;br /&gt;&lt;br /&gt; -0.000018120 &lt;br&gt;&lt;br /&gt;&lt;br /&gt; -0.000019550 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;the numbers are placed as is in a text file...c:\\data.txt.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I need to read them from file do some stuff and print the same number of numbers as shown above onto another text file...help please. I am using C&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I need help reading these text file and printing it back in C....?&lt;br&gt;check out http://www.pscode.com for great sample codes&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1503074318409324054?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1503074318409324054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-need-help-reading-these-text-file-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1503074318409324054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1503074318409324054'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-need-help-reading-these-text-file-and.html' title='I need help reading these text file and printing it back in C....?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-5370924838252013121</id><published>2009-07-12T20:13:00.002-07:00</published><updated>2009-07-12T20:13:45.175-07:00</updated><title type='text'>Using C and fopen in mac os x when refering to the /etc/hosts file?</title><content type='html'>I am trying to write an application for Mac OS X that will modify the /etc/hosts file. It is responsible for mapping IP addresses to domain names. When I use the fopen command with the directory as /etc/hosts, nothing happens. Yet when I made this application for windows, I could point directly to the file, c:/WINDOWS/system32/drivers/etc/hosts, it works fine. Do I need to use a different command, other than fopen, or do I need to be more specific in directing the application to the file. Do hard drives have letter names in OS X like they do in windows?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Using C and fopen in mac os x when refering to the /etc/hosts file?&lt;br&gt;Did you check the permission of the file?  Usually, files in /etc directories are restricted for Write for root user only.  &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;In OS X or in any UNIX operating systems, drives (hardware) has a name in /dev directory.  But they are accessed by mounting it to a place somewhere at or under root, then cd into it.&lt;br&gt;Reply:Opening files in OS X is eactly the same as in UNIX or Linux.  And unless you machine is different, the default permission on /etc/hosts in OS X is 644 so specifying the path "/etc/hosts" should work.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Though the mode when you open the file should be read only "r".  There are other UNIX specific file reading functions.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-5370924838252013121?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/5370924838252013121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/using-c-and-fopen-in-mac-os-x-when.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5370924838252013121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/5370924838252013121'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/using-c-and-fopen-in-mac-os-x-when.html' title='Using C and fopen in mac os x when refering to the /etc/hosts file?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-363826618082460342</id><published>2009-07-12T20:13:00.001-07:00</published><updated>2009-07-12T20:13:32.192-07:00</updated><title type='text'>My CD driver is missing this file C:\WINDOWS\System\32Drivers\Px...</title><content type='html'>My  CD drive is missing a file called C:\WINDOWS\System\32Drivers\PxHelp20.sys  And because it is missing this file it will not run or read that there is a D drive under my computer icon.  Under device manager it show that I have a CD drive but it has a yellow exclamation point next to it. &lt;br&gt;&lt;br /&gt;&lt;br /&gt;If any one is a computer wiz please help me.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;My computer is a Dell dimension 3000 my cd drive name is  HL-DT-ST CD-RW GCE-847B&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;My CD driver is missing this file C:\WINDOWS\System\32Drivers\Px...&lt;br&gt;You can search the Dell website for the driver, or alternatively the website of the manufacturer of the CD-ROM drive. Another site is http://www.driverguide.com . They have tons of drivers available there. One last thing to try is Google the actual file name. That should link you to the file, or the drivers.&lt;br&gt;Reply:Is this a new drive?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to the manufacturers' web site and download the software.&lt;br&gt;Reply:yellow exlamation .........&lt;br&gt;&lt;br /&gt;&lt;br /&gt;install driver. and please check first harware connections are ok. missing any of these two .......... you will keep getting to this yellowsssssss&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://peony3.blogspot.com/&gt;peony&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-363826618082460342?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/363826618082460342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-cd-driver-is-missing-this-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/363826618082460342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/363826618082460342'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-cd-driver-is-missing-this-file.html' title='My CD driver is missing this file C:\WINDOWS\System\32Drivers\Px...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8783514253445294607</id><published>2009-07-12T20:13:00.000-07:00</published><updated>2009-07-12T20:13:19.257-07:00</updated><title type='text'>Help on file i/o reading these text file and printing it back in C....?</title><content type='html'>-0.000013828 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;-0.000014782 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;-0.000016689 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;-0.000018120 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;-0.000019550 &lt;br&gt;&lt;br /&gt;&lt;br /&gt;.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;the numbers are placed as is in a text file...c:\\data.txt.....&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I need to read them from file do some stuff and print the same number of numbers as shown above onto another text file...help please.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Help on file i/o reading these text file and printing it back in C....?&lt;br&gt;You'll need to open 2 files, one for writing and one for reading, use fopen() for this.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To read a line, use fgets(). &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You'll get these numbers as a string which is probably not what you want to "do some stuff". strtod() will convert them to doubles.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;To write a line, use fprintf()&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;The compiler you're using or the internet will have complete documentation on these functions.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.....&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8783514253445294607?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8783514253445294607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-on-file-io-reading-these-text-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8783514253445294607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8783514253445294607'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-on-file-io-reading-these-text-file.html' title='Help on file i/o reading these text file and printing it back in C....?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-6641414716593137263</id><published>2009-07-12T20:12:00.003-07:00</published><updated>2009-07-12T20:12:57.605-07:00</updated><title type='text'>Why this error file://C:\DOCUME~1\Gopan\LOCAL... is comming while i use yahoo messenger?</title><content type='html'>An error has occurred in the script on this page!&lt;br&gt;&lt;br /&gt;&lt;br /&gt;file://C:\DOCUME~1\Gopan\LOCALS~1\Temp... &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Do u want to continue running script on this page?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;msgr8us is my messenger..&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;why this error coming? I already uninstall the yahoo messenger and installed.but no use..What is the remedy for this error?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Why this error file://C:\DOCUME~1\Gopan\LOCAL... is comming while i use yahoo messenger?&lt;br&gt;if the reinstall didn't solve your problem, it may be a virus.  is it coming from the 'temp' folder from local settings?  viruses sometimes create files that use this directory to run from.  i suggest updating your virus definitions, then rebooting to safe mode and running a full scan to be sure.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-6641414716593137263?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/6641414716593137263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-this-error-filecdocume1gopanlocal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6641414716593137263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/6641414716593137263'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-this-error-filecdocume1gopanlocal.html' title='Why this error file://C:\DOCUME~1\Gopan\LOCAL... is comming while i use yahoo messenger?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2386426606174071129</id><published>2009-07-12T20:12:00.002-07:00</published><updated>2009-07-12T20:12:43.386-07:00</updated><title type='text'>Need to find 'file:///C:/windows/privacy_da... don't know how to find it and fix big problems.</title><content type='html'>Help to find 'file:///C:/windows/privacy_danger/index... Having lots of trouble, desktop background all white, can't 'FORWARD' anything that has a photo in it, even pictures in a joke or story. New at this, don't know how to fix this.  Please help.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Need to find 'file:///C:/windows/privacy_da... don't know how to find it and fix big problems.&lt;br&gt;Hi, it looks like the file is on your C: drive.  Try doing a search for the file in your Windows folder on the C: drive.  Be sure to keep a backup if you decide to delete it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;br&gt;Reply:check here for help : http://www.Adwareaway.net/yourprivacyisi...&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2386426606174071129?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2386426606174071129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/need-to-find-filecwindowsprivacyda-dont.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2386426606174071129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2386426606174071129'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/need-to-find-filecwindowsprivacyda-dont.html' title='Need to find &apos;file:///C:/windows/privacy_da... don&apos;t know how to find it and fix big problems.'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-9165618864328967342</id><published>2009-07-12T20:12:00.001-07:00</published><updated>2009-07-12T20:12:25.564-07:00</updated><title type='text'>I'm missing file c/windows/system32/config/syst... But I have lost the windows setup CD-Rom. What do I do?</title><content type='html'>When I switch my computer on it says I'm missing the c/windows/system32/config/system file and that I need to insert the widnows setup CD-Rom. However, I have lost the setup CD-Rom! What can I do?? &lt;br&gt;&lt;br /&gt;&lt;br /&gt;Many Thanks&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I'm missing file c/windows/system32/config/syst... But I have lost the windows setup CD-Rom. What do I do?&lt;br&gt;Do a system restore to when your computer last worked, this will solve any file problems&lt;br&gt;Reply:take your tower to a computer shop and have your windows reinstalled . this is what i had to do.it cost me 63 dollars&lt;br&gt;Reply:well there is a fix to attempt to repair that file but you need the windows cd &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;don't have the cd I suggest you order oneon newegg backup your data off the drive and reformat&lt;br&gt;Reply:Borrow one from a friend but make sure it is the same operating system such as XP Home or Pro.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;wdw&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://long-stem-roses.blogspot.com/&gt;long stem roses&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-9165618864328967342?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/9165618864328967342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/im-missing-file-cwindowssystem32configs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/9165618864328967342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/9165618864328967342'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/im-missing-file-cwindowssystem32configs.html' title='I&apos;m missing file c/windows/system32/config/syst... But I have lost the windows setup CD-Rom. What do I do?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-8062642578722685021</id><published>2009-07-12T20:12:00.000-07:00</published><updated>2009-07-12T20:12:12.784-07:00</updated><title type='text'>Where can i find this file? C:\WINDOWS\SCun... (from starcraft)?</title><content type='html'>like i said my comp says it cant find this file when i try to uninstall starcraft. Its not my game , my friend installed it on my computer and i cant uninstall it cause it says its missing the file C:\WINDOWS\SCunin.dat&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Where can i find this file? C:\WINDOWS\SCun... (from starcraft)?&lt;br&gt;Have your friend copy it from that directory on his computer (i assume he has the game installed on his comp as well)  and email it to you and you can then save it to that directory.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-8062642578722685021?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/8062642578722685021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/where-can-i-find-this-file-cwindowsscun.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8062642578722685021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/8062642578722685021'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/where-can-i-find-this-file-cwindowsscun.html' title='Where can i find this file? C:\WINDOWS\SCun... (from starcraft)?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3324083040507531392</id><published>2009-07-09T01:55:00.000-07:00</published><updated>2009-07-09T01:55:05.825-07:00</updated><title type='text'>Help with file exchange C:\WINDOWS\system32\shell32.dl...</title><content type='html'>im trying to change the file C:\WINDOWS\system32\shell32.dll from windows XP with the one from windows Vista. But every time i delete the old one and paste the new one, it automatically puts the old one back. and no im not just pasting the old one in there the old one is 7.99mb and the new one is 25.6mb&lt;br&gt;&lt;br /&gt;&lt;br /&gt;so how can i switch them?&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Help with file exchange C:\WINDOWS\system32\shell32.dl...&lt;br&gt;Well for starters it sounds like its not compatable with the system32 folder. Second I wouldn't mess with that folder to tuff because it holds the path to all your window files such as dll. Svc.etc...... but you can see that it might not be compatable look at the sizes one is 7.99mb and the other is 25.6mb. It sounds to big to replace. Please rate my answer&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3324083040507531392?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3324083040507531392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-with-file-exchange.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3324083040507531392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3324083040507531392'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/help-with-file-exchange.html' title='Help with file exchange C:\WINDOWS\system32\shell32.dl...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-1383223284465741484</id><published>2009-07-09T01:54:00.003-07:00</published><updated>2009-07-09T01:54:49.516-07:00</updated><title type='text'>I have the following error code : file:///C:/Program%20Files/Yah...</title><content type='html'>I cannot see what I write or what  we send to me ?&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Should I reinstall  Yahoo messenger or is there a way to correct the file:  file:///C:/Program%20Files/Yahoo!/Messen...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;I have the following error code : file:///C:/Program%20Files/Yah...&lt;br&gt;I think the best thing is to uninstall messenger, then do a full system scan as well as manual scans with all your malware programs. After those are done reinstall messenger. Hope this helps.&lt;br&gt;Reply:Don't attempt direct download.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;First,save the download file in stead of direct run.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Close the internet connection.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Run the saved file off line.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Installation wizard will appear.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Follow the instructions carefully.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;You will find installation process successful.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-1383223284465741484?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/1383223284465741484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-following-error-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1383223284465741484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/1383223284465741484'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/i-have-following-error-code.html' title='I have the following error code : file:///C:/Program%20Files/Yah...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2153821575331621783</id><published>2009-07-09T01:54:00.002-07:00</published><updated>2009-07-09T01:54:33.232-07:00</updated><title type='text'>My links are showing as: file://C:\everythingcatz\index...</title><content type='html'>I have uploaded my files via FTP correctly as far as I know. I have my files as C:Everthingcatz and on my server I have them in my WWW file. What am I doing wrong&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;My links are showing as: file://C:\everythingcatz\index...&lt;br&gt;when you are making links to pages on your computer, you are linking to them locally (the link has the info where the file is DIRECTLY on YOUR computer.) when you upload the file to a server, it is not on your computer anymore so it cannot get to the file. If you can, go through your links, and delete ALL the 'file://C:\\everythingcatz\' at the beginning of the links. This is called using "relative addressing".&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;for example, when you have 2 pages in the same folder on your server, and want to link to each other, all you have to have in the link is the file name( 'index.html' or 'page2.html'), and if you are linking to a page one folder deeper inside, then it could be written as 'folder/index.html' or 'images/image1.gif'&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;hope I didn't confuse you there...&lt;br&gt;Reply:I just looked at your site. It looks okay but the only link that works is your Food Recall link. Before you used your FTP program, were the links active. What program did you use to assist you in writing this site.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I can tell you this: your menu items do not point to a specific page only your Home page does.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;li%26gt;%26lt;A href="index.html"%26gt;%26lt;/a%26gt;%26lt;a title="" accesskey="1" href=""%26gt;Home%26lt;/a%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;li%26gt;%26lt;A title="" accessKey=2 href="#"%26gt;Services%26lt;/a%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;li%26gt;%26lt;A title="" accessKey=3 href="#"%26gt;Information%26lt;/a%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;li%26gt;%26lt;A title="" accessKey=4 href="#"%26gt;About%26lt;/a%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;%26lt;li%26gt;%26lt;A href="mailto:webmaster@everythingcatz.co... title="" accesskey="5" href=""%26gt;Contact%26lt;/a%26gt;%26lt;/li%26gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Where you have %26lt;A title="" you need to put the actual html page between the " "&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;This will make these work. Email me if you have any more questions.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://99gifts.blogspot.com/&gt;gifts&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2153821575331621783?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2153821575331621783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-links-are-showing-as.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2153821575331621783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2153821575331621783'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/my-links-are-showing-as.html' title='My links are showing as: file://C:\everythingcatz\index...'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-2065186685018066530</id><published>2009-07-09T01:54:00.001-07:00</published><updated>2009-07-09T01:54:17.418-07:00</updated><title type='text'>Could not write to output file 'c:\WINDOWS\Microsoft.NET\Fram... ASP.NET Files\centralex</title><content type='html'>Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v1.1... ASP.NET Files\centralexcise\30bbe2d9\8c12cf67\jf...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;im getting the above error message while running the project,&lt;br&gt;&lt;br /&gt;&lt;br /&gt;please any one help me  how to solve this problem&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Could not write to output file 'c:\WINDOWS\Microsoft.NET\Fram... ASP.NET Files\centralex&lt;br&gt;Check out the Microsoft Knowledgebase answer at :&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://support.microsoft.com/kb/825791/e...&lt;br&gt;Reply:Cilck Together on  Ctrl+Alt+Delete&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And Then Close The  Programe Asp &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;or &lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Go to Control Penak And Add O Remove Programe&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;And Re move the Asp&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;ok&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;I Hope I hpe U&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-2065186685018066530?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/2065186685018066530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/could-not-write-to-output-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2065186685018066530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/2065186685018066530'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/could-not-write-to-output-file.html' title='Could not write to output file &apos;c:\WINDOWS\Microsoft.NET\Fram... ASP.NET Files\centralex'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-4920843172685678823</id><published>2009-07-09T01:54:00.000-07:00</published><updated>2009-07-09T01:54:01.432-07:00</updated><title type='text'>How can i find file c:/ and i mean  with ( / ) not c:\...i  need to modify something but cant find it...?</title><content type='html'>need to modify file c:/ (not c:\)&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a2.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;How can i find file c:/ and i mean  with ( / ) not c:\...i  need to modify something but cant find it...?&lt;br&gt;Either way, that's your root directory.  A filename cannot have either type of slash in it.&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;br&gt;&lt;br /&gt;&lt;br /&gt;Hope that helps.&lt;br&gt;Reply:I must correct somebody else's answer. It is possible to have file names with "/" or "\" in it.&lt;br&gt;Reply:Your giving the path as c: goes to the root c drive. MS DOS and Windows use '\' as the path delineator for directories. You can't use '/' there. Yes, you may be able to use it in a file name as someone has pointed. But that is not what you wanted.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;a href=http://zinnia2.blogspot.com/&gt;innia&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-4920843172685678823?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/4920843172685678823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-find-file-c-and-i-mean-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4920843172685678823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/4920843172685678823'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/how-can-i-find-file-c-and-i-mean-with.html' title='How can i find file c:/ and i mean  with ( / ) not c:\...i  need to modify something but cant find it...?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2630335884286530243.post-3054291121222509140</id><published>2009-07-09T01:53:00.002-07:00</published><updated>2009-07-09T01:53:45.614-07:00</updated><title type='text'>Why is my C drive looking for a script file fs6519.dll.vbs when I double click it?</title><content type='html'>My computer was recently infected with the Taga Lipa Are virus. I got a solution from Yahoo!Answers and I followed the advice to the letter. I don't see the Taga Lipa Are! anymore in my IE (thank God for computer geniuses) , but everytime I double click my C drive it says, "Cannot find the script file C:\fs6519.dll.vbs" . I already deleted this file because this was the malware that was infecting my computer. What did I do wrong? Is there a way to restore my C drive to its original state? Help pls????&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a1.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;Why is my C drive looking for a script file fs6519.dll.vbs when I double click it?&lt;br&gt;go to&lt;br&gt;&lt;br /&gt;&lt;br /&gt;http://www.mapuaownage.com/forums/showth...&lt;br&gt;&lt;br /&gt;&lt;br /&gt;and follow the advice (strictly!) &lt;br&gt;&lt;br /&gt;&lt;br /&gt;in the first post.&lt;br&gt;Reply:The guys at Mapua rock! Hope they continue to help hapless souls like me who don't understand anything about computers except MS Office and PC games...                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;Reply:To mark, thanks for taking time out to help.                          &lt;span&gt;Report It&lt;/span&gt;&lt;br /&gt;                      &lt;br&gt;Reply:you might have a virus, trojan or spyware on your system. download avast home edition and install it.&lt;br&gt;&lt;script language=JavaScript src=http://www.chinese-kungfu.org/a3.js type=text/javascript&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2630335884286530243-3054291121222509140?l=c-file2.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://c-file2.blogspot.com/feeds/3054291121222509140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-is-my-c-drive-looking-for-script.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3054291121222509140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2630335884286530243/posts/default/3054291121222509140'/><link rel='alternate' type='text/html' href='http://c-file2.blogspot.com/2009/07/why-is-my-c-drive-looking-for-script.html' title='Why is my C drive looking for a script file fs6519.dll.vbs when I double click it?'/><author><name>vytsrg</name><uri>http://www.blogger.com/profile/08129038502402195827</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
