Javier
Well, I can use a pair_t though
many
Is there a handy way to implement overloading operator in C?
many
I know "obj1==obj2" is just a syntax sugar of "isEqual(type obj1, type obj1)"
many
But still I would like to find another way to do it
KAoTI
Guys what is this: for(auto int1 : ints){ }
KAoTI
What is doing
Aimal
😂 😂
Aimal
KAoTI
100%
Javier
os << "{"; for(auto it = begin(); it != end() - 1; ++it) os << *it << ", "; os << back(); os << "}"; return os; I'm getting this error: error: no match for ‘operator-’ (operand types are ‘std::_Rb_tree_const_iterator<CyA::cadena_t>’ and ‘int’)
Mahbøøb
Hi dears What is the library of When we want work on graphics in Turbo C++
Mahbøøb
?
Mihail
What do they return?
Javier
auto begin() { return conjunto_.begin(); }; auto end() { return conjunto_.end(); }; auto back() { return *conjunto_.end(); } "conjunto_" is a std:set<string> attribute
Mihail
auto begin() { return conjunto_.begin(); }; auto end() { return conjunto_.end(); }; auto back() { return *conjunto_.end(); } "conjunto_" is a std:set<string> attribute
And the .begin method returns what? Because your compilers thinks it's something from which it can't subtract an int
Mihail
Like if you change that auto in the begin() definition to int what is the error message?
Javier
conjunto_.begin() returns begin iterator from std::set
Javier
Like if you change that auto in the begin() definition to int what is the error message?
error: cannot convert ‘std::set<CyA::cadena_t>::iterator {aka std::_Rb_tree_const_iterator<CyA::cadena_t>}’ to ‘int’ in return
Mihail
Well so you can't interfere with that iterator as an int
Mihail
So that - 1 from the iterator won't work
Javier
And how can I iterate to the penultimate position of the container?
Mihail
And how can I iterate to the penultimate position of the container?
Not sure, but maybe this http://www.cplusplus.com/reference/iterator/distance/ ?
Javier
Ok, I used --end() and I'm not getting compiler error
Mihail
Ok, I used --end() and I'm not getting compiler error
Yeah but aren't you trying to skip the last character of that set of strings?
klimi
cuz indian
Roxifλsz 🇱🇹
Hi dears What is the library of When we want work on graphics in Turbo C++
The rules clearly say that you won't be helped if you use Turbo C++
Mahbøøb
Why turbo cpp?
Coz we work in uni in Turbo
Mahbøøb
Mahbøøb
What is the problem. ?
Mat
What is the problem. ?
Have you read the previous message?
Mahbøøb
Yea
Mahbøøb
Have you read the previous message?
I work in some graphic projects I change some settings. And than my program not excute.
Anonymous
Thank u...
Roxifλsz 🇱🇹
/warn we told you to stop with the turbo C++, it's not welcome here
klimi
oh
Anonymous
Try coding it codeblocks or codelite
Anonymous
Can someone suggest me ebook on C
Anonymous
Notes will also work
Anonymous
Ohsorry didn't knew about that
Mihail
Can someone suggest me ebook on C
"send book" *Gets warned for violating rules* *Edits to "suggest book"* Wow
Anonymous
"send book" *Gets warned for violating rules* *Edits to "suggest book"* Wow
there is a diff in fact , suggest is kinda just recommending and giving a book name , but send books is kinda mean to send the pdf version of the book probably the e-version whatever type it is , and that could open the doors for sending injected files or illegal copies of a specific book most likely
klimi
Hello old friend
Anonymous
Anonymous
But book suggestion would be appreciated instead of that security warning
klimi
This is fine
Anonymous
Free books😅😅
Roxifλsz 🇱🇹
But book suggestion would be appreciated instead of that security warning
Fuck off, you wouldn't be warned if you actually read the rules after joining
Anonymous
Not paid , I'm broke af
klimi
Anonymous
Could be
interesting , then you have to watch your language with others to not get more of those warnings probably
Anonymous
Waste of time
Dima
Waste of time
You’d get more of saved time if you would read the rules
klimi
Waste of time
To je honest... If you read our info, you would know what books... And where to find them
Anonymous
Waste of time
then you maybe should get out and stop wasting your time ?
Anonymous
You’d get more of saved time if you would read the rules
Do you know about word " apologize"
klimi
K, enough
BinaryByter
Do you know about word " apologize"
/warn contest admin decision, ot
Anonymous
Not detailed as books do
BinaryByter
shhh
BinaryByter
stop the offtopic
klimi
shhh
Good night :3
BinaryByter
good night klimi
BinaryByter
but thats ot
klimi
but thats ot
You said shhh
Anonymous
That's not piracy, its a freely and readily available PDF book
olli
Not detailed as books do
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf