Anonymous
Is this possible
Anonymous
Nameful
Anonymous
i heard functional programming, but i don't know what it is
Anonymous
Okay thanks , can you explain how this code will behave?
Nameful
in turn, the compiler refrains from doing optimisations that may optimise away the variable and its uses
Anonymous
Thanks new byte for your explanation.
Anonymous
One more question, It's based on Embedded C perspective
Anonymous
what does actually happen when we declare a variable as static volatile unsigned char TMR0.
Anonymous
This is declared inside a header file. Why the combination of static and volatile keyword.
Nameful
Anonymous
It's actually in the header file for PIC microcontroller, here the TMR0 is a timer zero register inside microcontroller. when we include this header file we can use this keyword.
Anonymous
static volatile unsigned char TMR0 @ 0x01;
static volatile unsigned char PCL @ 0x02;
Anonymous
this is the real complete line at that file. Actually @ operator will write the value we given to the variable TMR0 inside the address 0x01 and same for PCL.
Nameful
the static keyword means that the variable can only be "seen" inside the file it is declared
Anonymous
But why these variables inside header file is declared as static volatile ...
Decoder_3d
guys
Decoder_3d
i got one problem
Decoder_3d
i got project of Student record system
Decoder_3d
and it executes in right way
Decoder_3d
but
Decoder_3d
it exports database file
Decoder_3d
if i want to check that dat file how can i open
Decoder_3d
it
Nameful
Decoder_3d
suitable software for that
Dima
Just check what it writes and read it that way.
Nameful
Decoder_3d
i had opened it in notepad
Nameful
or anywhere else in your code
Decoder_3d
but it gets sysmbols
Nameful
except for that header and its implementations
Dima
Find what it writes to this dat
Decoder_3d
ohk
Decoder_3d
Someone open this file
Dima
No
Dima
Can you read or what?
Dima
See what it writes
Decoder_3d
yeah
Decoder_3d
its not binary even
Mat
You can't open a dat file with a file editor
Decoder_3d
then
Decoder_3d
which software
Mat
Find out how the file was written 🤷♂
Dima
What the fuck, can you simply view what your program writes to this file?
Decoder_3d
okay
Decoder_3d
ok sorry
Mihail
@kaletaa such "reminders" aren't allowed, especially without permission
Mihail
not to mention it had nothing to do with C/C++
Decoder_3d
ios:: binary
Elnee
!notes
Elnee
@roxifas how about to add this to notes? Maybe it's already added I'm sorry then. Too many to check.
https://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list/388282#388282
Dede
#cbook
Elnee
lool
Elnee
So, I'm sorry 😅
Elnee
Oh, no, I'm not sorry. It's different links :D
void
void
Oh
void
Not this.. 🤔
Elnee
These links are almost equal but contain different questions, strange...
Roxifλsz 🇱🇹
Elnee
Elnee
!get freeprogrammingbooks
Elnee
This is it?
Roxifλsz 🇱🇹
^
Roxifλsz 🇱🇹
Very similar imo
Elnee
This question contains link to what I proposed. So who wants to find, will find :D
Zorrito
I would like to use my raspberry pi (DietPi) as a midi player. How do I send a signal to the audio port in the form of one number every 1/48000 seconds?
Anonymous
anyon can help me with this?
here is the code for that specific error
https://pastebin.com/QTashKMx
professor
is there a way to implement DGA into c++ in a easy way?
Francisco
Anonymous
yup, I saw it, sorry my eyes are very tired didnt noticed that I doubled that
Anonymous
when I removed it, I encountered this one