Dima
Andrew
Vs is good for coding in assembly
Anonymous
Thanks
King Phyte 🐍
yes
😑💔
David
is it windows? yes. is it linux ?
David
David
nope
David
wsl does not supports remote desktop, sound, xx, it is
Merazi
is it windows? yes. is it linux ?
My posix mind is confused
Огни
btw i use winux
BTW i use lindows
Огни
BTW i use lindows
Thats linux realy exists
Merazi
Ssh with X forwarding??
David
Virtual machine?
separated real machine
Merazi
Oohh nice
klimi
I use wsl with xorg
klimi
But rdp would be probably better.... I could try set it up tomorrow
olli
https://devblogs.microsoft.com/commandline/whats-new-in-the-windows-subsystem-for-linux-september-2020/ GUI support coming to WSL
Nils
But idk if that's available for windows
Anonymous
👍🏾
Alex
what do you expect from this code?🧐
$ VISHNU KUMAR D S
From should I start learning C language
Ajay
When we say that threads run in parallel then does that mean that they really do run in parallel or is there context switching happening at the back that resembles like different threads are running in parallel? I'm asking about single core CPUs.
Ajay
olli
sorry, i meant parallel in the second statement instead of concurrent.
I'm not sure I follow. Scheduling is up to your OS, it doesn't matter that much whether you run a single LP or multiple. While this depends on the actual implementation the behavior is more or less the same. Your operating system selects a thread to run and performs a context switch. At some point the thread either yields or needs to wait for File IO or some synchronization object or the quantum expires. In either case the operating system steps in, selects a new thread to run and switches the context.
Chakravyuha
/get ide
tasty
what is the meaning of const T& function_name(const T& a) const { }
tasty
hi
olli
what is the meaning of const T& function_name(const T& a) const { }
it's a incomplete function definition <source>:1:7: error: 'T' does not name a type 1 | const T& function_name(const T& a) const { } | ^ Compiler returned: 1
tasty
no. I mean what is the meaning of every const
da
only class has const member function
olli
no. I mean what is the meaning of every const
it's a const member function, in a const function, *this is also cv-qualified. This functions returns a const reference to type T and takes a parameter of type const reference to type T
vinícius*
/get ide
Qt Creator, believe me
tasty
thx bro
Anonymous
Hitesh
/get cbooks
Hitesh
/get cbook
INDIA
<< is a unary operator
Ludovic 'Archivist'
Ludovic 'Archivist'
<< is not unary
Ludovic 'Archivist'
it has a lhs and a rhs
Anonymous
<< is a unary operator
Why would it be unary?
Anonymous
which book?
#cppbookguide
Anonymous
@MissRose_bot you have to work dear
tasty
cpp primer appropiate?
Anonymous
cpp primer appropiate?
If it's in the list, yes
tasty
but it is from cpp11
tasty
does it matter?
Anonymous
Not now
tasty
fine
tasty
thank uuu
Engineer
Hey! Which app is the best for c and c++? Virtual studio, codeblocks, dev-c++ or intelliJ?
CLion it is not free, but if you are a student it is.... https://www.jetbrains.com/clion/
Roxifλsz 🇱🇹
That's interesting, in UNIX the first pid is 1, that's the init system which then starts everything else. I'm not sure about what pid 0 actually is
ברני
Hey, question on c...I would love to have clues instead of answers if possible✌️ I need to find the smallest number in a long number the user will write, I did while statement did digit % 10 and also num /=10.. In the if statement I got some trubles.. I tried if (num > digit) But I guess I need a counter? Or I'm wrong at all?
ברני
Yes
ברני
would be helpful to see your code
I'm sure it's wrong.. Sec
ברני
https://onlinegdb.com/S1EChX3vv
ברני
thats the code I made.. tottaly wrong...
ברני
I thnk I did't get to there yet
ברני
sec Ill translate the question
ברני
Question 1 - to run Write a function that picks up a whole positive type number and returns the smallest digit of His literature. For example for the input - 26713 The program will print 1. Use a while loop Hint- Use an auxiliary variable to hold the small value. Write a main that tests the function.
Harsh
Actually if it was python, it'd we 2-3 liner code
ברני
https://pastebin.pl/view/6d3e731b
ברני
so I need to break down every number from 1 till 9?
olli
https://onlinegdb.com/S1EChX3vv
you need some sort of variable to keep track of the smallest value you found so far and update it, and if your current digit is smaller than the smallest so far, update it