modinfo nvidia
cat /usr/local/cuda/version.txt
#include "StdAfx.h" | |
#include <Setupapi.h> | |
#pragma comment(lib, "Setupapi.lib") | |
#include "SerialPort.h" | |
SerialPort::SerialPort(void) : end_of_line_char_('\n') | |
{ | |
} |
#include <thread> | |
#include <iostream> | |
#include <pthread.h> | |
using namespace std; | |
void foo() | |
{ | |
string s = "thread1"; | |
char name[16]; |
# clang-format | |
# Made by: Ingmar Delsink | |
# idelsink.com | |
# See http://clang.llvm.org/docs/ClangFormatStyleOptions.html | |
# Tested with: clang-format version 3.7.1 | |
# General | |
######### | |
# The style used for all options not specifically set in the configuration. |
cmake_minimum_required( VERSION 3.6 ) | |
set( CMAKE_CXX_STANDARD 11 ) | |
set( CMAKE_CXX_STANDARD_REQUIRED ON ) | |
set( CMAKE_CXX_EXTENSIONS OFF ) | |
find_package( Git ) | |
execute_process( | |
COMMAND ${GIT_EXECUTABLE} clone "https://github.com/ocornut/imgui.git" -b v1.72b | |
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |