General C++ Programming - January 2022 (Page 4)

How to obtain the sys_days for "today" or "now"
 
Yes its a simple question: how can i get the std::chrono::sys_days corresponding for today or now?? ...
[1 reply] : got it: using namespace std::chrono; const auto today = sys... (by JUANDENT)
how to find total
 
Hello, I want to find a total of the fees but no matter how I try it always gives errors, can you he...
[3 replies] Last: This can be simplified - you don't need fees array. This also shows th... (by seeplus)
How to initialize a tuple with a variadic template parameter?
 
Hi, I have this class: template <typename Target, typename ...RefBy> struct TableDef { static T...
[4 replies] Last: Let me think and test some things and I will get at you with a more co... (by JUANDENT)
by Cplusc
writing the output in vtk format
 
I already installed the vtk library and run the vtk examples. before installation of vtk, I had the ...
[16 replies] Last: Thanks for your help. I was reading about Ensight Gold format and I fo... (by Cplusc)
by frek
List five libraries that you would have liked to be part of the standard C++ library.
 
Hi all, The question is in the subject. Please list five libraries that you would have liked to b...
[8 replies] Last: What parts, especially, should be added ? much of boost funtamental... (by kbw)
how draw an image?
 
ok... these question isn't the first time and i have some problems: why the image isn't drawed? cl...
[10 replies] Last: I messed about for ages to get this working. A pixel by pixel picture... (by oggin)
by PeteDD
... in function parameter list
 
Hi folks, Could someone please explain to me the use of "..." in this funtion's parameter list? I t...
[2 replies] Last: Thank you keskiverto. This is brilliant! Very useful. (by PeteDD)
Single use C++ random engine
 
Normally if I wanted a single use random engine, say for use in std::shuffle on a container and no o...
[8 replies] Last: There's also std::ranges::sample https://en.cppreference.com/w/cpp/alg... (by seeplus)
by mnm71
How to read i2c with interrupt signal?
 
I want to read the i2c information with interrupt, but this code I wrote does not work I can read th...
[no replies]
January 2022 Pages: 1234
  Archived months: [dec2021] [feb2022]

This is an archived page. To post a new message, go to the current page.