小编译错误,只是一个简单的问题。 [英] Little Compiling error, Just a simple question.

查看:55
本文介绍了小编译错误,只是一个简单的问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿我得到了这个错误:

Hey Ive got this error:

展开 | 选择 | Wrap | 行号

推荐答案

首先,头文件应始终在任何变量和/或函数声明或定义之前声明。另外,一般来说,标题只应声明一次。快速示例:
First, header files should always be declared prior to any variable and/or function declarations or definitions. Also, headers should only be declared once, generally speaking. quick example:
展开 | 选择 | Wrap | 行号


一般来说,这意味着您没有正确编写头文件,只需返回即可看看你在那里做了什么
Generally it would mean that you didn''t write your header file correct, just go back and see what you did there



首先,应始终在任何变量和/或函数声明或定义之前声明头文件。另外,一般来说,标题只应声明一次。快速示例:
First, header files should always be declared prior to any variable and/or function declarations or definitions. Also, headers should only be declared once, generally speaking. quick example:
展开 | 选择 | Wrap | 行号


这篇关于小编译错误,只是一个简单的问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆