alessandro
is there a group which talk about programing avr C?
alessandro
Jose
Jose
alessandro
ah
Jose
The registers are inside the MCU, in the chips capable of driving LCD signals (technically boring stuff, continue, please)
alessandro
k
alessandro
but when it starts it appears only white block, and not letter
alessandro
is it software problem or you think it's hardware problem?
Jose
Do you use any testing device with "firmware that works"?
alessandro
i pushed by internet the code...
alessandro
i know what it do, i have read the datasheet
Gabriel
vcpkg is really useful on windows os?
Gabriel
I don't know exactly how to manager these packages using tools like that, is some annoying, but it makes sense if you look to other os
klimi
тнє ρяσgяαммєя 👨💻
hi friends i have an exercise in C can someone help me ?
Nahum
тнє ρяσgяαммєя 👨💻
show us
sending images is prohibited, I send you in private?
тнє ρяσgяαммєя 👨💻
exercise2 :
Write a program mappesecret.c which:
-computes the size of file.txt as efficiently as possible (without using read).
-projects the entire file to mmap so that any modifications are
passed on
-writes a secret code in a random place of this file (using its projection).
This secret code begins with the two characters Ox, followed by a random number (greater than 8 and less than 16) randomly drawn whole digits, then ends in x0
key function:rand
Exercise 3:
Go back to the program from the previous question. Once the code is created and written to file.txt. the program is duplicated N times, where N is passed as an argument. The child processes must find the secret code and display it.
Exercise 4:
We now separate the writing and the search for the secret code. Write a program hideout.c which writes the secret code (still using map), and a program spy.c which searches for the secret code
CAN YOU HELP ME ?
klimi
тнє ρяσgяαммєя 👨💻
j. c o l e
Who can help with discrete math quiz? 50 questions for 1 hour. I will pay 30 dollars
Amrith
in Visual studio (not code) , how to watch for the return value in my case a recursive function
𝖳𝗁𝖾 𝖠𝗅𝗀𝗈𝗋𝗂𝗍𝗁𝗆 𝖭𝗂𝗇𝗃𝖺 ⚪♛
https://github.com/ian-dubaideveloper/ChatGpt-VsCode-Extension
Anonymous
Hi! I need help🙃 How do I build programs with a graphical interface in Dev C/C++ with C++ like a windows forms with buttons, among others?
Anonymous
Hello everyone how can I change a size of texture as render target in SDL library without stretching the real size lie when I create some texture
For instance :
....
SDL_Texture * texture=SDL_CreateTexture(render,SDL_PIXELFORMATRGBA8888,SDL_TEXTUREACESS_TARGET,100,20);
...
I want to update this size at runtime even if I create another texture it's still not work
, please help me!! Sorry for my English i m natural french
Osama
What is the problem with this code to print the same pattern in c++?
Osama
/*
5                  4 blanks + 1 "5"
4 4               3 blanks + 2 "4"s
3 3 3            2 blanks + 3 "3"s
2 2 2 2          1 blanks + 4 "2"s
1 1 1 1 1       0 blanks + 5 "1"s
*/
Amrith
Anonymous
Chat Boss
Osama S sent a code, it has been re-uploaded as a file
Anonymous
Chat Boss
Kriss Ny sent a code, it has been re-uploaded as a file
Chat Boss
Kriss Ny sent a code, it has been re-uploaded as a file
Elmer
Puspam
Elmer
Understand , i think you ok, so i now move to a cross-platform toolkit
John
Anonymous
Hi! I try to read 6 values but I can’t
#include <iostream>
#include <vector>
using std::vector;
int main(){
vector<int> value(6);
for(int j=0; j<value.size();j++){
std::cin>>value.push_back(j);
}
return 0;
}
Anonymous
The program return this: “no match operator>>” (operand types are “std::basic_istream<char>” and void)
Anonymous
Help😔
klimi
Help😔
what do you think that the std::cin will do?
Chat Boss
Earlyman sent a huge message, it has been re-uploaded as a file
Hi! I try to read 6 values  but I can’t
#include <iostream>
#include <vector>
using std::vector;
int main(){
     vector<int> ..
Chat Boss
Help😔
Earlyman sent a huge message, it has been re-uploaded as a file
Try this
#include <iostream>
#include <vector>
using std::vector;
int main(){
vector<int> value(6);
for(int j=0; j<..
Pavel
@ROWATT you don't need to init your vector with size if you do push_back later. Just have it as
vector<int> value;
Anonymous
klimi
and what error are you getting?
Anonymous
and what error are you getting?
The program return this: “no match operator>>” (operand types are “std::basic_istream<char>” and void)
klimi
klimi
Anonymous
I believe just reaching the std namespace🤔🤔🤔
Anonymous
I already tried “cin>>”
Anonymous
it must be my IDE that has a problem, because in sublime-text with Gcc it runs
klimi
you are compiling c++ with gcc?
Anonymous
*this moment
Anonymous
Anonymous
so u maybe need to create some tmp variable same type, as type of ur vector array (I mean int in this case), do cin>>tmp and after that call value.push_back(tmp); and same 6 times (iterations inside ur for loop)
Anonymous
Subhajit
Logic tell me please
*
* * *
* * * * *
Subhajit
Pattern logic behind this
klimi
Subhajit
for(j=1;j<=i;j+=2)
I write this but it says wrong
Subhajit
Neither if(j%2!=0)
It's not working too
klimi
seems fine, you must have problem somewhere else
klimi
Subhajit
2n -1
I have two for loops.
Where do i write?
klimi
you need to print 2n+1 the star... it's quite obvious isn't it?
Subhajit
Got it
Subhajit
I had to write i+=2
Subhajit
But i was writing j+=2
Ivan
Greetings collegues,
I’m about to release opensource framework for embeded systems (with focus on drones autopilots at the beginning).
And plan it to structure project as nested submodules:
- project example (quadrotor drone)
— top level lib for STM32 based hardware (OS+BSP+Drivers)
—— library C-ATOM for orchestrating functions
——— middleware pub sub library ESWB
Motivation for that is to keep repo as clean as possible. But still think it may create an issue with navigation and understanding for the contributors.
What do you think about the this kind of project structuring?