
please wait
by PhysicsIsFun
Vector of struct vs. two 1D vectors (1,2,3)
|
Greetings, I received the prototype of a simulation code from a colleague for a bunch of particles in two dimensions (x and y coordinates), and I went and impr... |
Jan 29, 2024 at 11:58pm
[44 replies] Last: Thanks mbozzi for the interesting reference and your prototyped implem... (by PhysicsIsFun)
|
by PhysicsIsFun
OpenMP to compute PI
|
Greetings, I am working my way into OpenMP. The following code is supposed to compute pi. It works fine for one thread, but in case of multiple threads the re... |
Jan 22, 2024 at 12:59am
[9 replies] Last: Thanks mbozzi, I understand! (by PhysicsIsFun)
|
by jNc
improve logger function
|
void writeToLog(){ string fileName = "/home/j/s/textFiles/logMPU.txt"; string line = ""; int lines = 0; ifstream file(fileName.c_str()); string d_txtFil... |
Jan 8, 2024 at 9:50am
[7 replies] Last: Much depends, of course, on the usage of the logger and it's required ... (by seeplus)
|
by sihaqqi
Cstring program not executing
|
Hello, Can anyone please guide what is wrong with my program. copied from a book I recently purchased and tried in code blocks. The terminal opens and I tyoe bu... |
Jan 5, 2024 at 3:28pm
[10 replies] Last: I know more than a few GeeksForGeeks C++ code examples are big steamin... (by deleted account xyzzy)
|
by nvthielen
getchar and print c
|
hallo, a starters qwestion i wand to get char from the terminal window, but get a gcc error compiling it. ......................................... test... |
Jan 3, 2024 at 4:21pm
[3 replies] Last: i wand to get char from the terminal window Note that whilst getcha... (by seeplus)
|