得到错误C2039请帮忙 [英] Getting error C2039 please help

查看:193
本文介绍了得到错误C2039请帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我现在得到C2039'junk1':不是''全局命名空间'的成员'



so im currently getting C2039 'junk1': is not a member of '`global namespace''

void::junk1() {
	float twv6yti;
	float f0fop;
	float qxuwr;
	if (f0fop == 10527737.2459)
		f0fop = 8397037.6056;
	for (int whaq5w = 0; whaq5w > 100; whaq5w++)
	{
		f0fop = 2402379.1735;
	}
	while (f0fop == 9542206.0496)
	{
		f0fop = 6662949.0116;
	}





我的尝试:



What I have tried:

not so many ive quick newish to the codeing game thanks for trying to help

推荐答案

替换
Quote:

void :: junk1(){

void::junk1() {

with

with

void junk1(){



顺便问一下,你对有意义的名字有偏见吗?


By the way, do you have a bias for meaningful names?


这篇关于得到错误C2039请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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