About 50 results
Open links in new tab
  1. c - How to open .o file? - Stack Overflow

    Mar 15, 2016 · After compiling a C program, you get a .o file. I know it's a file consisting of '0's and '1's and if formed after successful compilation of a program. But I want to see what is in the file!

  2. c++ - What is *.o file? - Stack Overflow

    A file ending in .o is an object file. The compiler creates an object file for each source file, before linking them together, into the final executable.

  3. What are .o files and to open them on windows? [duplicate]

    Aug 8, 2019 · I'm a beginner in programming, I wonder what is inside the .o files and want to see it, but can't open the files in windows because they give some output with unrecognized symbols.

  4. c - How to open a .o file in windows - Stack Overflow

    Jan 26, 2023 · How to open a .o file in windows Asked 2 years, 10 months ago Modified 2 years, 10 months ago Viewed 870 times

  5. c++ - how to run the .o file after make - Stack Overflow

    Mar 7, 2014 · 10 You can not run a .o file. This is an object file and has to be linked into the final executable. A .o file is usually lacking additional libraries, which are added at the linking stage. …

  6. c++ - How to view symbols in object files? - Stack Overflow

    Oct 7, 2010 · How can I view symbols in a .o file? nm does not work for me. I use g++/linux.

  7. Why does open() create my file with the wrong permissions?

    Feb 11, 2010 · The typical umask() value is 0002 ("don't give away write permission to the world") and if your mode value in the open( "file", O_CREAT, 0777) gave all permissions, the resulting file would …

  8. open with O_CREAT - was it opened or created? - Stack Overflow

    Jan 31, 2014 · 18 I have 10 processes which try open the same file more or less at the same time using open (O_CREAT) call, then delete it. Is there any robust way to find out which process actually did …

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

    Feb 12, 2015 · When creating a file, you need a third parameter to open (the mode). If you don't do this, unpredictable things happen. Also, if you want to create a file if it's not there, you will need …

  10. 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 However, when ...