小编Wil*_*eck的帖子

1.#QNAN错误C++

我是编程和尝试编写新程序的新手.在检查我的程序时,它返回错误代码1.#QNAN.我试过隔离变量并研究答案,但找不到任何解决方案.

我的代码:

 // This is a program to decide what culvert should be properly used for a specific installation
// using given measurements and data
//
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <string>

using namespace std;
// initializing functions 
double slope_function();
double cbasin();
// initializing classes: Subdivisions specs

//intitializing global variables
double edge_road =0;
double up_stream  =0;
double down_stream =0;
double tbm =0.0;

//double culv_length =0;
double slope = 0.0 ;
char street_name[1001];
int min_culv = 15;
double up_strm_culv …
Run Code Online (Sandbox Code Playgroud)

c++ error-handling

14
推荐指数
1
解决办法
5万
查看次数

标签 统计

c++ ×1

error-handling ×1