klimi
pthread?
Deni
Yes on codeblocks
klimi
it should work then...
Deni
Ahh It can be that codeblocks need enabling of c++11 because It uses an older version i haven't see(?)
klimi
it can
klimi
or it can be that mingw doesnt come by default with std threads (but idk)
Deni
I try It now
klimi
https://github.com/meganz/mingw-std-threads but it should work without
Deni
klimi
and without?
klimi
nope
Deni
It not compile
klimi
do you have mingw installation manager?
Deni
Yes
klimi
open it and install mingw32-pthreads-win32
Code
How to store 2d array when i declare c type string....mean in char [][]....??
Deni
Okay now i'am downloading
klimi
How to store 2d array when i declare c type string....mean in char [][]....??
https://stackoverflow.com/questions/6599707/2d-character-array-initialization-in-c
klimi
no?
klimi
thats wierd
Deni
The code is the same as the sample http://www.cplusplus.com/reference/thread/thread/
Deni
Anonymous
do you have #include <thread>
Deni
do you have #include <thread>
Yes is the sample that i have linked
Deni
Anonymous
no clue
klimi
it should work...
klimi
try without std::
Anonymous
Deni
klimi
what version is mingw g++
Deni
Deni
This?
klimi
6.3
klimi
hmm
klimi
i have tip
klimi
try to do
klimi
--std=c++11
klimi
2 dashes
Deni
Nothing same error
olli
Nothing same error
afaik std::thread is not part of the mingw-win32 package. You should either install mingw-std-thread or use the g++ compiler being provided in the mingw-posix package
Deni
but not in codeblocks
Ah okay this is the solution
Anonymous
Learn c+
Anonymous
+
Giorgio
Hi guys, i have just started to program in c. Someone know a site with exercise? Sorry for my english. Im italian 😅
olli
thats why install pthreads
I think installing pthread is not enough, somehow you still new a std::thread implementation that uses pthread
klimi
oh oaky
olli
To whomever is interested, maybe this explains a little better https://stackoverflow.com/a/30390278/4416573
klimi
thanks olli
olli
You're welcome :)
klimi
but not in codeblocks
maybe link this guy
klimi
to see it later
olli
Monusk This could help you https://stackoverflow.com/a/30390278/4416573
olli
Good idea
klimi
my programs in c++ are like Aborted (core dumped)
olli
Could someone help me?
Maybe try sites like Codefights or Hackerrank. There are plenty exercises
klimi
i know good group but im... afraid to break rules xD
klimi
chanel*
Bader
oooo found a good ed25519 lib https://github.com/orlp/ed25519
Bader
even has sha3 :O
Bader
so wow
Bader
very crypto
Anonymous
So what’s going on guys?
Bader
PQ?
Bader
post quantum crypo?
Bader
never done research on it, need to read up on quantum computing :/
Anonymous
never done research on it, need to read up on quantum computing :/
Yeah you do, we need to implement hybrid crypto NOW
Bader
btw, I'm also a noob of cryptography. forgiveme if I get anything terribley wrong
Bader
terribly*
Anonymous
I know that most crypto in use could be worthless at any second now