answersLogoWhite

0

What you create a file in c?

Updated: 12/7/2022
User Avatar

Wiki User

12y ago

Best Answer

A file. Of course it wouldn't hurt if you asked questions that make sense.

Perhaps see if fopen() from stdio.h is what you're looking for.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What you create a file in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create .exe file in c plus plus?

You can create an exe-file from your C++ source, if you have a compiler.


How do you create a header file and implementation of code in another c file and both should be retrieved by another .c file?

tanga


How do you easily create Excel files in c?

You might be able to use C to extract data from an Excel file, but there is no easy way to write a program to create an Excel file.


How do you create dll file?

type nul > c:\my.dll


How can you create a header file in c?

Use a text-editor.


How can you create a headerfile in a c?

Create the header file as a .h file in the same way you create a source file, .c and place it in the same directory as the .c files. To incorporate it, use the... #include "my_header_file.h" ... directive. Note that there are double quotes instead of greater/less signs. This tells the compiler to look first in the source directory.


How do you create a new C source file?

A source file is nothing more than a text file with code. Therefore, any file created in Notepad and saved as "anyname.c" is considered a C source file.


How can you create a c program without using header file?

C programs do not require header files. If you want a C program without header files, you can simply not create them. However, you may or may not be able to include your non-header file source files.


What is a source code file in c plus plus?

A source code file is a plain-text file containing C++ instructions. The instructions must be compiled and linked to create a native machine code executable.


Can you read a file after created by a program in C plus plus?

Yes. You can either create a file for both reading and writing, or you can re-open a file for reading after creating and writing to it.


What is the DOS commands to create a text file?

There are different ways to create file..Run this command - "copy con abc.txt" .. It will give you the blank space.. Write the contents of that file and then press F6 and then press Enter..Run this command - "edit abc.txt" .. It will open the DOS editor.. Write the contents of the file and then press Ctrl Z.Please note that file will be created at the current path.. If you are working at C:\data, then file will be created under Data directory in C drive..You can create a text file that lists the result of a DIR command like this:DIR>Dirlist.txt


How do you create a simple student file in C Plus Plus?

Whenever you open a file using the function open of fstream class (header file) by using one of it's object you have created, the file is created automatically.You can do it this way:fstream filer;filer.open("Student.dat",ios::out);//This will create a file.This is just a code segment.