About 108,000 results
Open links in new tab
  1. How do I execute a .c file? - Stack Overflow

    Mar 25, 2019 · 30 C files cannot be executed, they must be compiled into an executable first. For example: Given a C file called "file.c" Open a terminal Use gcc for compile the file and make …

  2. Using open() to create a file in C - Stack Overflow

    Feb 12, 2015 · The effective permis‐ sions are modified by the process's umask in the usual way: The per‐ missions of the created file are (mode & ~umask). Note that this mode applies only to …

  3. C programming in Visual Studio - Stack Overflow

    Jan 6, 2017 · From the link above: By default, the Visual C++ compiler treats all files that end in .c as C source code, and all files that end in .cpp as C++ source code. To force the compiler to …

  4. How do you open a file in C++? - Stack Overflow

    Dec 14, 2015 · I want to open a file for reading, the C++ way. I need to be able to do it for: text files, which would involve some sort of read line function. binary files, which would provide a …

  5. npm WARN enoent ENOENT: no such file or directory, open …

    Aug 6, 2017 · 2 If you're trying to npm install on a folder that's being rsync 'd from somewhere else, remember to add this to your rsync --exclude yourpath/node_modules Otherwise, NPM …

  6. c - How to read/write a binary file? - Stack Overflow

    Jul 11, 2013 · I'm trying to write to a binary file, read from it, and output to the screen. I can write to a file, but when I try to read from it, it is not outputting correctly.

  7. c - Using the open () system call - Stack Overflow

    Mar 7, 2014 · I'm writing a program that writes output to a file. If this file doesn't exist, I want to create it. Currently, I'm using the following flags when calling open: O_WRONLY | O_CREATE …

  8. How can I get a file's size in C? - Stack Overflow

    How can I find out the size of a file I opened with an application written in C? I would like to know the size because I want to put the content of the loaded file into a string, which I allocate u...

  9. How can I open DLL files to see what is written inside?

    Aug 5, 2013 · I lost the solution of a class library. Can I open the DLL file which is created by the class library?

  10. c - Difference between r+ and w+ in fopen () - Stack Overflow

    In fopen ("myfile", "r+") what is the difference between the "r+" and "w+" open mode? I read this: "r" Open a text file for reading. "w" Open a text file for writing, truncating an an existing...