#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_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