BinaryByter
you need to set the breakpoints before calling run
🐰🐾 سمیه
lemme try again
BinaryByter
btw: did you think of compiling with -g?
🐰🐾 سمیه
btw: did you think of compiling with -g?
nope, I'm just a little familiar with this one.
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
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?
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
🐰🐾 سمیه
stepi
what it suppose to mean?😶
BinaryByter
just write it in the gdb shell
🐰🐾 سمیه
ok
🐰🐾 سمیه
result of that.
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
and the next is about CMake. I'm confused. Should i really specify it as executable?
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>
Silvestr
so .h files should be executable too>
you should add all code tht you have I mean files for executable
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
Mihail
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)
i've never used clion, but if the only requirment is "being able to code with comfort" and you don't rely on any clion-specific features just use vscode
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
Probably he was talking to Rose
Daniel
Maybe try this newer release if you aren't already on it
i used 2019 beta - this problem was there, then i installed older version - everything is same, with much older(which i use) it's the same. i will try now this release, maybe everything will be ok
Anonymous
O do u know what does that mean? "Number P is of the form A!/B!"
Yes I given problem input is A and B integers then you have to do is find A!/B! Which is equal to P
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