小编Rya*_*ark的帖子

C++错误:ISO C++禁止指针和整数之间的比较[-fpermissive]

我是初学者C++程序员,对C++知之甚少.我已经在IDE和编译器上创建了一个程序:Dev-C++ 5.6.3.我遇到了这个错误:ISO C++禁止指针和整数之间的比较[-fpermissive].我不知道这意味着什么,但我会把整个代码放在这里:

#include <iostream>
#include <stdio.h>
#include <cstdlib>
#include <conio.h>

using namespace std;
// This is the Cleaner and Updated version of the test program.

int main(int argc, char** argv) {

Introduction: //Introduction to The Program and Little Information About it.
cout << "________________________________________________________________________________" << endl;
cout << "                     Introduction                        " << endl;
cout << "________________________________________________________________________________" << endl;
cout << "Welcome to Ryan's C++ Program" << endl;
cout << "This Program is in Beta and is Glitchy" << endl; …
Run Code Online (Sandbox Code Playgroud)

c++ shutdown dev-c++

2
推荐指数
1
解决办法
9837
查看次数

标签 统计

c++ ×1

dev-c++ ×1

shutdown ×1