2
u/markocic Jan 20 '22
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.
1
u/Seven_Raj Jan 20 '22
It's the first time I've heard of this. I'll note it down. Btw the issue got resolved because of a stupid fix. Thanks for this cool bit of info though.
3
1
1
u/PictureMeInNYC Jan 21 '22
I had that same issue out of nowhere and no matter what could not solve it... So i quit using codelite and started just using the command prompt. I probably should get another ide but at this point.. Meh. I debug by stepping through myself with a cout but havent built anything too crazy that i need an ide to debug. Its all meh... I really should start using ide again tho
1
u/Seven_Raj Jan 21 '22
I'm looking to learn about Make and Makefile as a dude suggested me in the thread. For now it's running smoothly. Just don't want it blow up in my face again.
1
u/NiA20300203 Jan 21 '22
Try using VS code instead :) I learned C++ as a beginner and VS code has a lot of extensions that make things a lot easier to under .
1
-12
3
u/jddddddddddd Jan 20 '22
What’s on line 4 of your make file?