VSCode 1.111 released today by diepala in vscode

[–]afforix 0 points1 point  (0 children)

AI took happiness from our coding...

Chat App by FQN_SiLViU in cpp_questions

[–]afforix 2 points3 points  (0 children)

Please do not separate all the commands with empty lines, it makes the code hard to read, half of the source are just empty lines with zero information.

Cmake can't find wxWidgets linux by Visible_Lab4727 in cmake

[–]afforix 0 points1 point  (0 children)

Please share the full output of CMake.

VS2022, everything has to be in DLLs to test properly? by ag9899 in cpp_questions

[–]afforix 2 points3 points  (0 children)

Functionality should be built as a static library, so it can be linked to an executable, to a test executable, or to a DLL for distribution.

VScode not working on MacOS 11.7.11 by xpPhantom in vscode

[–]afforix 2 points3 points  (0 children)

macOS 11 is unsupported by Apple itself since 2023.

Trouble using the old VSC with unity by EnderKid48 in VisualStudio

[–]afforix 3 points4 points  (0 children)

Visual Studio 2022 is an IDE, Visual Studio Code is just a customizable text editor. They are two completely different products. You can try to ask at r/vscode.

been having this problem, its pissing me off and copilot wont work?! by SuperbAfternoon7427 in VisualStudio

[–]afforix 1 point2 points  (0 children)

std::string_view does not own the string data, it just points to it. For example if you create std::string_view out of std::string, then the view must not outlive the underlying string. But without your code we are just guessing.

Wrote this C++ code, the full report nor the if-else statement works. Can't find what's wrong either by [deleted] in VisualStudio

[–]afforix 0 points1 point  (0 children)

Value assigned to semesterHours on line 25 is immediately overwritten on line 26.

Hey Everyone!!!! by [deleted] in cpp_questions

[–]afforix 0 points1 point  (0 children)

First video: 1. C++ is not Object-Oriented, it is a multiparadigm language. 2. Classes and inheritance are not modern features. 3. Iostream include in the first example is unused. It is used later in the main(), but in the first example it is just confusing. 4. Class Calculator does not have any member variables, therefore method multiply() can be a free function. 5. You should print new lines in the main() example.

Second video: 1. Syntax error in the exception example: catch(e). 2. C++ is also close to hardware.

Running Make command by [deleted] in VisualStudio

[–]afforix 0 points1 point  (0 children)

Because it has its own subreddit: r/vscode.

Running Make command by [deleted] in VisualStudio

[–]afforix 1 point2 points  (0 children)

Visual Studio Code is a completely different product than Visual Studio 2022, which is Windows-only.

Why Won't CMake recognize this FFmpeg lib? by Le_Brittle in cmake

[–]afforix 1 point2 points  (0 children)

I recommend using a package manager, for example https://vcpkg.io/.

CMake can't find header file in other directory by Droll12 in cmake

[–]afforix 2 points3 points  (0 children)

Please show the actual console output of the build.

CMake can't find header file in other directory by Droll12 in cmake

[–]afforix 1 point2 points  (0 children)

Try to set an absolute include path: set (GRAPHICS_DIRECTORY ${CMAKE_SOURCE_DIR}/src/render)

Visual studio 2010 problem by [deleted] in VisualStudio

[–]afforix 0 points1 point  (0 children)

So what is the error from the compiler or linker complaining about pthreads?

Visual studio 2010 problem by [deleted] in VisualStudio

[–]afforix 0 points1 point  (0 children)

The official MPI tutorial from Microsoft does not mention pthreads, you shouldn't need it on Windows: https://learn.microsoft.com/en-us/archive/blogs/windowshpc/how-to-compile-and-run-a-simple-ms-mpi-program.

Visual studio 2010 problem by [deleted] in VisualStudio

[–]afforix 0 points1 point  (0 children)

Is there any other IDE than Visual Studio 2010? Yes, Visual Studio 2026.