S.
I sensed he would potentially want a workaround for redefinition
itsmanjeet
BinaryByter
Unsigned char
char has no sign
BinaryByter
Kinda
you can interpret char as having a sign
BinaryByter
thats right
BinaryByter
but... well...
BinaryByter
ehh, its kinda useless
BinaryByter
+ the standard does NOT define signed chars
itsmanjeet
Whats its means
BinaryByter
this is a pointer to a function
BinaryByter
exactly!
itsmanjeet
double (*cosine)(double,double) if 2 input ??
BinaryByter
yep
BinaryByter
correct
itsmanjeet
Thanks
BinaryByter
double (*cosine)(void)
BinaryByter
if you have no input parameters
itsmanjeet
Ohk
Arnold
why would you warn people in a telegram group that is almost never active
Roxifλsz 🇱🇹
why would you warn people in a telegram group that is almost never active
We'd rather have an inactive group, than an active group with shitty content 24/7
S.
Oh this is fun to do when debugging clinl :D
Sounds interesting. Will definitely have a try!
Arnold
"we"
Roxifλsz 🇱🇹
"we"
Ok then, I would rather have that, and I'm at the top of the admin hierarchy here
Roxifλsz 🇱🇹
Case closed
Arnold
😎
klimi
Roxifλsz 🇱🇹
Roxifλsz 🇱🇹
Cult of what?
C++, probably, not too sure
Roxifλsz 🇱🇹
:^)
Embedded
How can I skip pressing enter key in the output screen in c programing For example:- Consider a calculator program 2+3+5*6-7*8 now when i press '=' key then i have to press *Enter* key to get the result But i want to skip pressing enter key like when I press = I should get the answer It was just an example Can anyone help me with that please
Talula
Do we have sacrifies?
Talula
Do we have to slaughter someone for this?
Talula
Not so much fun when you're doing CLI programming.
Embedded
For this you can't use scanf or cin... you'll have to read keypress
Any website link to make it more easier?? It didn't helped much Or if you can elaborate
Talula
What you have to do is read each key press... I think it's done using char c; for (i=0; i<n; i++){ c = getchar (); fflushstdin (); if (c == '\n'){ //do something } }
Talula
change c == '\n' to c == '='
Talula
char c; for (i=0; i<n; i++){ c = getchar (); fflushstdin (); if (c == '='){ //do something } }
Talula
It's messy if you ask me, what happens if you press ESC and what happens if you press backspace...
Talula
Not advicable.
Anonymous
hi
Anonymous
Nitesh
Hi Rose, thanks for the welcome.
Anonymous
Anonymous
most of the google projects do not even use most of that crap
Parra
how are you able to judge like that?
Parra
I have worked in crossplatform projects and I think it's awesome
Parra
if you see only the demangling is just awesome
Parra
they have implemented a demangler for many compilers
Parra
and stack trace for many operative systems
Parra
I don't think it's crap at all
Parra
you can use printf if you want, but that's not crap
Anonymous
if you see only the demangling is just awesome
the demangling i done before it is less than 50 lines of code
Parra
the demangling i done before it is less than 50 lines of code
yeah, for the same number of architectues, not only using gcc extensions?
Parra
xd
Anonymous
they have implemented a demangler for many compilers
and how many are using more than one compiler for a project
Parra
me, for example
Anonymous
because stdlib HAS A DEMANGLER
Walter
Any Ubuntu c programmers here?
Anonymous
me, for example
how many are you using?
Parra
the last time i read about it.. it wasn't portable
Parra
maybe it is now
Anonymous
4
in one project?
Parra
yes
Anonymous
which 4?
Parra
gcc clang msvc and mingw
Anonymous
gcc clang msvc and mingw
all in the exact same executable?
Parra
what do you mean?