answersLogoWhite

0

FILE* file;

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

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How will you import any table from oracle to Excel?

One method would be to use sqlplus, write a select statement to extract the data that you want to import, save it to a file or copy it to the clipboard, then paste the data (or open the file that you saved it to) in Excel and use the "Text to Columns" feature to break each line of data into columns.


What are the advantages of traditional file processing and database approach?

An alternative to using a database to store data is to use what are known as flat files. These are basically text files that are stored on your server that you can use to store your data, change, manipulate and generally use how you want. Although I'd recommend you use a database, you can use PHP's file processing system. There are 3 steps to writing data to a file: # Open the file (create if doesn't already exist) # Write data to the file # Close the file There are also 3 steps to reading data in a file: # Open the file (if cannot be opened, generate an errror) # Read the data # Close the file


What is the proper method of opening a file for writing as binary file?

To open a file for writing as a binary file in Python, you should use the open() function with the mode set to 'wb'. This mode stands for "write binary," allowing you to write binary data to the file. For example, you can use open('filename.bin', 'wb') to create and write to a binary file named filename.bin. Always remember to close the file using the close() method or by using a with statement to ensure proper resource management.


Which windows tool can you use to install the drivers needed so that a user can open a data file using an application that is normally not used with a file?

Data Sources Open Database Connectivity (ODBC)


Which windows tool can you use to install the drivers needed so that the user can open a data file using an application that is normally not used with the file?

Data Sources Open Database Connectivity (ODBC)


How do you campare two jpg file?

Open Adobe Acrobat XI and use the data compare function


How do I open a sql server bak file in Access?

you can not open the sql server back up file in access. You have to use server wizard to see the data base provided. It it not simple access or excel file. AnandDave.


How do you make record file in c language?

To create a record file in C, you typically define a structure to represent the record data, then use file handling functions to write to a file. First, include the necessary headers like <stdio.h> and define your structure. Use fopen() to open a file in write mode, and then use fwrite() or fprintf() to write the structure data to the file. Finally, close the file with fclose() to ensure all data is saved properly.


How windows tool can you use to install the drivers need so that a user can open a data file using an application that is normally NT used the file?

You will need to use a print manager or device manager tool to do this. There are no Windows tools that can help.


How do you open a data file?

You can use fstream header file to read and write in files. It has two main components ifstream: stream which you can use to read data, and ofstream which allows you to save in files. Use something like this:#include#includeusing std::ifstream;using std::cout;using std::endl;int main(){char fileName[] = "myfile.txt";//file to read fromifstream inData;//stream to read from myfile.txtint data = 0;//to read one number of type int (we assume that the file contains it)inData.open(fileName);//connect the stream to the fileif (inData.fail())//if coult not open the file, program will be closed{cout data;//read one number from the file and save it in data of type intcout


Can you open a MS Works data file with open office?

Yes, it is possible to open a MS Works data file with Open Office. MS Works data files are generally stored with a ".was" extension, and they are documents produced by Microsoft Works, an office suite developed and distributed by Microsoft. While MS Works is no longer supported by Microprokey, the file format is still quite common and can be opened using software such as Open Office. Open Office is a free, open-source office suite that is developed and maintained by the Apache Software Foundation. It supports a variety of file formats, including MS Works data files. To open a MS Works data file with Open Office, simply launch the program, click on the "File" menu, select "Open", and choose the file from its location. Open Office will then open the file and display it in its workspace.


What is a CED file and what program do you use to open it?

A CED file is a data file format typically associated with the "CED" (Cambridge Electronic Design) data acquisition system, used for storing electrophysiological data. These files can contain recordings from experiments in neuroscience or other fields. To open and analyze CED files, you typically use the software provided by Cambridge Electronic Design, such as Spike2 or Spike2's associated analysis tools.