es
Feedback
C++ - Reddit

C++ - Reddit

Ir al canal en Telegram

Stay up-to-date with everything C++! Content directly fetched from the subreddit just for you. Join our group for discussions : @programminginc Powered by : @r_channels

Mostrar más
227
Suscriptores
-124 horas
-27 días
-130 días
Archivo de publicaciones
I was doing some leetcode problems and had a question about arrays? I was doing some medium and easy problems for c++. How come the same problems in java that use an array, use a vector in c++ even though c++ has a arrays? https://redd.it/mrq3kb @r_cpp

what projects can I make for a portfolio Hi guys, I've graduated from university long ago and I've being working a SDET/QAT. I want to switch over to software dev. thing is I don't know what to make in order to impress employers. what general programs and tools can I make to convince managers to hire me https://redd.it/mro6px @r_cpp

Projects in C++ Hello everyone. I have spent 2 years programming in C++, but most of it was competitive programming, and nothing in dev. I want to start development in C++ and learn some related frameworks. Even make a project by myself or contribute to open source. Please suggest some small but elegant project ideas and the frameworks that might be useful in implementing that. I am looking for something in the domain of desktop application development or OS development. You may also suggest some open source projects which are suitable for beginners. https://redd.it/mrdpt5 @r_cpp

Making VSCode + ccls/clangd work with TDM-GCC After several wasted hours, I hope that somebody here can help me with a task I thought would be simple. I made a custom compilation environment for a client, using VSCode + vscode-cpptools \+ TDM-GCC. The goal is to have an editor with intellisense-like capabilities (go to definition, error highlighting, etc.). That was as easy as setting the path of TDM's g++.exe in C_Cpp.default.compilerPath. Now turns out there's a problem with the license of vscode-cpptools, so I need to find a replacement. I found ccls and clangd, but couldn't make them to work. I tried using compile_commands.json, but all of the variants I tried didn't work for me. Can you please point me to the right direction? All I need is for VSCode to be able to work with TDM's g++. Thanks. https://redd.it/mrfmg8 @r_cpp

llc - a standalone project containing LLVM containers https://github.com/BenjaminNavarro/llc https://redd.it/mrhx5y @r_cpp

Defining a function inside of its class's header file vs. inside main cpp file Why would you need to define a function inside main with :: instead of inside the header file itself? https://redd.it/mrfc6v @r_cpp

Can you guys help please and thank you. Anytime I run my code..it keep on repeating and duplicating. Did I did anything wrong in my code https://redd.it/mr2z3w @r_cpp

Does anyone have any updates on the status of the C++ Networking TS? Will we finally get it in the next C++ version? I tried my best to find news around it but failed. Any help, links and videos would be very much appreciated. https://redd.it/mr0f56 @r_cpp

Taskflow v3.1 released! A New Tasking Model to Program SYCL https://taskflow.github.io/taskflow/release-3-1-0.html https://redd.it/mqzwv9 @r_cpp

ISO C++ nomenclature: Voted in vs. voted out (?) I often hear people saying that "voting out" something during a ISO C++ meeting means the exact opposite. And some from the committee nevertheless use "voting in" to say that a feature was accepted into the standard. Can someone elaborate on this? https://redd.it/mqwu1j @r_cpp

C++Now 2021 Online: Tony van Eerd will give keynote talk about SOLID https://cppnow.org/announcements/2021/04/Van.Eerd-keynote/ https://redd.it/mqu0hw @r_cpp

New 3.1.5 release of wxWidgets, free and open source library for creating portable native GUI applications, adding wxWebRequest (HTTPS and HTTP/2 support) and about a thousand and a half other changes, is now available. http://wxwidgets.org/news/2021/04/wxwidgets-3.1.5-released/ https://redd.it/mqrvns @r_cpp

What’s the differences and/or changes between Catch and Catch2? I’ve noticed that my work dev box has catch as a system library, but it’s just catch, not catch2, and most of the code seems to be from 2010/2011. The headers indicate Copyright from Two Blue Cubes Ltd, which also shows up in Catch2 source for some files. Does anyone know the backstory behind, what I’m assuming, is a catch -> catch2 progression? https://redd.it/mq56ub @r_cpp

[nodiscard] should have been [discardable] For those who don't know what [nodiscard] attribute is, suppose you have a function that returns type T T func(). If you declare it as [[nodiscard]]T func (), the compiler will entire that whenever this function is called, it's return value is never ignored. So, for example, you cannot have the following statement in your program
...
func ();
...
My point is, shouldn't it be the general rule that compiler checks if return values are ignored for all functions that return something and ignore only those which are marked [discardable]. https://redd.it/mqidhh @r_cpp