Relative Content

Tag Archive for c++c

c++ codes aren’t working even after downloading mingw and it keeps telling me to edit it in jason

c++ codes are not working after installing mingw and it keep asking me to edit it in launch.Jason and i don’t know which settings to use and which code to add I have tried rewriting codes in launch jason but they didn’t work. please help me to solve this problem, I’ve been searching for it, but I can’t find it anywhere.
I tried changing some lines from launch Jason which included converting some lines and still didn’t work, i am tired of it now.

C++ Enum with External Linkage Not Causing Linkage Conflict

I’m learning about external linkage in C++ and came across a point in cppreference stating that enum has external linkage. However, I encountered an issue where no linkage conflict occurs when defining the same enum class in different files within the same namespace.

Waveshare PhotoPainter

I bought myself a Waveshare Photpainter and it is really satisfying! But one thing annoys me a little bit: The sequence of the pictures is always the same. I wish it would always choose a random picture from the SDCard. (I want to be every morning surprized by which picture is shown) Unfortunately, I have no clue how to modify that Firmware, and even ChatGPT couldn’t help me…

Why is template class value not getting printed?

When I try string input, it prints out a random character.
When I try int input, the program keeps running as if stuck in an infinite loop.
The questions is from https://www.geeksforgeeks.org/problems/c-template/0
But when I tried the solution in my local as well as other online compilers, it doesn’t work.