Anonymous
like quite a lot
Gianmarco
send code
The code is in Italian, it is a problem?
Gianmarco
i mean variables etc
Anonymous
The code is in Italian, it is a problem?
like can you use gcc to compile?
Anonymous
i mean variables etc
using ascii or unicode?
olli
there are differences between a pointer there and a pointer in C
I agree, but the concept behind a pointer does not change.
Anonymous
I agree, but the concept behind a pointer does not change.
but than you can argue seeing someone point in a movie once helps you code
Anonymous
so we should watch movies as they will help us code
olli
but than you can argue seeing someone point in a movie once helps you code
well, if you consider this a pointer in the sense of programming languages - I don't ¯\_(ツ)_/¯
Anonymous
there is very little difference
olli
i do
cool, then watch some more movies
Anonymous
no
Anonymous
i have work i need to do instead
Ravi
Kya chutiyapa h
olli
if you post here please use monospace (triple ` before and after code) try compiling with -Wall, it should warn you because %f is float and %lf is double
Anonymous
i learned that a year or 2 ago and it was weird
olli
i learned that a year or 2 ago and it was weird
it works when printing not when reading
Anonymous
what do you want it to do?
Manas
Don't give pie there
Manas
Give 3.14
Anonymous
pi is a constant value
Anonymous
he should use pi but he should put const before double
S
Hello
S
Anybody can help me, how to work with MAX30100 Heart rate sensor
S
with working arduino code & wiring diagram
S
sorry for my English mistakes..
Anonymous
Hi
klimi
Hi
klimi
Nothing
Aadarshhh
https://github.com/becomingadarsha/DataStructureandAlgorithms/blob/master/Tree/BinaryTree.c
Aadarshhh
guys can anyone check my code at github and chelp me to figure out what is mistake
Aadarshhh
Baiscally I'm getting error in delete operation of node in Binary Tree otherwise everything is okay
Aspire
Hello, I want to ask u If we dont put break in case statement that error occur called logical or syntax error ??
Aspire
Is that logical error or syntax ?
Pavel
Is that logical error or syntax ?
There is no syntax error if you don't put break. In some cases it can be logical error, it depends on should there be break or not by the desired logic :)
Aspire
Or if we dont put default at the end of switch case what is this error called ??
Aspire
Logical ??
Aspire
Oky
Aspire
I m creating a calculator's program so if i will not put break it would make a loop and my calculation will wrong so it might be logical error . M i right ???
Pavel
Or if we dont put default at the end of switch case what is this error called ??
It's not syntax error again. It can be logical error if you need to do something in default case, but you forgot to write it. Also there can be no logical errors in it, but absence of default case can lead to logical errors in future (e.g. when someone added a new enum value, but forgot to add a case to switch for it).
Aspire
And in same case what we can say to default ??
Aspire
Is that syntax
Aadarshhh
Not compilation error
Aadarshhh
Basically I'm not able to delete node which I want
Pavel
Is that syntax
It's not syntax error. In C++ compiler will not compile your program if there are some syntax errors.
Aspire
Oky i got it pavel
Aspire
Thanku
nibu
please format the codeh
ping me if u want?
Aspire
Actually, I already askd you That what this function does Int q2q(int a) { Int b = a / 1000; return a / 100 - b * 10; } But i did not get any reply.
Aspire
Can you plz clear my doubt about this function
Aspire
Because when i run this and put any input it gives me 2nd no. Of given output like 1234 it will give 2 3456 > 4
Aspire
Which operation I give it to do
Aspire
But how it calculates my given equation
Aspire
Like when i solve 1234 on normal calculator the ans is 0 but acording this prog ans is 2
Aspire
Why ?? how it calculates the equation ??
klimi
Exactly how it is written
Pavel
You give it 3456 a = 3456 / 1000 = 3 result = 3456 / 100 - 3 * 10 = 34 - 30 = 4
Aspire
Okyy
Aspire
So what we called this process
Aspire
Is any name of this solution ?
Pavel
What is it calculating?
3rd digit of a number from the end (if the number is positive)?
Mat
And who called that q2q?
Aspire
Actually i was trying a program and i took this from internet
Mat
Actually i was trying a program and i took this from internet
Don't take this unclear code as an example
Aspire
Oky
Aspire
Thanku bro, but this would be a good way to explore your brain😊👍