• 7 Posts
  • 9 Comments
Joined 1Y ago
cake
Cake day: Jul 04, 2023

help-circle
rss
How do I handle an input thats more than the char size in c?
cross-posted from: https://lemm.ee/post/4890334 > cross-posted from: https://lemm.ee/post/4890282 let's say I have this code ` #include #include char name[50]; int main(){ fgets(name,50,stdin); name[strcspn(name, "\n")] = '\0'; printf("hi %s", name); } ` and I decide my name is "ewroiugheqripougheqpiurghperiugheqrpiughqerpuigheqrpiugherpiugheqrpiughqerpioghqe4r", my program will throw some unexpected behavior. How would I mitigate this?
fedilink



What are some RPGs for someone who doesnt like most RPGs
Hey everyone! I've been diving into RPGs lately and wanted to share my thoughts and seek recommendations from fellow gamers. I've found myself resonating with Scott the Woz's viewpoint on random encounters and grinding, but I do make an exception when the combat system is truly exceptional, like in the case of Undertale.Personally, I'm not particularly fond of random encounters and the need to grind excessively. I find it difficult to immerse myself in games that heavily rely on these mechanics. However, I'm open to exploring RPGs that strike a balance between engaging combat and a captivating narrative. While the combat system doesn't necessarily have to be mind-blowing, it does need to offer some strategic depth.I've tried Pokémon games in the past, but they didn't quite grab my attention. I'd prefer for the game to be available on steam or the switch. In terms of graphics I prefer pixel-art.That being said, I'm eager to hear your recommendations for pixelated RPGs that you think might suit my preferences. Whether it's a lesser-known gem or a popular title, I'm open to any suggestions. Thanks in advance for your input, and I can't wait to delve into some new RPG adventures!
fedilink








I’m glad the authority on security has come down without any information to tell me that I cannot have any plugins on my file explorer



I would expect you to know that since I’ve made a post, that I’ve already exhausted these options.


I assure that I have researched this for a long time and that I know how to protect this open port.


How do I get my apartment/isp (telcom) to let me open a port on my router
I reside in an apartment complex where the internet services are not controlled by the management, but instead, they are managed by our ISP, Telcom. Unfortunately, Telcom restricts certain functionalities for users, such as not helping with the opening of ports or providing the admin username/password for my router. Additionally, my router doesn't appear on the network tab of file explorer. Given this situation, what options do I have to address these limitations to port forward?
fedilink