stdafx.cpp

来自「Gramham法求解凸包。从最基本数据结构定义开始实现」· C++ 代码 · 共 19 行

CPP
19
字号
// stdafx.cpp : source file that includes just the standard includes
//	ConvexHull.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

#include <istream>

void skip_to_next_number(std::istream &is)
{
    char c;
    while(is)
    {
        c = is.peek();
        if(c == '-' || ('0' <= c && c <= '9') || c == '.')
            return;
        is.get(c);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?