Carlos
Its cpp with some c fashioned functions
Box of
You used goto D:
BinaryByter
You used goto D:
here it's fine since there are no stacks that I need to clear
Box of
No no no
Box of
Never use goto
BinaryByter
not "never use goto"
BinaryByter
thats an idiotic rule
BinaryByter
here, goto is quick to use
BinaryByter
obviously, in a bigger project i'd not do it
BinaryByter
but here, it is completely fine
Box of
You could also do else <sentence> and break after that
Rafi Faseeh
wat?
i mean its different
BinaryByter
i mean its different
no, this is a totally working solution
Rafi Faseeh
no, this is a totally working solution
u r right but i must do that
BinaryByter
well I did it
BinaryByter
but tell em that you did it
Box of
WE did it
Box of
*USSR ANTHEM*
Carlos
sorry this not that
He just want us to help with his exercise on the way he does it
BinaryByter
well you see
Carlos
he's just learning
BinaryByter
you cannot just loop through every case and set one variable
BinaryByter
since you reset the variable everytime
Carlos
don't push him so far
BinaryByter
you have to check after every loop iteration
Carlos
Mihail
*push*
*falls down the stairs*
olli
Why not std::find ?
BinaryByter
OH yea
Rafi Faseeh
i m still waitting
BinaryByter
* You are not entitled to an answer, getting angry about not answered questions will get you warned.
Rafi Faseeh
😁
Carlos
since you reset the variable everytime
this is the key to your problem! if strcmp is "at least once" equal to zero then the name is in the array. That at least once implies that if any iteration of the for loop strcmp is zero you must change some value that after the for loop indicates that one or more names in the array is equal to the name you were searching for
klimi
i m still waitting
I'm wasting
BinaryByter
That's how powerful c++ is:
BinaryByter
BinaryByter
A website made in c++
Mihail
nice
BinaryByter
Yep
klimi
Congratulations
Mihail
btw do you think it'll be hard to reverse that process?
klimi
BinaryByter
What?
Mihail
like make a webcpp document from an html file
klimi
I think if I was writing my scraper in c++ it would take much longer
BinaryByter
klimi
Takes url
klimi
Extracts the a href files
klimi
Downloads them
BinaryByter
Oh, should be doable with something like libpoco
Dima
> ported razor lib from c#
BinaryByter
Libboost zhould do it aswell
klimi
Less ported razor
klimi
Hm
Dima
> WRITES OWN TYPESCRIPT INLINE INTERPRETER FOR CXX
BinaryByter
XDD
klimi
:(
Dima
like assembly: asm { } but that will be typescript { }
BinaryByter
XD
Dima
10/10
klimi
Why don't use php
klimi
You little
Roxifλsz 🇱🇹
klimi
No u
Yes
klimi
:(
olli
Isn't the need to recompile for a change a big limitation? 🤔
Thespartann
CSS and HTML are the best programming languages.
klimi
Thespartann