Anonymous
done, Im not sure if it is working properly
Anonymous
I compiled it and run it
Anonymous
but theres no error
Anonymous
also theres no showing on my screen
Anonymous
Dima
Could you post the whole code?
Anonymous
sure
Anonymous
https://pastebin.com/5nPqhw1b
Dima
off word: you should call delete if using new keyword in cxx
Anonymous
Dima
you are allocating it on a heap so you need to clear it later.
you can create it on a stack, just simply do swimmingPool swimmingPool1(1,2,3);
Dima
and this looks strange
`1 double swimmingPool::WaterRequiredToFill(double initialVolume)
2 {
3     return (initialVolume = 7.5*length*width*depth);
4 }`
Anonymous
Hello World
I'm trying to make 3x3 tiles puzzle maker (random) and solver.
Someone can help?
Not need to be graphics.
Anonymous
Francisco
Anonymous
Anonymous
when I run it on dev c++ it shows no error, but when I run it on cengage mindtap it shows this
Dima
it’s not a solution, just a tip
Dima
devcxx
Dima
Anonymous
Anonymous
War Room Admin
/get findprojects
Artöm
#gcc9
professor
how would you call a unit name for a module where you list directories , extensions by file , and other similator methods?
professor
hey guys , how can I filter extensions over 400 extensions and avoid if else for` FindFirstFile` ?
Anonymous
Anyone?
Pavel
7777 members
Anonymous
Anonymous
Yours is kinda easy
Anonymous
7777 members
How to define n as the size of Vector?
Anonymous
Anonymous
1 < happy[i] <1000
I want n elements in all test cases..
Pavel
your_vector.resize(n);
Anonymous
Anonymous
Pavel
Anonymous
Size of vector for every test case to be entered
Anonymous
Pavel
Pavel
Well, that depends on what you need, but if I understand you correct, then yes :)
Anonymous
Pavel
Also, instead of doing this loop, you could use iota
https://en.cppreference.com/w/cpp/algorithm/iota
Pavel
For filling a vector with ascending numbers
Ayush
Ayush
Can someone help me with the question
Anonymous
Anonymous
Anonymous
Whats the meaning of this error
Anonymous
Mat
Mat
Undefined reference to ___, what can it be?
Anonymous
Undefined reference to cbrt
Anonymous
Cbrt is a inbuilt function
Anonymous
To find cuberoot
Mat
Anonymous
?
Anonymous
What should I add now
Mat
Read how to properly include mah.h
Farhan
What actually cbrt return
Farhan
Math.h problem
Anonymous
Ok
Anonymous
Anonymous
Example n[j] = 8
Cube root of 8 is 2
Anonymous
Res = 2
...
Inbuilt where?
https://en.cppreference.com/w/cpp/numeric/math/cbrt
Mat
...
Dw, I just searched cause I didn't believe there's a function for that
Mat
Dima
Anonymous
For this we should link gcc cuberoot. C -o cuberoot -lm
Anonymous
But no output
Luigi
Is off topic allowed?
Luigi
Its not c or c++