Is it a file or a folder you want to create? Use open/creat/fopen for the former, mkdir for the latter.
Example:
FILE *f;
int rc;
rc= mkdir ("C:\\AA");
if (rc) perror ("Error in mkdir");
f= fopen ("C:\\AA\\MYNEWFILE.TXT", "w");
if (f==NULL) perror ("Error in fopen");
Static libraries (*.lib): Static libraries have no entry point. Compile the project as normal but do not link the object files -- use lib.exe instead. Your compiler should have a switch to prevent linking.
Dynamic libraries (*.dll)
If you need an entry point, use dll_main. Use your compiler's DLL option to create the DLL.
Use fopen(), fclose(), fread(), fwrite() and fseek(), all of which are contained in the standard library.
Open a file for writing. If the file doesn't exist, it will be created.
Hello, I am syed anwar pasha
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.
No. The standard does not define nor require a file concept.
tanga
Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.
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.
You can create an exe-file from your C++ source, if you have a compiler.
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.
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.
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.
fopen()
Yes, you can rewrite a cuda program originally written in c in c plus plus.
No. The standard does not define nor require a file concept.
tanga
Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.
There's no commands in C++.
Copy the first file then append the second file to the copy.
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.