Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by SleepyMode

  1. SleepyMode

    Rust: stdin().read_line() goes onto the next line automatically

    Aye, what he means is that when you do read_line() into the buffer, the buffer includes the newline character at the end which can then be trimmed off via trim(), but it gets outputted at the end of read_line() regardless of any consequent output.
  2. SleepyMode

    Rust: stdin().read_line() goes onto the next line automatically

    Code in this thread will be formatted as C# because it's easier to read than having unhighlighted c ode, but it's all written in Rust, which is not available as a formatting option. There's an issue I've been repeatedly running into with Rust when creating CLI applications, for example, the...
  3. SleepyMode

    Introducing a programming language called TYL

    Yeah, the website seems to have some examples past database-handling but for the most part this feels a lot like a difficult to read version of Lua. Not sure how to feel about it.
  4. SleepyMode

    Introducing a programming language called TYL

    Honestly it just feels like a bit of an expansion over shell/batch. Are there any plans to allow extending of the language with custom modules?
  5. SleepyMode

    Fun activity Modding games

    Garry and his company are now making a sequel (sort of) called S&box in which game modes can also be written in C#, so it might just be a decent time to return :P
  6. SleepyMode

    Python Twitch bot command to randomly select a viewer from the stream

    For a given channel, there is the chatters function: https://github.com/TwitchIO/TwitchIO/blob/master/twitchio/channel.py#L84-L92 You can pick a random one from the results it gives. :)
  7. SleepyMode

    Hello :)

    Pleasure to be here. I started programming probably just around a decade ago since I was interested in making a website for a gameserver I hosted. I didn't even speak English at the time, which made the whole ordeal considerably funnier since I wrote my first website in normal notepad which was...
  8. SleepyMode

    Python Twitch bot command to randomly select a viewer from the stream

    Heyo, which library/framework are you using for the project?
  9. SleepyMode

    Fun activity Modding games

    Probably what started my entire interest in game development was messing around with Half Life 2, particularly the weapons and AI just to see what weird things I could make the engine do. The broken Source engine remains one of my favorites.
  10. SleepyMode

    Hello :)

    Heyo. I found this forum after looking for a more international version of a local forum I was already participating in. Looking forwards to helping around where I can and enjoying the community in this forum. As for a bit about myself, I'm from Israel and have done programming in both...
  11. SleepyMode

    C++ my code keeps returning -1073741819 (0xc0000005), what is the problem?

    The error code you posted denotes an access violation. Debugging should give you a better clue. :)
  12. SleepyMode

    C++ Strcat Function In C++

    Heyo, the problem is in your for loop. You're accessing past the actual length of the string a (by going up to MAX).
Back
Top Bottom