Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
not understanding why it will not compile
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="miggles" data-source="post: 46209" data-attributes="member: 5662"><p>Are you compiling C or C++? fstream is for C++. Also, try #include <fstream.h> to see if it is an issue of ANSI C++ compliance. Also, try using the command line compilers (/usr/bin/gcc or /usr/bin/g++) and see if a more informative error message is produced.</p></blockquote><p></p>
[QUOTE="miggles, post: 46209, member: 5662"] Are you compiling C or C++? fstream is for C++. Also, try #include <fstream.h> to see if it is an issue of ANSI C++ compliance. Also, try using the command line compilers (/usr/bin/gcc or /usr/bin/g++) and see if a more informative error message is produced. [/QUOTE]
Verification
What is Apple's smallest desktop computer called?
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
not understanding why it will not compile
Top