Topic

cpp

6 notes filed under this topic.

cmake

cmake

CUDA_SEPARABLE_COMPILATION Separable compilation allows the compilation of individual CUDA source files (*.cu) into separate object files, which can be linked together later. This can resul…

Read article
cpp

cpp build

cmakeenvironment variables CMAKE_SOURCE_DIR: the root directory of the source tree for the project. This variable holds the full path to the directory where the top-level CMakeLists.txt fil…

Read article
cpp

cpp key workds

decltypedecltype is a keyword that is used to obtain the type of an expression or an entity friendIn C++, the friend keyword is used to grant non-member functions or other classes access to…

Read article
cpp

cpp generics

genericsvariadic template parameter macrosexamples __cplusplus macro is a predefined macro in C++ that is used to indicate the version of the C++ standard being used by the compiler. The va…

Read article
cpp

cpp std

snprintfsnprintf is a function that formats a string and writes the resulting characters to a character array. str: A pointer to the destination buffer where the resulting string is stored.…

Read article