jbenden/vscode-c-cpp-flylint

View on GitHub
specs/suite/fixtures/c_cpp_properties/c_cpp_properties.c

Summary

Maintainability
Test Coverage
// Copyright (c) 2017-2022 The VSCode C/C++ Flylint Authors
//
// SPDX-License-Identifier: MIT

#include <stdio>
#include <string>

int main(int argc, char* argv[]) {
    /**
     * Generates an input and send it to stdout,
     * takes one argument for the length of input
     *
     * generate_input [len]
     *
     */

    if (argc != 2) {
        printf("error: only 1 argument expected (%i given)\n", argc - 1);
    }

    int len = argv[1];

    return 0;
}