Skip to main content
Filter by
Sorted by
Tagged with
16 votes
2 answers
855 views

I'm wondering why std::string can't be constexpr if it's a stack variable: #include <string> #include <iostream> #include <cstring> constexpr std::string str15 {"...
Zebrafish's user avatar
  • 16.5k
3 votes
1 answer
119 views

I am currently attempting to use the thrust::remove function on a thrust::device_vector of structs in my main function as shown bellow: #include <iostream> #include <thrust/device_vector.h>...
AowynB's user avatar
  • 33
4 votes
1 answer
114 views

I am trying to declare an extension property for the int type in C# 14: extension(int) { public int MyProperty => 13; } I am getting this compilation error: 'MyProperty': cannot declare ...
Theodor Zoulias's user avatar
-7 votes
0 answers
123 views

I'm trying to build a three piece Streaming Project in which I need to build an API that is already working, a Java App for Android that I haven't even started and this .NET MAUI using C# that is ...
Pedro's user avatar
  • 1
0 votes
1 answer
78 views

I have never used JavaFX before and I am trying to get it running in VS Code using the basic Maven project build tools and it creates the project just fine. I then go in and update all the version in ...
Mike Allen's user avatar
0 votes
0 answers
44 views

I get the following error when compiling my C++17 project that uses the Eigen 5.0.1 library; I didn't see this error when using Eigen 3.4.0 on the same machine: <path>/eigen-5.0.1/Eigen/src/Core/...
josh_eime's user avatar
  • 196
Best practices
2 votes
1 replies
24 views

I want to create an object of type whole by merging objects types Omit<whole,keyof A> and A. Is there a way to do this without using a type assertion(as)? function merge<Whole extends object, ...
Sean Forrest's user avatar
-3 votes
1 answer
35 views

In my Unity Project when my game runs my world item prefab initiates sprites that don't show on my inventory display only the canvas that can't be seen on screen and it doesn't spawn any collectable ...
Duane Cooper's user avatar
0 votes
0 answers
43 views

I’m trying to compile a Lazarus project that uses UniDAC, but Lazarus keeps failing with: unidac10.pas(11,3) Error: Cannot find UniProvider used by unidac10. Check the search path of package unidac10,...
AlbLivX's user avatar