Skip to content

Commit

Permalink
Update hello.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
thoughtlessnerd authored Feb 1, 2024
1 parent 4bec581 commit 9495e80
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions hello.cpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
// Copyright 2024 Abhay
#include <iostream>

void printMessage(const std::string& message) {
std::cout << message << std::endl;
}

int addNumbers(int a, int b) {
return a + b;
}

int main() {
printMessage("Hello, Clang Format!");

int result = addNumbers(5, 7);
std::cout << "Result: " << result << std::endl;

std::cout << "hello world" << std::endl;
return 0;
}

0 comments on commit 9495e80

Please sign in to comment.