this post was submitted on 01 May 2024
145 points (98.7% liked)

retrocomputing

4126 readers
26 users here now

Discussions on vintage and retrocomputing

founded 1 year ago
MODERATORS
 

I was definitely a Commodore kid, and BASIC was my first language. Maybe it's nostalgia, but I still like BASIC for hobby stuff.

you are viewing a single comment's thread
view the rest of the comments
[–] xyzzy@lemm.ee 3 points 6 months ago* (last edited 6 months ago)

C

#include <stdio.h>

int main() {

printf("Hello, world");

return 0;

}

C++

#include

int main() {

std::cout << "Hello, world" << std::endl;

return 0;

}