Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.92 KB

README.md

File metadata and controls

59 lines (47 loc) · 1.92 KB

Programming

Visual Studio Code C++ C GitHub GitHub stars Jupyter

Learning C++

Syntax

#include <iostream>
#include <string>

/**
 * @param name your name
 * @example
 */
void function_name(std::string name) {
    // code here like
    std::cout << "Hello World" << std::endl << "I am " << name << std::endl;
}
int main() {
    function_name();
}

CMake Use

cmake_minimum_required(VERSION 3.28.3)
project(CMakeLearning)
add_executable(${PROJECT_NAME} Student.cpp)
cmake CMakesLists.txt
make all
./CMakeLearning

Hello World

I am Jaipal