User profile: coder777

User info
User name:coder777
History
Joined:
Number of posts:7993
Latest posts:

create thread with function taking vector argument fails
In order to pass a reference to a thread you need to use std::ref(...):[code]#include <iostream> #in...

How to fix error and improve the code?
It is actually recommended to use a vector over an dynamic array. Wenn accessing the data it works v...

How to fix error and improve the code?
[quote]Output errors:[/quote]These errors are pretty obvious. What is it that you don't understand? ...

How to send Date and time to Arduino via pyserial
What are you trying to do? Sending the date/time when to switch the light on? Or getting the date/ti...

Help with homework, professor won't respond..
The global variables are unnecessary and potential dangerous. In your case [code]highINDEX[/code] is...