如何使`goapp serve`忽略.git文件夹中的更改?

时间:2015-10-31 11:29:16

标签: google-app-engine go

运行Google App Engine Go的开发服务器时,请阅读以下控制台打印件:

#include <iostream>
#include <windows.h>
#include <algorithm>
#include <string>
using namespace std;

void string_permutation( std::string& orig, std::string& perm)
{

    if( orig.empty() )
    {
        std::cout << "perm: " << perm << std::endl;
        return;
    }

    for(int i = 0; i < orig.size(); ++i)
    {
        std::string orig2 = orig;
        orig2.erase(i, 1);
        std::string perm2 = perm;
        perm2 += orig.at(i);
        string_permutation(orig2, perm2);
    }
}

int main()
{

    system("color 1f");
    std::string orig = "123";
    std::string perm;  

    string_permutation(orig, perm);
    cout << "Complete!" << endl;

    cout << endl << endl << endl;

    //system("pause");
    return 0;
}

但那只是噪音,我怎么能抑制它?

0 个答案:

没有答案