This is a very short guide on how to get started with WHYCPP.
How to "install" WHYCPP?
TBDL
A simple first program
Here is a rather simple program to get you started.
#include <whycpp/application_listener.h>
#include <whycpp/whycpp.h>
#include <whycpp/drawing.h>
public:
void OnRender(
Context &ctx)
override {
if (x % 2 == 0 && y % 2 == 0) {
} else {
SetPixel(ctx, x, y, {255, 255, 255, 255});
}
}
}
}
};
int main(int argc, char *argv[]) {
RunApp<ChessBoard>();
return 0;
}