Tag: turboc ++

为什么不用Turbo C ++编译简单的“Hello World”风格的程序?

我已经开始为我的编程课程学习C ++了。 我已经下载了这个“Hello World”程序: #include <iostream> using namespace std; int main() { cout << "Hello, World!"; return 0; } 但Turbo C ++抱怨: Error D:\HELLO.CPP 1: Unable to open include file 'IOSTREAM' Error D:\HELLO.CPP 2: Declaration syntax error Error D:\HELLO.CPP 6: Undefined symbol 'cout' 这个非常简单的程序有什么问题? 我怎样才能纠正这些错误?

为什么我不应该使用Turbo C ++?

我是孟买大学的工程学学生:: RAIT。 我从Stanley Lipman的“C ++ Primer”学习C ++,并使用Visual C ++ 2008作为IDE。 但是,我的研究所和我大学的大多数研究机构更倾向于使用Borland International的Turbo C ++(3.0版)。 我可以提出什么论点来反对在我的研究所使用Turbo C ++?

我为什么不要#include <bits / stdc ++。h>?

我用我的代码发布了一个问题,只有#include指令如下: #include <bits/stdc++.h> 我的老师告诉我这样做,但在评论部分,我被告知我不应该这样做。 为什么?