Anonymous
Well, I know what it means but I don't understand what it has to do with C
Maybe its executables can only run at a clock of 4.77mhz
Daniele°
turbo c is retarded crap
Turbo C is fantastic software, very obsolete.
Dima
Turbo C is fantastic software, very obsolete.
My father was using this in 80s
Daniele°
My father was using this in 80s
In 80 is best software
Anonymous
Anonymous
How to convert it into equivalent C statement ?
Surge.rs
Think of order of operations and what variables you need. Then follow those steps you thought like when solving by hand
Anonymous
So should I have to input the variables ?
Anonymous
Or just directly I can solve this by using printf function
Surge.rs
That's up for you to decide
Anonymous
That's up for you to decide
This question is in my book, so what should I write in the answer of this question
Surge.rs
Figure it out, I told you the steps to take to solve it
Surge.rs
((x+3)*(x*x*x)/(y-4)*(y+5))
Did you try and compile it? Run it through some tests?
Anonymous
Surge.rs
Shows the same
But does it work
Anonymous
Yes
Surge.rs
Well there ya go
Aman Verma
I just clicked on old message and it got sent
Aman Verma
Sorry new to telegram
klimi
its okay
Anonymous
Guys I get same output everytime I run a rand() function
Anonymous
Var=rand()%3+1; ... I need random number from 1,2 and 3
Z0OM
Use
Z0OM
srand(time(NULL)) ;
Z0OM
Then use rand()
Z0OM
If you are using rand() inside a loop. Then write srand(time(NULL)); before the loop
SjD
oh and download mingw
Anonymous
You use C++?
Nope .. c
C.
I'm not understanding what "turbo" means
Makes your pc gets more air input via a fan so it has more oxygen used on combustion reactions.
数学の恋人
Is your os Windows?
Yep he has explained in his previous message
Ибраги́м
https://medium.com/trueface-ai/trueface-tutorials-how-to-cross-compile-popular-computer-vision-c-frameworks-for-raspberry-pi-4-afcbe2dcc302
Anonymous
hi everybody🤝 I need your help. so I am going to take part in ACM ICPC. but I have not information anymore about it. Can anyone help me ?
Leo
where do you come from?
Anonymous
Leo
are you a college student?
Anonymous
university
Anonymous
amity university
Leo
Then you can ask seniors in your school or your teacher.
Anonymous
our teachers dony know about that😅
Anonymous
some teacher may be know
Leo
https://icpc.baylor.edu/
Anonymous
it is so difficult to find
Reica
@Vas0sky doesn't want to use Linux low-key
Anonymous
Leo
u need to participate in a regional contest
Leo
yup
Leo
Let me 🔎 Google that for you: 🔎 icpc
Anonymous
To participate in ICPC you have to find 2 other people that will be in your team Then you need to pass qualification stage that happens in September (it's maybe optional — depends on the region, idk) Then you go to 1/4 stage and if you good enough, you go to 1/2, then Finals To prepare, use codeforces.com
Anonymous
And it's offtopic enough, so the topic is closed
Anonymous
If you want to continue, go to the #ot chat
yoav
the two following lines are the same? int* ptr = (int*) malloc(sizeof(int)*4); int* ptr = (int*) calloc(4, sizeof(int)); (except calloc set all the memory allocated to zero) ?
Khaleed
Hyy
yoav
Do you use C++?
for c++ is new and delete rigth?
Anonymous
no c
You don't need (int*) then
Md. Farzan
Hi Guys, I have learnt float can print 6 decimal place and double 15. But When I am trying to print 15 decimal places with double it displays only 6 places. How can i solve this?
Md. Farzan
Code and output
Dima
Code and output
read the rules and post normal screenshots instead ¯\_(ツ)_/¯
qwert
Hi Guys, I have learnt float can print 6 decimal place and double 15. But When I am trying to print 15 decimal places with double it displays only 6 places. How can i solve this?
https://stackoverflow.com/questions/16839658/printf-width-specifier-to-maintain-precision-of-floating-point-value/19897395
Daniele°
You don't need (int*) then
For "safe" programming
Anonymous
In C you can implicitly cast void* to any pointer
Anonymous
In C++ you cannot