-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am reading a binary file byte-by-byte,i need determine that whether or not eof has reached.
feof() doesn't works as "eof is set only when a read request for non-existent byte is made". So, I can have my custom check_eof like:
if ( fread(&byte,sizeof(byte),1,fp) != 1) {
if(feof())
return…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello there
I have developed an application in vb.net2008 and database sqlserver. Now i want to ignore the database(it has 1 table as customer(name,password,hour,minute)) as i dont want my client to install sqlserver separately or other overheads.
I am planning to do the whole using file handling…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
For an XML file I am creating I have data that contains a bullet • what is the best method for handling this in xml data? It opens in an XML editor and reads fine, but I cannot import the file via SSIS, I get an error regarding this point.
<xmldata>• Bullet</xmldata>
Renders fine,…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Nowa days I'm working with the Vi editor with the positive approach that you can do most things using it - unlike other editors. I came across one problem:
Let's assume I have open a folder with
vi <folder name>
so it opens the folder in Vi and lists the files in that folder. I select a…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Our lecturer has given us a task,I've attempted it and try every single effort I can,but I still struggle with one of the problem in it,here goes the question:
The company you work at receives a monthly report in a text format. The report contains the
following information.
• Department Name
• Head…
>>> More