view garf.cpp @ 65:94acc374973f

Merge branch 'master' of github.com:mrpapersonic/codedump
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Apr 2022 02:11:11 -0400
parents 37f231f85a67
children
line wrap: on
line source

// garf simulator
#include <iostream>
#include <stdio.h>
#include <string.h>

int main() {
    char answer[255];
    std::cout << "would you like to monetize 1123.best?: ";
    fgets(answer, sizeof(answer), stdin);
    if(answer == "yes") {
        std::cout << "it's a yes!";
    }
    else {
        std::cout << "it's a yes!";
    }
    return 0;
}