Nils
*hope
Nils
But yeah that's a good question…
Nils
Well… Nope.
Nils
That must be the reason.
Anonymous
Anonymous
Why would you even allocate a single char on the heap, @tuxifan?
Nils
It wasn't waste of time, I learned a lot from it 😉
Nils
But yeah you are right.
Nils
Anonymous
Nils
Anyways, I solved it…
Anonymous
char c;
f(c);
?
Nils
That's also why it didn't work and just deadlocked
Anonymous
std::atomic<char>?
Nils
Aaand solved.
Nils
It works now, after having rewritten everything
labyrinth
I have seen some blogs saying that the poll implementation is based on linked list, but I could not find (in the man page) any mentioning of linked list from book or google, i am assuming that the blogs are implicitly referring to Java?
Alex
Alex
linux system call?
labyrinth
io mutiplexing in linux
labyrinth
yes
Alex
you should check linux kernel source
Alex
and I can`t understand why do you mention java
Alex
linux kernel is written using C language
Anonymous
Need tutorials for c and c++
Anonymous
/get cbook
Anonymous
/get cppbookguide
labyrinth
and I can`t understand why do you mention java
because when i search poll and linked list (my confusion), google always suggest java,utils.linkedlist.poll.. which is kinda irrelevant to what I need; i just checked the source code it is indeed linked list
Anonymous
hey all please suggest me fundamental api's to learn in i am a self taught programmer i have read books to learn c but before completing book i was introduced to basic understanding to api and nothing more was provided i search internet resources but didn't got any useful ple can anyone professional suggest me some fundamental api to learn
Cengizhan
Anonymous
please don't take it as a randome message pleaseif you know somthing let me know i desperately need it
Alex
Anonymous
i am in search of some api of windows in c that could let me build hardcore software for windows
Alex
what about googling for C winAPI ?
Anonymous
other than that i know this one
Alex
this one is enough
Anonymous
can you suggest me how could i go deep in this
Anonymous
Anonymous
Cengizhan
Anonymous
Anonymous
please help this newbie if you know it
Cengizhan
Do you have driver license?
Anonymous
no im 16 years old
Cengizhan
no im 16 years old
Ok, then. There is no way without practising or reading something to write code. You have to read a lot of things to learn.
Cengizhan
Same cases in life. Without practising you cannot drive a car.
Dima
some deep philosophy stuff is going on
Dima
Anonymous
Anonymous
Anonymous
Dima
𓆉 𝖙𝖚𝖗𝖙𝖑𝖊𝕶𝖎𝖓𝖌 ࿐
Hello guys... i want to learn building android apps so currently I'm learning C and after that which language should i learn??
Can you guys please tell me??
Some says Learn C then C++ --> java-->android studio and some says you can skip C++.. so what should i learn??
Nils
Is it possible to reassign stdin to an file in C?
Nils
solved
Ian
Anonymous
Nils
Liam
Nooooo
He/She was asking about how to allocate a char on heap. No one knew the context, at that time.
Anonymous
Hello is there a gopher here who intergrates c and go(cgo) .I have a really quick question.
Vishal
I'm watching an online video presentation and not sure what this statement means:
"Cfront, the first C++ compiler compiled to C, is usable anywhere C is."
What exactly does "compiled to C" means? Is it different from "written in C"?
Javi
Vishal
Got it...so it's preprocessor converted the C++ code into C code and then the C compiler compiled the program
Artöm
Artöm
Here condition depends on iteration variable, it cant be precomputed without iteration
Artöm
And if it didnt depend, compiler would most likely precompute it automatically
Artöm
This is bad af
Artöm
Because global variables should be avoided if possible
Dima
nice name
Dima
Anonymous
nice name
A nice reason to be banned
Dima
Alex
Foxner
How is that a plane?