mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Remove wpiutil and update to the new build system (#210)
This commit is contained in:
committed by
Peter Johnson
parent
f43675e2bd
commit
5df7463663
9
src/dev/native/cpp/main.cpp
Normal file
9
src/dev/native/cpp/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "ntcore.h"
|
||||
#include "nt_Value.h"
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
nt::SetEntryValue("MyValue", nt::Value::MakeString("Hello World"));
|
||||
|
||||
std::cout << nt::GetEntryValue("MyValue")->GetString() << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user