this post was submitted on 21 Nov 2024
95 points (98.0% liked)

Animals with Jobs

3558 readers
104 users here now

Is it an animal? Does it have a job? Then it belongs here!

Our rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Our Rules


Rule 1- Be respectful and inclusive.

Everyone should feel welcome here.



Rule 2- No illegal or NSFW or NSFL content.

Violation of this rule will not be tolerated.



Rule 3- No advertisement or spam.

Violation of this rule will not be tolerated.



Rule 4- No inflammatory or controversial content.

Please stay away from politics and other divisive topics. This is meant to be a lighthearted community.



Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] melroy@kbin.melroy.org 1 points 8 hours ago
int main() {
    std::cout << "Starting cat food dispenser..." << std::endl;
    while (true) {
        giveMeFood();
        // Waiting for max 1 second
        std::this_thread::sleep_for(std::chrono::seconds(1));
    }
}