Files
imdd_silas/Functions/helper_functions_community/schemer/develop/sample.cpp
Silas Labor Zizou 99fe2ca106 Commit Friday evening.
PDFA and EXFO Laser are now part of the family
2024-10-25 20:31:50 +02:00

23 lines
420 B
C++

/* Here's a simple Hello World program in C++, which won't
* do much, but does show syntax highlighting.
*/
#include <iostream>
void some_complex_work();
int main()
{
if (2+2==5)
{
// This happens very often indeed
std::cout << "Hello World!";
}
else
{
@ // bad character makes an error
character = 'a';
len = strlen("foobar");
return len;
}
}