Qubit
qubit999.bsky.social
Qubit
@qubit999.bsky.social
Also, I wouldn’t use gcc/g++ unless it’s for a small project.
November 29, 2024 at 8:15 PM
Can you try to use Clang with cmake? Can you show the command you use to compile?
November 29, 2024 at 8:12 PM
This could resolve the issue. Have you seen that his file extensions are .cc?
November 29, 2024 at 8:03 PM
Send it to me.
November 29, 2024 at 9:18 AM
This is the reason why I just use VS Code with C++20 and some GUI framework like wxWidgets / GTK on macOS. Xcode sucks. This is the only Apple product I can’t stand. It’s slow and complex to use.
November 28, 2024 at 6:59 AM
I’d suggest to just try it out.
November 28, 2024 at 4:28 AM
Did you install the Typescript extension in VS code?
November 28, 2024 at 4:07 AM
Both good choices. But Copilot is still my favorite.
November 28, 2024 at 4:06 AM
o1-preview is good for advanced reasoning (fixing complex bugs or solving complex problems), GPT-4o is good overall for coding (but no as good as o1) and Claude Sonnet 3.5 is good for explaining/natural language, sometimes it delivers a solution when GPT-4o can’t. I prefer GPT-4o most of the time.
November 28, 2024 at 4:00 AM
but is it safe though? :P
November 25, 2024 at 4:06 AM
cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD 20)
project(Maze)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
add_executable(maze maze.cpp)
November 25, 2024 at 3:20 AM
If you use CMakeLists and you want to use the newest stable C++ features, you need to set this: `set(CMAKE_CXX_STANDARD 20)`. This will make sure when your cpp file compiles that it will recognize C++ 20 standards. You will thank me later. I will send you an example:
November 25, 2024 at 3:20 AM
You only need CMakeLists.txt inside your folder. Then use cmake/clang++. Inside your folder there's supposed to be `.vscode` folder where you can set parameters for building and debugging.
November 25, 2024 at 3:02 AM
Ahh wait, I've seen that I can switch tabs here. lol
November 25, 2024 at 2:52 AM
I'm using three feeds already but idk nothing interesting pops up. maybe at some point later when more users get on the app. it's growing...
November 25, 2024 at 2:48 AM
No, wait, actually I saw one post about some client-side database framework lol
November 25, 2024 at 2:20 AM
I spent an hour on this app and I get zero interesting content displayed. I am looking desperately for tech and developer content but nothing yet (which sucks).
November 25, 2024 at 2:17 AM
dropdown_menu.cpp
November 25, 2024 at 12:45 AM
99% sure it's a wrong graphic card driver. Uninstall the graphic card driver and start the computer normally. Then check which graphic card you have and install the correct driver. If you don't have a graphic card, the driver is included in the correct chipset drivers. you're welcome
November 24, 2024 at 11:45 PM