First commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
add_executable(helloworld main.cpp)
|
||||
target_link_libraries(helloworld PRIVATE ConsoleLib)
|
||||
@@ -0,0 +1,14 @@
|
||||
#include <ConsoleLib.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
using namespace ConsoleLib;
|
||||
signed main() {
|
||||
initConsole();
|
||||
clearConsole();
|
||||
printToConsole("HelloWorld!\r\n");
|
||||
printToConsole("Red", 0xff0000);
|
||||
printToConsole("Green", 0x00ff00);
|
||||
printToConsole("Blue", 0x0000ff);
|
||||
quit(0);
|
||||
}
|
||||
Reference in New Issue
Block a user