
please wait
by nvthielen
scrollbar api32
|
hallo c puls plus (ers) the scrollbar wand moves the value. do i need to set a int ? HWND Scrollbar = CreateWindow(TEXT("scrollbar"), NULL, WS_CHILD | ... |
Dec 31, 2022 at 8:27am
[2 replies] Last: he newbieg, i used the example form the link but the SCROLLBAR stil... (by nvthielen)
|
by seeplus
Function consolidation
|
I'm severely suffering from the 'morning after the night before' syndrome and have even trouble using a keyboard! I knew it was a mistake having it during the w... |
Dec 22, 2022 at 6:16pm
[7 replies] Last: Two overloads: #include <iostream> #include <string> #include <strin... (by JLBorges)
|
by Cambalinho
can i create my own array type?
|
i need create a especific array type: Matrix4X4. but is like: float ProjectionMatrix ; can i create a type, using typedef or something, for what i need? so... |
Dec 19, 2022 at 8:27am
[4 replies] Last: The 'typedef' and 'using' do not create "new type"; they define an al... (by keskiverto)
|
by JUANDENT
can we use vectors in compile time programming?
|
Hi, We can program with complex numbers during compile time like this: constexpr complex conc{ 7.88 }; constexpr complex s{ 5.91 }; constexpr auto t ... |
Dec 17, 2022 at 1:34pm
[6 replies] Last: > no way to construct a std::vector at compile time and make it surviv... (by JLBorges)
|
by Mobo01
How to determine the greatest sum of the smallest and second smallest items from all available subarrays
|
Find the largest sum of the lowest and second smallest items in an array from all available subarrays. In more technical terms, if we write all (nC2) subarrays ... |
Dec 15, 2022 at 9:09pm
[5 replies] Last: Huh, craftier than the usual POS bots. Thanks for the heads up. (by Ganado)
|
by JUANDENT
why can an xvalue be an glvalue or a rvalue in C++17?
|
an xvalue is an expiring rvalue at the right side of an assignment. in which circumstance is an xvalue a glvalue? can we place an xvalue on the left side of an ... |
Dec 15, 2022 at 4:59pm
[10 replies] Last: There seems to be a difference between the built-in assignment operat... (by mbozzi)
|
by algmaster
Ulam conjecture (1,2)
|
Hello, I have a problem. I have to find a starting number (under 10^18) based on the length of the sequence (it is a collatz problem where from the starting num... |
Dec 15, 2022 at 10:21am
[21 replies] Last: It's a frustrating problem: it's still a little arbitrary how many can... (by lastchance)
|
Initialize const with sum of array |
Hi, I want to initialize a constant (TOTAL) as follows: const int N = 2; const int MY_ARR {3,4}; const int TOTAL = std::accumulate(MY_ARR, MY_ARR + N, 0... |
Dec 15, 2022 at 7:39am
[6 replies] Last: Ganado What you can't do, however, is then use the result of TOTAL... (by Alejandro Antonio)
|
by Cambalinho
how use multithread inside a class? (1,2,3)
|
i have the 'image' class.inside the class i have these function: void DrawLine3D(Position3D Origin, Position3D Destination, COLORREF LineColor=RGB(255,255,255)... |
Dec 12, 2022 at 3:18pm
[52 replies] Last: i just need calculate the perspective on Start and the End line posit... (by coder777)
|
by Cplusc
reading txt file
|
I am trying to read a txt file line by line but I don't understand why my code can not open the txt file. mesh.h class Mesh { public: size_t nLattice_; Ve... |
Dec 11, 2022 at 3:17pm
[13 replies] Last: [quote=Cplusc] visual studio 2022 Visual Studio is notorious for havi... (by deleted account xyzzy)
|
by Cplusc
shared pointer
|
I have a class as follows class Node:protected Model { public: int sizeofneighbour; VecDbl_t distributions_; VecDbl_t newDistributions_; std::shared_ptr... |
Dec 10, 2022 at 4:06am
[2 replies] Last: @Peter87 Thanks for your answer. (by Cplusc)
|
by Hawlong
How to call a function inside a struct
|
Hello all , i found this code online But I don't understand it. Please explain this struct inside the class (I am a beginner) Artifacts.h class Artifacts {... |
Dec 9, 2022 at 6:47pm
[10 replies] Last: Thanks so much seeplus, MikeyBoy, kigar64551 I understand. Thank you... (by Hawlong)
|
by newbieg
Linking OnClick from data <xml>
|
I have created a small xml parser/encoder library that I call smollXML. Both the server program (the one generating the xml data) and the client program must ... |
Dec 8, 2022 at 9:33pm
[7 replies] Last: [quote=seeplus]Note that #pragma weak isn't supported by VS IIRC "#p... (by deleted account xyzzy)
|
by Cyclone
Colour glitch in code.
|
Hi, I am getting some inconsistency in colour values. I am getting a strange glitch in my code. I have unsigned char red = { 255, 53, 59, 154, 0, 25... |
Dec 8, 2022 at 8:23pm
[15 replies] Last: https://www.colorhexa.com/color-names https://www.color-meanings.com/l... (by salem c)
|
by LukeProducts
get Elements of Recursion step-wise
|
Hello all, i cant figute out how to make my code work the way i want it to. make() gets me all the combination with a string of length k using a specific datas... |
Dec 7, 2022 at 5:16pm
[6 replies] Last: Thank you anyways. I worked out a even faster way to achieve so, and p... (by LukeProducts)
|
by helios
Hacking member accessibility
|
I'm working on a second version of my serializer. I want to be able to de/serialize some classes that I don't have control over. For example, class Foo{ ... |
Dec 5, 2022 at 12:49pm
[12 replies] Last: I mean, that's just sensible IMO. That rule made no sense. (by helios)
|
by Cyclone
Combining 2 bits to get a single integer value
|
Hi, I am trying to combine two binary numbers. For example if I have a binary value of 1 and a binary value of 1. I want an integer value of 2. I was told to ... |
Dec 5, 2022 at 7:52am
[11 replies] Last: Thanks Peter. I am gradually learning. Got it figured out somewhat. (by Cyclone)
|
by k80jugu
Confused on how to continue the rest of the code
|
I need to add a code that allows the user to type in any number from 1 to 10 and it will print how many times that number is in the array. I don't know how to g... |
Dec 4, 2022 at 7:58pm
[4 replies] Last: Also, if you do need/want the array, you can print the random numbers ... (by seeplus)
|