answersLogoWhite

0

fopen()

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

How do you Open a text file as C plus plus source code?

All C++ source code is is a text file with the .cpp extension. So if you save your code as *****.cpp then it is automatically C++ source code.


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 a statement used to open data file in c plus plus?

FILE* fopen(<filename>, <mode>); E.g., FILE* f = fopen("C:\\Users\\<user_name>\\My Documents\\data_file.dat", "rb"); Opens the specified file for reading ("r") in binary mode ("b").


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 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.


Example for w plus mode in c?

1. open the file: fopen (name, "w+") 2. write into it 3. rewind 4. read from the file


Is there a file concept in c plus plus?

No. The standard does not define nor require a file concept.


Can you rewrite a cuda file in c c plus plus language?

Yes, you can rewrite a cuda program originally written in c in c plus plus.


What is a scatter file in c or c plus plus programming?

Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.


Explain any six file commands in C plus plus?

There's no commands in C++.


What is a statement use to open data file in c?

FILE* file; file = fopen("some-file.dat");


How do you concatinate two files in c plus plus?

Copy the first file then append the second file to the copy.