BinaryByter
You might have better luck with some macros
Anonymous
Data handling is eating my all my brain
Anonymous
Data handling is eating my all my brain
It is so so terrible concept always give incorrect ouput even useless errors any one tried
Anonymous
Any one tried Data file handling
Anonymous
Why here all are silent
BinaryByter
We are busy writing compilers on our phones in outdated languages
Dima
let me call ScrewYou, Maxi and M
Dima
shitpost of the three
Dima
🙂
Anonymous
We are busy writing compilers on our phones in outdated languages
On phones how can I do that admin if I have less space on phone
BinaryByter
Oh and we are figuring out which Insult best fits mr 'bullshitter' dijkstra
I_Interface
Guys, should i add .vs folder into .gitignore ? Learning git, sry if it's a stupid question)
BinaryByter
Guys, should i add .vs folder into .gitignore ? Learning git, sry if it's a stupid question)
the .vs folder can be helpful to others, i usually keep it. if you wanna reduce bloat though, gitignore it!
BinaryByter
shitpost of the three
Shitpost trio by an organist and two flutists
BinaryByter
well, they flute on dicks
Anonymous
Admin?????
I have asked something
BinaryByter
You exige answers now?
Dima
what the..
BinaryByter
you cant do programming on a phone 🙃
Wim
Not?
BinaryByter
impossible!!!!!!!!!!
BinaryByter
😂
Wim
Then what the heck did I do??
BinaryByter
shhhhhh.... dont break my illusions
BinaryByter
Pleas help
BinaryByter
GCC is giving error in line 3
Vitaliy ◀️TriΔng3l▶️
how else would you compile in prison?
BinaryByter
BinaryByter
anybody kindly submit help?
BinaryByter
how else would you compile in prison?
You ask the hacker who was arrested for hacking your mom
Mihail
anybody kindly submit help?
Yea the solution is not using your phone to do any sort of coding
BinaryByter
😂😂😂😂😂😂
Francisco
I have asked something
If you read the very first f*****g rule, you'll understand many things
Dark
Error 401
🐰🐾 سمیه
anyone knows how to eliminate these errors?
olli
anyone knows how to eliminate these errors?
Don't declare a function called atoi and substr
Anonymous
How can i write a c program to print sum and average population of three cities without declaring any other variable except population of three cities I searched in Google but didn't understand.
🐰🐾 سمیه
Don't declare a function called atoi and substr
I copied the code, why the original programmer has done that? and for atof I got the same error and by including stdlib library eliminate that. why?
Anonymous
Print the sum divided by 3?
I declare population as int coz no of people cant be in float In average i need output in decimal also
olli
I copied the code, why the original programmer has done that? and for atof I got the same error and by including stdlib library eliminate that. why?
» why the original programmer has done that? Ask him, I am not the author » for atof I got the same error and by including stdlib library eliminate that Because C does not support function overloading. Once you include stdlib there is a declaration for atof. Declaring it in your source file will emit errors
Mihail
I declare population as int coz no of people cant be in float In average i need output in decimal also
You can cast it to either a double or an int depending on if you want it to be an integer
BinaryByter
you'd need to cast the divisor to float
Anonymous
you'd need to cast the divisor to float
Ya but without introducing any other variable
BinaryByter
(city1 + city2 + city3)/static_cast<float>(3)
Anonymous
anyone knows how to eliminate these errors?
atoi takes a character pointer
Anonymous
(city1 + city2 + city3)/static_cast<float>(3)
I am noob Plz help me in simple words 😅😅😅
Anonymous
just copy my code
Okey Will try
Anonymous
😂
BinaryByter
😂
Anonymous
just copy my code
But our teacher haven't taught these things till now 😅😅😅 Any other way?
🐰🐾 سمیه
🐰🐾 سمیه
Show the code
here it is
BinaryByter
i feel dirty even writing this
BinaryByter
c style casts
Anonymous
Wong ans 😅😅
Anonymous
%d gives you an output of int
Anonymous
Gives correct ans Is it okey?
Anonymous
Yes
Anonymous
Input was 6, 7, 6
Anonymous
Gives correct ans Is it okey?
Try to make it better by making it interactive, better coding
Anonymous
Coding on phone sucks;;;;;;!!!
Anonymous
Anonymous
c style casts
Type casting is always weird in c
olli
just divide by 3.0f ?
ShyBlogger
Pls what app is this