answersLogoWhite

0

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.

User Avatar

Lela Lemke

Lvl 10
3y ago

What else can I help you with?

Continue Learning about Engineering

How can you read and write to files in C programming language?

We can read and write to files with the help of file commands in c programming.There are so many commands related to file for read,write,append,delete etc.


What is meant by read and write txt in file handling?

read: moving data from file to memory write: moving data from memory to file


What file systems does Ubuntu support?

Ubuntu supports a large number of file systems, including ext2 (read/write), ext3 (read/write), ext4 (read/write), ReiserFS (read/write), JFS (read/write), XFS (read/write), FAT (read/write), and NTFS (read, additional software available for writing). With the exception of NTFS, it can also boot off of the above file systems.


How do you read and write video file in java?

you can use inputstream for reading the file java.io.fileinputstream and write the file using outputstream..


Write java program to merge alternate lines from file1 and file2 into file1?

I suggest something like this:* Open file1 and file2 * Create a temporary output file, for writing * Read a line from file1, write it into the output file * Read a line from file2, write it into the output file * Repeat the previous two steps, while you are not at end-of-file in either of the two files * At this point, if you are NOT at end-of-file in file1, read the remaining lines of file1, and write them to the output (you can write a loop for this). * Similarly, if you are NOT at end-of-file in file2, read and write the remaining file. * Close file1, file2, and the output file. * Copy the temporary output file back to file1 * Erase the temporary output file

Related Questions

What are the four file commands required to read and write to a file in C programming?

fopen, fread, fwrite, fclose


What are four file commands required to read and write a file?

these are not commands, but functions. Some of them are: open, close, read, write; fopen, fclose, fread, fwrite, fgets, fputs, fprintf, fscanf, fgetc, fputc.


What are the four file commands required to read and write to a file?

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.


What are the four file commands required to read and write a file?

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.


How can you read and write to files in C programming language?

We can read and write to files with the help of file commands in c programming.There are so many commands related to file for read,write,append,delete etc.


What are typical access rights that may be granted or denied to a particular user for a particular file?

Read, write, execute, and functions in software objects.


What is meant by read and write txt in file handling?

read: moving data from file to memory write: moving data from memory to file


What file systems does Ubuntu support?

Ubuntu supports a large number of file systems, including ext2 (read/write), ext3 (read/write), ext4 (read/write), ReiserFS (read/write), JFS (read/write), XFS (read/write), FAT (read/write), and NTFS (read, additional software available for writing). With the exception of NTFS, it can also boot off of the above file systems.


How do you read and write video file in java?

you can use inputstream for reading the file java.io.fileinputstream and write the file using outputstream..


What abilities does the NTFS write permission grant?

Write to the file, append to the file, and read or change its attributes.


How do you change file attributes in Fedora Linux?

In Fedora Linux, you can change file attributes using the chmod, chown, and chgrp commands. The chmod command modifies file permissions, while chown changes the file's owner, and chgrp adjusts the group ownership. For example, to change permissions to read and write for the owner, you would use chmod u+rw filename. Ensure you have the necessary permissions to execute these commands on the target files.


Write java program to merge alternate lines from file1 and file2 into file1?

I suggest something like this:* Open file1 and file2 * Create a temporary output file, for writing * Read a line from file1, write it into the output file * Read a line from file2, write it into the output file * Repeat the previous two steps, while you are not at end-of-file in either of the two files * At this point, if you are NOT at end-of-file in file1, read the remaining lines of file1, and write them to the output (you can write a loop for this). * Similarly, if you are NOT at end-of-file in file2, read and write the remaining file. * Close file1, file2, and the output file. * Copy the temporary output file back to file1 * Erase the temporary output file