What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

Code including <fstream> does not compile

This question presents a piece of C++ code that does not correctly build for the OP. However, it is perfectly valid C++ code, and should build, if the build process is done correctly.

In this case, xcode is involved in the process of building this code, and the correct answer (at least one of them), involves changing a setting within xcode itself.

Since that is the case, it seems obvious to me that there should be a reference to xcode somewhere in the question or the tags. Others disagree. Who is right?

share|improve this question

closed as too localized by Wesley Murch, Toon Krijthe, Martijn Pieters, animuson, hims056 Feb 23 '13 at 1:57

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

No, the appropriate disposition here is to close the question as too localized. It's not really xcode, it's compiling a C++ program with a C compiler.

share|improve this answer
1  
But the OP isn't invoking the compiler directly. He made a mistake in xcode that caused xcode to invoke the wrong compiler. –  Benjamin Lindley Feb 22 '13 at 19:52
    
There are an infinite variety of single-person mistakes that someone can make. They define the space of 'too localized'. –  Rosinante Feb 22 '13 at 19:55

Not the answer you're looking for? Browse other questions tagged .