BinaryByter
you need to set the breakpoints before calling run
🐰🐾 سمیه
lemme try again
BinaryByter
btw: did you think of compiling with -g?
BinaryByter
show me your command for compiling
🐰🐾 سمیه
gcc -g -o extern extern.c
BinaryByter
yes, you did compile with -g
🐰🐾 سمیه
it means I've compiled with gdb?
klimi
klimi
but you compiled it with debug option
klimi
afaik
🐰🐾 سمیه
so -g is debugger different from gdb, correct?
BinaryByter
no
klimi
no
maxi explain pls... im dont have the knowledge
🐰🐾 سمیه
🐰🐾 سمیه
in the example he once runs the program, then sets the break point, and then runs it again. but for me after I first run it, it does not jump to the newline with gdb.
Daniel
Hello. Does that mean that it's in subnamespace?
BinaryByter
i told you what do to above
BinaryByter
just set the breakpoint first
🐰🐾 سمیه
I did it and it started debugging, but I think this way there is no given data to the program to process. So how could I debug it?
Mihail
BinaryByter
Daniel
Daniel
i've found an answer to my question. it's "yes')
Mihail
yes
So it's either ADL or it's telling you where it is
Mihail
🐰🐾 سمیه
stepi
what it suppose to mean?😶
BinaryByter
just write it in the gdb shell
🐰🐾 سمیه
ok
🐰🐾 سمیه
BinaryByter
more stepi
BinaryByter
or just step
BinaryByter
use step, not stepi
🐰🐾 سمیه
how many exactly?
BinaryByter
As many as needed
🐰🐾 سمیه
but there is no given data. what am I doing now?
🐰🐾 سمیه
🐰🐾 سمیه
it says no such file or directory.
Daniel
Daniel
and the next is about CMake. I'm confused. Should i really specify it as executable?
Silvestr
Silvestr
you want to create binary file that os can execute
Anonymous
What are your views about article 13 passed by EU??
Daniel
so .h files should be executable too>
Daniel
did somebody used Clion on arch\deepin? maybe u faced a problem that code complete doesn't see class members like here.
Daniel
i written to technical support almost two weeks ago. yesterday i sent them logfile and i don't know when i'll get an answer. but i want to code with comfort)
Anonymous
How to divide any number MAXIMUM times with it's factor so it becomes 1
And I want print that MAXIMUM TIMES THT I HAVE DIVIDE THAT number????
Dima
What
Dima
Is it assignment?
Anonymous
Nope
Daniel
u need a cycle which works while number != 1;
then if number divides by 2 - divide it by 2, if by 3 - 3. and count cycle iterations.
Anonymous
Should I share problem statement??
Daniel
yes if u think that suggested solution is not what you need
Anonymous
give you a number P. When you divide this number with one of its factor you get 1 chocolate. Number is then replace with the quotient. You stop when the number becomes 1.
Number P is of the form A!/B!
Find the maximum possible chocolates that you can get.
 
INPUT
First line contains the integer T, denoting number of test cases.
Next T line contains 2 integers, A and B.
 
OUTPUT
Output single integer, maximum possible chocolates.
 
CONSTRAINTS
1<=T<=106
1<=B<=A<=5*106
SAMPLE INPUT
 
2 3 1 6 3
SAMPLE OUTPUT
 
2 5
Daniel
i like jetBrains products very much and they are familiar to me. i don't wan't to stop using them because of that temporarily unsolved bug
Mihail
well then maybe someone here will know a fix
Daniel
is everything ok with CMakeLists, yes?
Mihail
looks ok to me
Daniel
O do u know what does that mean? "Number P is of the form A!/B!"
Daniel
Batman
Can anyone tell me how to create a library in c++?
Mihail
@rxdye
Mihail
New CLion release (2019.1) bringing Embedded Development, Language Injections, ClangFormat integration, Memory View, Custom Themes and more...
https://blog.jetbrains.com/clion/2019/03/clion-2019-1-embedded-dev-clangformat-memory-view/
https://redd.it/b6llmw
@r_cpp
Mihail
Maybe try this newer release if you aren't already on it
user
Ok
Mihail
Ok
I was talking to the one who I tagged in the message above the forward btw
Mat
Mat
Probably he was talking to Rose
Daniel
aaa, i've understood
Anonymous
Ok
Daniel
i thought that factor means divider)
Anonymous
Ok
Daniel
sorry, can't help. understanding tasks in english is hard for me
Anonymous
Ok
Shivang
What are storage class can we use for function
Daniel
we can use static