21 lines
395 B
C++
21 lines
395 B
C++
// file: main_02_MENT.cpp
|
|
// THIS IS C++, use clang++
|
|
|
|
#include <iostream>
|
|
|
|
#include "../../helpers/println.hpp"
|
|
|
|
struct PascalString{
|
|
int length; // number of chars used
|
|
char characters[256]; // chars of some character string
|
|
};
|
|
|
|
int main(int argc, char** argv, char** envp) {
|
|
|
|
PascalString s = {3, '1', '0', '0'};
|
|
PascalString s2 = {4, 'f', 'f', 'f', 'f'};
|
|
|
|
return 0;
|
|
}
|
|
|