Quantcast
Channel: User HolyBlackCat - Stack Overflow
Browsing all 1265 articles
Browse latest View live
↧

Comment by HolyBlackCat on g++ / vscode apparently cannot see my src folder?...

Strange, it shouldn't be necessary.

View Article


Comment by HolyBlackCat on How can i download a msys package with all...

@GrayFace The original question implies that OP already has MSYS2 installed, the other answer assumes that too. "packman returns 404" If this is an old MSYS2 installation, you should try reinstalling....

View Article


Comment by HolyBlackCat on How to install CMAKE on MSYS2 or MINGW64? (all...

Did you try reinstalling msys2?

View Article

Comment by HolyBlackCat on weird > thing when compiling for sdl2 in g++

It looks like you forgot to paste the second quote?

View Article

Comment by HolyBlackCat on What's the difference between using an...

Why the C++ tag?

View Article


Comment by HolyBlackCat on pointer size not 8 bytes

This indicates that your compiler is in fact 32-bit, not 64-bit.

View Article

Comment by HolyBlackCat on Polymorphism using template and concepts

Achieve what exactly?

View Article

Comment by HolyBlackCat on Why does the following program printf "thread 1...

You're touching fut and prom after they're destroyed.

View Article


Answer by HolyBlackCat for How can I initialise a constexpr array with values...

The trick is to put the code into an immediately-invoked lambda. Then it doesn't matter if you use std::generate or a plain loop:constexpr std::array<int,100> a = []{ std::array<int,100>...

View Article


Comment by HolyBlackCat on Template parameters deduction (multiple parameters...

But this doesn't make sense, does it? If it deduces to std::map<std::string, mapped_class>, you'll have two strings per entry.

View Article

Comment by HolyBlackCat on Ways of Passing Parameters to the Constructor

Why did you delete and repost the previous question? We already linked you to the solution.

View Article

Comment by HolyBlackCat on Can't resolve undefined reference to box2D C++

Only one possible answer: this is a wrong libbox2d.a. Where did you get?

View Article

Comment by HolyBlackCat on GMP Windows installation "configure: error: could...

1. Why don't you install prebuilt GMP from pacman? 2. That MSYS in the terminal prompt means you're using the wrong environment, read What are MSYS2 environments? How do I pick one?. 3. System-wide...

View Article


Comment by HolyBlackCat on having problem with running multiple files in vs code

"try to change the ${file} with ctrl space there are no option for other folders" Well yeah, ctrl+space isn't always going to magically suggest the right thing. Type the path manually.

View Article

Comment by HolyBlackCat on Downgrading MSYS2 to a specific Mingw / gcc version

@PauloCarvalho I'd recommend asking a new question about it. Maybe we'll find a solution, or at least figure out whose bug it is.

View Article


Comment by HolyBlackCat on Copy constructors and const& versus the ARM ABI

Nevermind, I misread your comment.

View Article

Comment by HolyBlackCat on How to convert mathematical expression to lambda...

Go read about the shunting-yard algorithm. Or if ^ is the only custom operator in there, you might be able to get away with just finding those and replacing them with pow or whatever.

View Article


Comment by HolyBlackCat on MSVC Compiler Template Sizeof...() not working

Looks like a MSVC bug to me, please report.

View Article

Comment by HolyBlackCat on How to install spdlog library?

The CMake file at the link was written by the person to build their own code, and it also references spdlog to link it. Why do you think it's "spdlog's CMake file"?

View Article

Comment by HolyBlackCat on Define array of structure within a structure in C++

struct Course has to be above struct Student if you want to use the former in the latter. Also, what's up with typedef? You don't need it.

View Article
Browsing all 1265 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>