Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/160.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 如何包括<;stdio>;在xcode中?C++;_C++_Xcode_Stdio - Fatal编程技术网

C++ 如何包括<;stdio>;在xcode中?C++;

C++ 如何包括<;stdio>;在xcode中?C++;,c++,xcode,stdio,C++,Xcode,Stdio,你好 #include <stdio.h> #包括 在xcode中 我得到了所有这些错误 对于std::of stream您#包括 对于std::string您可以#包括 是诸如printf或fopen等功能所需的C标头。它是这样包含的:#包含。在C++中,最好是包含“< /代码>”,因此所有的名字都嵌入在命名空间STD中(因此,你应该使用 STD::Prtff等)。 < P>你是C程序员,嗯?p> 是C的I/O库。我想您正在寻找这个(C++的I/O库): #包括 是否安装了命

你好

#include <stdio.h> 
#包括
在xcode中

我得到了所有这些错误


对于
std::of stream
#包括

对于
std::string
您可以
#包括


是诸如
printf
fopen
等功能所需的C标头。它是这样包含的:
#包含
。在C++中,最好是<代码>包含“< /代码>”,因此所有的名字都嵌入在命名空间STD中(因此,你应该使用<代码> STD::Prtff等)。

< P>你是C程序员,嗯?p>
是C的I/O库。我想您正在寻找这个(C++的I/O库):

#包括

是否安装了命令行工具?如何检查?顺便说一句,我所做的是在终端中运行xcode->new->project->OSX应用程序->命令行工具'$xcode select-p',输出是什么?
#include <iostream>