add cxx templates and improve rust template

This commit is contained in:
ulic-youthlic 2025-05-21 13:50:27 +08:00
parent bc0c2c736b
commit e8317da51b
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
22 changed files with 2634 additions and 3 deletions

3
templates/cxx/main.cxx Normal file
View file

@ -0,0 +1,3 @@
#include <print>
auto main() -> int { std::println("Hello, {}!", "World"); }