# Beginners - March 2023

 new window form a Win32 API in the program i wanne open a new window whit a push of a button. ------------------------------------------------... Mar 29, 2023 at 9:26am UTC [4 replies] Last: i add 2 int WINAPI and a callback. and the problem is sloft. (by nvthielen)
 by jNc how to return 2d array? Know how to return 1d array, can not find solution for 2d array Cant use vector Mar 29, 2023 at 8:47am UTC [12 replies] Last: #include #include template class... (by seeplus)
 Mathematical help with midi pitchbend :) Hey everyone, For an application in Juce framework I'm looking to calculate pitch from a notenumber... Mar 28, 2023 at 8:57pm UTC [2 replies] Last: careful, those sounds may be radioactive :) (is bad pun on pitchblend... (by jonnin)
 how to pass one element of an array only Hello everybody, I know how to pass a complete multidimension array to a function, but how can I ... Mar 28, 2023 at 6:56am UTC [5 replies] Last: @allenmaki, you have been given code for 2-d arrays (not that the func... (by lastchance)
 by ajiten73 Unable to increase the precision in computing square root using bisection method. Tried to code bisection method to compute square root of 2, till the difference between two consecut... Mar 27, 2023 at 9:15pm UTC [10 replies] Last: How many digits would you like? #include #include
 by gabzz29 user invalid input hey guys im trying to make the user to loop only with the option of y/n only if ever the user presse... Mar 26, 2023 at 9:29am UTC [2 replies] Last: now it works thank you (by gabzz29)
 by Ch1156 SFML Help (Math calculation help) (1,2) So im working with SFML and im just messing around with it and learning, and im trying to figure out... Mar 25, 2023 at 12:06am UTC [28 replies] Last: Im trying to just prevent the player from colliding with the square, I... (by Ch1156)
 by seeker62 ; missing before cout The following code gives me error "expected ';' before 'cout'. if (select == 'A' || select ... Mar 22, 2023 at 12:58pm UTC [7 replies] Last: If you don't already know of it, have a look at: https://www.learncpp.... (by seeplus)
 by gabzz29 c++ void there seem have a problem at line line 28,64,66 #include using namespace std; ... Mar 22, 2023 at 10:32am UTC [4 replies] Last: Without knowing the exercise requirements, consider something like: ... (by seeplus)
 by jNc using infinite loop with epoch chrono method to get timestamp, cpu heats up to 90 degrees Code below: auto miliseconds = duration_cast(system_clock::now().time_since_epoch()).count(); boo... Mar 21, 2023 at 10:23pm UTC [1 reply] : Let the CPU sleep for a while on each iteration. https://en.cpprefere... (by Peter87)
 by ajiten73 Library source code of: sqrt.c Request some inputs to kickstart into understanding, as what is implied by the code as at: https://... Mar 20, 2023 at 5:41pm UTC [2 replies] Last: hmm. Wonder whats in that table. I'd have said shift right half the ... (by jonnin)
 by Ch1156 C++ Questions I'm going to put all my questions about C++ here in this thread from now on so i have a handy and ea... Mar 18, 2023 at 10:43am UTC [10 replies] Last: Thank you for the responses, ive decided to use std:: for now. (by Ch1156)
 inheritance confusion Hi guys, assume I have a parent class which is supposed to be abstract in the sense that any runn... Mar 10, 2023 at 10:49pm UTC [18 replies] Last: Besides, what you have shown could essentially be written: #include <... (by keskiverto)
 expression I studied in reference book that Any arrangement of variables, constants, and operators that specifi... Mar 10, 2023 at 5:52pm UTC [13 replies] Last: cout is also the expression? how? In addition to what @seeplus ment... (by mbozzi)
 brackets So I'm wondering why i can't use normal bracket when initializing a constructor in my header file? ... Mar 10, 2023 at 12:47pm UTC [8 replies] Last: class Sample { int x {42}; int y(7); // error }; int z(3); ... (by seeplus)
 by Bengbers Accessing socket that is created in another Class My project uses this structure: BasexClient.h class BasexClient { public: BasexClient (const ... Mar 9, 2023 at 3:55pm UTC [18 replies] Last: Good luck! :) (by seeplus)
 passing 2d array as argument Hello. I am trying to do what seem to be simple task- I have an 2d array and i pass it as argument... Mar 8, 2023 at 9:34am UTC [3 replies] Last: > I wonder what is the difference now? Dunno, I wasn't watching you ed... (by salem c)
 Initialize array of arrays Hey, I don't know how to copy values from an array into an array of arrays, what am i doing wrong? ... Mar 6, 2023 at 6:03pm UTC [15 replies] Last: Tx again! (by wimvandenborre)
 new/delete exception This example was intended to throw an exception by allocating more memory than is available, but ins... Mar 6, 2023 at 11:24am UTC [7 replies] Last: > Do you guys really assign a pointer to NULL & back to NULL after del... (by JLBorges)
 by Ch1156 Is sizeof useful in modern C++? Im just re reading through some material and im wondering, is the sizeof operator useful in modern C... Mar 5, 2023 at 12:23pm UTC [3 replies] Last: It is required in some situations; for instance for implementing a cus... (by JLBorges)
March 2023 Pages: 12
Archived months: [feb2023] [apr2023]

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