C++ "falling" ANSI colored text in console (IDK)

Поділитися
Вставка

КОМЕНТАРІ • 10

  • @mokouu
    @mokouu День тому

    hypnotic

  • @faimenDev
    @faimenDev 3 місяці тому +5

    Nice cursor theme xD

  • @JackPlain1633
    @JackPlain1633 3 місяці тому +1

    sick

  • @apenaswellignton
    @apenaswellignton 3 місяці тому +2

    thats very cool

  • @apatheus9092
    @apatheus9092 3 місяці тому +1

    woah!

  • @gamesdonerelativelyfast7980
    @gamesdonerelativelyfast7980 3 місяці тому +4

    what is the guard for? looks to me like you're slowing down your threading by using an unnecessary gaurd, you're only accessing the data to display right?

    • @Moleculor
      @Moleculor 3 місяці тому +2

      Yeah, first thing I see is #include and I'm immediately wondering why that's in falling ASCII.

    • @geekygymrat
      @geekygymrat  3 місяці тому +2

      Just bad code overall, i regret many decisions. The mutex::try_lock() guard in display() is to avoid threads writing to the same line at the same time and mess everything up.

  • @aaravsethi6070
    @aaravsethi6070 2 місяці тому +1

    Reminds me of cmatrix

  • @margaritasato1365
    @margaritasato1365 Місяць тому

    @geekygymrat
    Try this, it's do the same thing, but shorter:
    #include
    #include
    int main()
    {
    char w=47,arr[] = "@#$*&+";
    for(;!usleep(10