Dima
uh
robin
ok...
Dima
stupid bot, we should ignore github links, sorry
Dima
post it with spaces
robin
go github then search: google/leveldb
robin
you can see leveldb too
robin
DaviChan
\Device\NUL
\Device\NUL
FlushConsoleInputBuffer is also deprecated as Microsoft planning to migrate to VT-x
DaviChan
fflush(stdin) is UB on C standards
So one should use just 'flash' ? Or? Good undefined behavior, or the one where it might go boom with a different compiler 😂😂
Olivia
what is lambda function?
DaviChan
what is lambda function?
stams from labda calculus if you are familiar with that? Maybe from school?
But it is just a projection from input to output. Like a regular function 😅 only syntax is different to oversimplify.
DaviChan
Often used as "inline functions". In a sense that you can write them in line. (Not to confuse with functions marked as inline that might be inlined by the compiler)
Olivia
oh
Olivia
thankyou (:
Tulika
Can anyone help me out in one pattern programming of c
Tulika
Spiral no.one....
Tushar
Touch
Test Auto sent
Eligible
Is there any C# group please?
alessandro
hi guy i have that slice of code: auto result = std::max_element(psk8_table.begin(), psk8_table.end());
alessandro
but psk8_table is class
alessandro
so it can't find the max element because it don't know which variable compare
alessandro
i don't know how set which variable compare
Saideep
#include<iostream>
int main(){
std::cout<<"Hello World";
return0;
}
Code is not running in vs code. And in new terminal I have done g++ .\tut1.cpp
undefined reference to 'WinMain16'
Ilya
return0;
u need to add a space between "return" and "0;"
Saideep
I had given space still problem exist
alessandro
pls i need a help
alessandro
someone knows operator bool?
alessandro
example bool operator<(const exampleclass &rhs) const etc..
Otniel
o- - -o
| |
| |
o- - -o
alessandro
alessandro
alessandro
i have some thing most important to do
Otniel
Like seriously
Otniel
Can I DM you ??
alessandro
nop
Otniel
Ahaha 😅
Dima
do not post your assignments here
alessandro
alessandro
on google said how implement it
alessandro
but i don't know how suit it in my code
Sen Sovisal
alessandro
bool operator<( const mysclass& lhs, const myclass& rhs){ return lhs.data < rhs.data; )
alessandro
next i need do output for(auto &x : myclass ) { } my class in reality vector of one class, and i need print highest value, inside that class
alessandro
does someone knows the way to do that?
alessandro
alessandro
in that class contains some values
alessandro
but i need compare one value of each box
alessandro
that make impossible to use max_element, and i have use otherwise way
alessandro
ahh
alessandro
thx
Anonymous
heey guys how are you ??
How do i sort nodes in doubly linked list ??
Mr
Mr
Just do bubble sort technique, just like you do in array
Mr
Mr
You mean that you can't change node data part
Mr
Or unable to link nodes
Anonymous
I didn't get it can you explain it clearly
i have manege nodes.
i have lines node.
I have a row list object on the a manage node where I can access the row feeds. i can't change the row list objects when I sort the manage nodes
Mr
Mr
Address of next node?
Mr
Can you send the code
Anonymous
Okk bro
Alijon
Hello everyone
Alijon
#include<iostream>
using namespace std;
int main()
{
for(float i=0.1;i<=1;i=i+0.1)
cout<<i<<endl;
}
Alijon
Why this program doesn't print 1 ?
Alijon
Pls help if you can
klimi
Oh you add by 0.1, it is probably because the float arithmetics you cannot say that some floats is equal to number... Might be that
klimi
It can be like 1.0000000001 and that's not 1.0
Alijon
Leonardo
Guys i need help with the reading of files in C