How is .txt file different from a .dat file in C?

Let’s learn how is .txt file different from a .dat file in C. The most accurate or helpful solution is served by mycplus.com.

There are ten answers to this question.

Best solution

File Handling in C Language - C and C++ Programming ...

File Handling in C Language. File stores ... Binary files. A binary file is no different to a text ... mid 4 colums and want to write in new .dat file only those 4 ...

mycplus.com

Other solutions

How to convert '.txt' to '.dat' to '.csv' in JAVA ?

is there a method or process in which you can convert a file between .txt .dat .csv in java?

Answer:

.txt is a text file. .dat is a generic extension for any kind of "data" file (and isn't a...

Read more

YodadoY at Yahoo! Answers Mark as irrelevant Undo

Binary file

QUESTION: I need to perform a few tasks: 1. Read the infile.txt 2. Creation of binary file 3. Update binary file 4. Append some records to binary file Attached is the code for task 1. Somehow, it can compile & build but execute will crash the compiler...

Answer:

Steven, I find your question very confusing, but I have tried my best to make sense out of it. I have...

Read more

Miningco.com Mark as irrelevant Undo

How can i save text box information into .txt file in vb programming language?

Hi!friends...i am making a vb program in which i have to save information in the text box written by the user into .txt file.I know how to save it in .txt file.But problem occurs when i run the program again and again,and when i save it by clicking command...

Answer:

I'm not sure which method your using to write to file, but all of them that I know of have an option...

Read more

divyesh r at Yahoo! Answers Mark as irrelevant Undo

How do i call for a txt file in c coding?

I can not for the life of me remember how to call for a txt file in my c coding. So my assignment is to create a yahtzee game (i'm sure a ton of you have heard of this) And I have 4 files so far I have my header file my programs file main.c and a txt...

Answer:

Depends on if you are using Windows or Linux. In Windows you use CreateFile(), OpenFile(), _open(),...

Read more

David at Yahoo! Answers Mark as irrelevant Undo

How do I ensure that changing a file extnsion from .txt to .asx really changes the fiele type to .asx?

How do I ensure that changing a file extension from .txt to .asx really changes the file type to .asx? I need to convert .txt files to .asx files before uploading them to an ftp site. But on some computers the typing .asx over .txt works every time on...

Answer:

The easiest way to do it is to make the change in DOS.... 1. Click Start > Run... and then type CMD...

Read more

Simon R at Yahoo! Answers Mark as irrelevant Undo

Saving a .txt file with Asian language without any error message?

I need to save a txt file with Thai language on it but when I "save", an error message shows up : This file contains characters in Unicode format which will be lost if you save this file as an ANSI encoded text file. To keep the Unicode information...

Answer:

Hello Sthailee; It looks like you need a "Unicode Converter" Below is a link to a .org site...

Read more

Sthailee at Yahoo! Answers Mark as irrelevant Undo

Creating a txt file from a bat file.?

hey, im making a batch file to run a few things, but i want it to create a file in a set location from the bat file. I have found the coding i need which is: echo hello world > c:\hi.txt type c:\hi.txt > %var1% echo contents of file "hi.txt...

Answer:

Echo hello world > c:\hi.txt Echo 1 2 >>c:\hi.txt

Read more

kyle at Yahoo! Answers Mark as irrelevant Undo

Splitting, compressing video (.DAT) file

I shot a video in mini DV of 15 minutes duration and got it converted to Video CD format by a third party for a small fee. The resulting file is a DAT file of 150 MB that can be played on Windows Media Player or home Video CD player. (The home video...

Answer:

Unfortunately, compressing VCD video will not save you much in overhead relative to your 150mb file...

Read more

aaz-ga at Google Answers Mark as irrelevant Undo

How to output batch to txt file without overwriting info?

how could i output batch to a txt file without overwriting info already in the file, if i echo Fisrt bit of text > Test.txt echo Second bit of text > Test.txt and then i open Test.txt i will only see Second bit of text if you could tell me how...

Answer:

echo Fisrt bit of text > Test.txt echo Second bit of text >> Test.txt

Read more

chiz130 at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.