From 302d883f34864bc66a5e04532ae27d7e89fd94e8 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 09:31:13 +0100 Subject: style: Add 3-line descriptive headers to all source files This commit applies a new project-wide rule that every source file must begin with a concise 3-line comment header describing its purpose. - Updated CONTRIBUTING.md with the new rule. - Applied headers to all .cc and .h files in src/ and tools/. - Fixed various minor compilation errors and missing includes discovered during the header update process. --- tools/specview.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools/specview.cc') diff --git a/tools/specview.cc b/tools/specview.cc index d2ce914..699345f 100644 --- a/tools/specview.cc +++ b/tools/specview.cc @@ -1,4 +1,9 @@ +// This file is part of the 64k demo project. +// It implements the specview tool for visualizing spectrograms. +// Renders spectral data as ASCII art in the console. + #include // For std::max_element +#include #include #include #include @@ -96,4 +101,4 @@ int main(int argc, char **argv) { } return 0; -} +} \ No newline at end of file -- cgit v1.2.3