编译这个C ++,Class时遇到问题? [英] I have a problem compiling this C++, Class?

查看:74
本文介绍了编译这个C ++,Class时遇到问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studious 2015,无论出于何种原因无法解决为什么这个课程无法编译。我是编程新手,非常感谢任何帮助。我甚至不确定在制作Header和.cpp文件时,究竟是什么。

I am using Visual Studious 2015 and for whatever reason cannot workout why this Class will not compile. I am new to programming and would appreciate any help. I am not even sure when making a Header and .cpp file, what todo exactly.

当你完成Header时你会构建那个和其他人吗?有什么基础知识。下面是三个文件,对于一个名为BMI的基本类,它将值设置为Null状态,然后用户添加三个随后打印的变量。

When you finish the Header do you build that and the others? What are the basics. Below is the three files, for a basic Class called BMI, in which it sets the values to the Null state then the user adds three variables that are then printed.

下面的标题文件:

[code]

// #pragma once zh-b $ b #include " stdafx.h"

#include< iostream>

#include< string>
//#pragma once
#include "stdafx.h"
#include <iostream>
#include <string>

推荐答案

Logana -

Logana --

您错误地在专用于Project Online的用户论坛中发布了Visual Studio问题,这是一个企业项目管理工具。 我建议您在专用于Visual Studio的论坛中重新发布您的问题。 希望这会有所帮助。

You have erroneously posted your Visual Studio question in a user forum dedicated to Project Online, an enterprise project management tool.  I would recommend you repost your question in a forum dedicated to Visual Studio.  Hope this helps.


这篇关于编译这个C ++,Class时遇到问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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