如何纠正这些错误? [英] How to rectify those errors?

查看:75
本文介绍了如何纠正这些错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是VC ++的新手.有人可以解释这些错误以及如何解决这些错误吗?

错误C2653:"CHelloDlg":不是类或名称空间名称
错误C2601:"OnHello":本地函数定义不合法

I am new to VC++. Can someone explain these errors and how to fix them?

error C2653: ''CHelloDlg'' : is not a class or namespace name
error C2601: ''OnHello'' : local function definitions are illegal

推荐答案

这意味着编译器找不到CHelloDlg和OnHello.您需要将CHelloDlg的头文件包含在您使用它的任何位置.

-Saurabh
This means that compiler can''t find CHelloDlg and OnHello. You need to include the header file for CHelloDlg to where ever you are using it.

-Saurabh


这篇关于如何纠正这些错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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