C++ - Reddit
Открыть в 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
Больше228
Подписчики
Нет данных24 часа
-17 дней
-130 день
Архив постов
228
Improved OpenMP Support for C++ in Visual Studio | C++ Team Blog
https://devblogs.microsoft.com/cppblog/improved-openmp-support-for-cpp-in-visual-studio/
https://redd.it/lgb9rb
@r_cpp
228
Visual Studio Code C++ Extension: Cross-Compilation IntelliSense Configurations | C++ Team Blog
https://devblogs.microsoft.com/cppblog/visual-studio-code-c-extension-cross-compilation-intellisense-configurations/
https://redd.it/lgais3
@r_cpp
228
Khronos Releases SYCL 2020 For C++ Heterogeneous Parallel Programming
https://www.phoronix.com/scan.php?page=news_item&px=Khronos-SYCL-2020-Released
https://redd.it/lg9sat
@r_cpp
228
Understand C++ in depth.
Hey guys, I'm a 21 year old computer engineer student. My coursework thus far was a mix of computer science, electrical engineering and computer hardware mix, but I mostly was inspired by software development and I am actively pursuing internships in the field.
I had some interviews proceed to the final stage, but unfortunately no offer for now and I think it's because of the way I code. I can come up with the solution pretty quickly but I don't think I have the most optimal code and I make rookie mistakes cause while in my free time I always relied on stack overflow to get simple things like initialization of objects, etc. Also I have been working on python for the last year and my c++ is kinda rusty, so I really want to dive deep and understand the underlying structures.
I feel that I am really experienced with coding fundamentals and data structures, but I am lost in terms of how c++ works in the background, and I feel that I should improve this to give myself better opportunities but to also write better code.
So my question is, do you recommend any text book that goes super in depth? I have the C++ Programming Language by Stroustrup and I think to start by reading it in it's entirety. Is this the proper way to go and is it any good ?
https://redd.it/lg4m09
@r_cpp
228
Can someone please explain to me like im a baby how to use GLFW in VS Code
Hello i'm new to c++ and cannot figure out for the life of me how to include glfw in my program.
I have the following include in my main.cpp file
\#include ".\\includes\\glew\\include\\GL\\glew.h"#include ".\\includes\\glfw\\include\\GLFW\\glfw3.h"
but a simple
GLFWwindow* window = glfwCreateWindow(640, 480, "My Title", NULL, NULL);
results in
error LNK2019: unresolved external symbol __imp__glfwCreateWindow referenced in function
Im using msvc to compile
https://redd.it/lg84g9
@r_cpp
228
Constructor Member Initializer List In C++
https://hackthedeveloper.com/constructor-member-initializer-list-cpp/
https://redd.it/lg5lsp
@r_cpp
228
Open source system latency monitor - looking for code review & contributors!
Hello r/cpp. Like the title says, I've created an open source system latency monitor(similar to [Nvidia's Reflex\](https://www.nvidia.com/en-us/geforce/news/reflex-low-latency-platform/#nvidia-reflex-latency-analyzer) or [LDAT\](https://www.nvidia.com/en-us/geforce/news/nvidia-reviewer-toolkit/)) for Windows written in C++, and I was wondering if anyone here could offer a code review. I realize that the repo is very large, so just 1 file, function, or line at a time would greatly appreciated.
[https://github.com/Skewjo/SysLat\\\_Software\](https://github.com/Skewjo/SysLat\_Software)
If you'd like to know what a "system latency device" is check out the website: https://syslat.com
https://redd.it/lg4rch
@r_cpp
228
Traits usages
Hello Guys,
Is anyone help me to understand about traits in C++. I have few doubts.
1.What the use of traits.
2. how does it help in template
3. How can we write our own traits.
Thanks you in Advance!
https://redd.it/lg38iz
@r_cpp
228
Overload 161 · February 2021
https://accu.org/journals/overload/overload161
https://redd.it/lg2qge
@r_cpp
228
Self Made Zip - File archiver and archive extractor programs based on Huffman’s lossless compression algorithm
https://github.com/e-hengirmen/Huffman-Coding
https://redd.it/lg0uz1
@r_cpp
228
VSCode config for .dll development ?
Hello everyone,
I've got a project to make where I'm pricing options contracts. Unfortunately I'm programming on a Mac, so I've chosen to use VSCode so far. It's great, and it forces me to learn about the compiler I'm using (clang).
The problem I'm having is configuring VSCode so that I can build a .dll and link it to my main project.
I'm still very new to compilers in C++ (up until now I've programmed in a virtual desktop with Visual Studio, so no need to learn anything).
Any tips are greatly appreciated!
Regards,
https://redd.it/lfyzdk
@r_cpp
228
Qt and CMake: The Past, the Present and the Future
https://www.qt.io/blog/qt-and-cmake-the-past-the-present-and-the-future
https://redd.it/lfygur
@r_cpp
228
Open Sourcecode
Could you reccomend any opensource Projects to read for beginners? Or any Code, cause i heard it should be a really good practise. Ty
https://redd.it/lfpyck
@r_cpp
228
Looking for Intel Compiler ICC 2019 Update 3
I need Intel Compiler 19.0.3.206 (ICC 2019 Update 3) which should be delivered with Intel Parallel Studio XE 2019.
Unfortunately, the Intel Parallel Studio XE has been rebranded to the new Intel oneAPI Toolkit since December 2020 delivered with ICC 2021.1 Beta 20201112.
Does anyone know where I can find the old ICC?
https://redd.it/lfoawk
@r_cpp
228
I'm looking for the DEFINITIVE DUMMY pointers tutorial
Hello there folks!
I'm no programming newbie, but I've been struggling with *properly and fully* understanding pointers in this programming language (or in general, I guess). I know what a pointer is, what it does - partially - but I'm looking for some sort of a definitive tutorial that could make all these things clear.
I just want to learn when to use *, when to use **, when to use & etc and, most importantly - why. I feel like I need to fully understand this.
Does something like this exist?
https://redd.it/lfju09
@r_cpp
228
finally! a possibly portable way to convert types (demangled name) to strings without macros
see: https://godbolt.org/z/4bMhPP
although this doesn't sound good
> If this object represents a position in a body of a function, returns an implementation-defined null-terminated byte string corresponding to the name of the function.
https://redd.it/lfi6jt
@r_cpp
228
My finished calculator
I'm sorry for posting the help questions. But the guys who comment helped me out a lot. Thank you for the pointers. This is my finished calc.
https://pastebin.com/7pQjKitp
https://redd.it/lfcscn
@r_cpp
228
Modern c++ on Linux
I have a question for the Linux c++ developers here. The compilers that come packaged with the distros tend to be pretty ancient. How do you develop for current standards like c++20? Do you guys use docker containers or build your own compiler and standard library? Linux is my main OS but all my development right now is on windows and I am interested in branching out!
https://redd.it/lfgj9u
@r_cpp
228
Little OpenMP Runtime: a small OpenMP runtime implementation
https://github.com/parallel-runtimes/lomp
https://redd.it/lfehqr
@r_cpp
228
C++ Lambda Story in Print
https://www.cppstories.com/2021/lambda-story-print/
https://redd.it/lfcf8i
@r_cpp
