-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simply cc program to not require libcxx
- Loading branch information
Vinh Tran
committed
Feb 6, 2024
1 parent
3e5abde
commit ee9c67c
Showing
2 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
#include <iostream> | ||
|
||
std::string get_greet(const std::string& who) { | ||
return "Hello " + who; | ||
} | ||
|
||
|
||
int main(int argc, char** argv) { | ||
// std::string who = "world"; | ||
// std::cout << get_greet(who) << std::endl; | ||
return 0; | ||
#include <stdio.h> | ||
int main() { | ||
// printf() displays the string inside quotation | ||
printf("Hello, World!"); | ||
return 0; | ||
} |