Telegramy
Articles
About
« Rev
@programminginc
955
Fwd »
S.
Shivam
Ye Batana plz
Sorry for captions
Shivam
There's nothing given...🤷♂
S.
better do homework by yourself
MᏫᎻᎯᎷᎷᎬᎠ
Ye Batana plz
double x = (a*a - b*b + 4*a*b*sin(y));
Shivam
better do homework by yourself
It's from a question paper
MᏫᎻᎯᎷᎷᎬᎠ
double x = (a*a - b*b + 4*a*b*sin(y));
C statements are always Nasty
Shivam
C statements are always Nasty
So can something be done?
MᏫᎻᎯᎷᎷᎬᎠ
So can something be done?
Learn C++
Shivam
Ahh Tomorrow is my exam..
Shivam
LoL
Shivam
On C
MᏫᎻᎯᎷᎷᎬᎠ
Good Luck
Shivam
Good Luck
Thankyou
MᏫᎻᎯᎷᎷᎬᎠ
I hope you pass
Shivam
I hope you pass
😂👍👍
MᏫᎻᎯᎷᎷᎬᎠ
XD
Shivam
x = a*a - b*b + 4*a*b*sin(y);
Should I skip this?
MᏫᎻᎯᎷᎷᎬᎠ
x = a*a - b*b + 4*a*b*sin(y);
It's true
MᏫᎻᎯᎷᎷᎬᎠ
It's true
Actually No
Shivam
So how do I solve it?
MᏫᎻᎯᎷᎷᎬᎠ
The question is very tricky to beginners
MᏫᎻᎯᎷᎷᎬᎠ
when you argue with your lecturer He will say You forgot to write double
Shivam
Hmm
Shivam
when you argue with your lecturer He will say You forgot to write double
What's double?
Shivam
Is it like float into and etc...?
MᏫᎻᎯᎷᎷᎬᎠ
What's double?
A a data type for representing a floating-point literals
Shivam
*int
MᏫᎻᎯᎷᎷᎬᎠ
Like 9.33 34.283
MᏫᎻᎯᎷᎷᎬᎠ
float is the same as double But float is represented as 32 bit And double is 64 bit
Shivam
Yeah I remember now
Shivam
Thanx
Shivam
But still
MᏫᎻᎯᎷᎷᎬᎠ
Thanx
You are welcome👍
MᏫᎻᎯᎷᎷᎬᎠ
But still
What
Shivam
The solution?
MᏫᎻᎯᎷᎷᎬᎠ
double x = (a*a - b*b + 4*a*b*sin(y));
.
Shivam
What about sin ?
Shivam
It's not a var
MᏫᎻᎯᎷᎷᎬᎠ
If I were you I would ask my colleagues
MᏫᎻᎯᎷᎷᎬᎠ
What about sin ?
It's a standard pre-defined function
Shivam
math.h?
MᏫᎻᎯᎷᎷᎬᎠ
math.h?
Or cmath
Shivam
Ow
Shivam
Okay thanks😊
Shivam
Really appreciate your help
MᏫᎻᎯᎷᎷᎬᎠ
You are welcome👍
.
MᏫᎻᎯᎷᎷᎬᎠ
Lol
Shivam
😂
MᏫᎻᎯᎷᎷᎬᎠ
.
Reusability XD
Shivam
Or goto statement😂
S.
when you argue with your lecturer He will say You forgot to write double
To be pedantic, what is a "statement" in C?
MᏫᎻᎯᎷᎷᎬᎠ
To be pedantic, what is a "statement" in C?
It can described as A Unit Of Execution
S.
It can described as A Unit Of Execution
then, double wouldn't be necessary
klimi
Welcome
SHUBHAM
Thanks😄
Roxifλsz 🇱🇹
/warn executable files
Aadarshhh
depen on your purpose, want to get down understand the basic, or just use it,
Just for my college stuffs like drawing basic shapes
klimi
/warn executable files
Ok ok
Anonymous
hello everyone
Anonymous
I have a problem with the regex.
Anonymous
Hey
Anonymous
can you help
Anonymous
Depends on your problem
Anonymous
http://ndrim.com/test.php
Anonymous
I'm getting a printout here. I need a code that will result in the 344.
Anonymous
This question is not C or C++ related.
Anonymous
yes. this question is regex
klimi
hm
klimi
I'm getting a printout here. I need a code that will result in the 344.
that looks like some file
klimi
it will be hard to parse it for 344
Anonymous
Yes. I'm afraid so. :(
MᏫᎻᎯᎷᎷᎬᎠ
Does really Event handling logic is just a infinity loop in a separate thread?
Anonymous
Does really Event handling logic is just a infinity loop in a separate thread?
A event loop is common, yeah
MᏫᎻᎯᎷᎷᎬᎠ
A event loop is common, yeah
Is there other way? Cuz I find loops are really expensive
Anonymous
Depends on what you want to do. Polling requires a loop (but most time polling is overkill), but you also could try to use interrupts for example
S.
Is there other way? Cuz I find loops are really expensive
busy waiting = expensive, interrupt driven = cheap
Anonymous
https://gist.github.com/Liam0205/78132b55266e6a80648333984370c842 use raw C lang to draw shapes like this, for computer graphics enthusiasts.
can you give me the link for .inc
Liam
can you give me the link for .inc
in the gist.
Anonymous
yes, i see it.
« Rev
@programminginc
955
Fwd »