Ilya
Just one single digit number
for this then there is no sence to use scanf
Ilya
Hmm
actually, use just one scanf, that is all.
数学の恋人
actually, use just one scanf, that is all.
But isn't scanf for stdin?
数学の恋人
You should use pastebin, not camera images nor screenshots
Well yeah but in my case I have access to none of them
数学の恋人
At least for now
Anonymous
/warn screen photo
数学の恋人
/warn screen photo
Dude you should see that I had already apologized for that
数学の恋人
As of now I don't have x server running because I'm trying something in dwm and it is crashing
数学の恋人
fscanf
Hey for some reason it's not working
数学の恋人
I know I'm doing something wrong but dunno what
数学の恋人
Neither do I
So should I send modified code?
klimi
Hacks are cool
Ilya
So should I send modified code?
You may not, but then you're on your own...
Anonymous
more than 9000 members, awesome
数学の恋人
数学の恋人
/warn screen photo
Hey dude are you removing warn? Please remove it
Ilya
fscanf requires address of a variable being input
Ilya
Lol that danya gave me warn
it's last time I read your screenshots, I don't wanna
数学の恋人
But please
数学の恋人
I am sorry for that I don't do that but this time I'm little helpless here
数学の恋人
Okay one sec
数学の恋人
I've told you already what is wrong.
You mean I haven't opened it?
Ilya
you need to pass address of a variable
klimi
Yw maths
数学の恋人
Ilya
Yw maths
What should this mean?
数学の恋人
he's addressing me I guess
数学の恋人
you need to pass address of a variable
😒 did I not pass address?
klimi
@maths_lover
数学の恋人
@maths_lover
oh thanks
klimi
Since you're regular
数学の恋人
hmm... thanks for that
klimi
No worries :)
Chittesh
hi
Anonymous
😒 did I not pass address?
try manually expanding ~ in the files path
klimi
hi
Hello
数学の恋人
数学の恋人
I guess it should
MengShu
Hi, I am developing a Windows service which polls a GPIO status and then enable/disable a device according to above status. I use SetupDi APIs to enable/disable the device like Microsoft's devcon application. However, I have found that there is a handle leak issue after enabling/disabling the device many times. After doing some tests, the handle leak issue is caused by SetupDiClassInstaller(). Unfortunately, there seems to be no function for me to close the handle. Could anyone give me some tips to solve this problem?
Anonymous
no, but you can get that environment variable yourself then format it in
数学の恋人
It worked when I gave it full path
数学の恋人
Ilya
hmm.... will $HOME work?
No it will not. None of SHELL tricks will
Khan
how to delete and save change using string manipulation?
Aj
klimi
@roxifas daily portion of memes
Aj
Can i get the algorithm for this question
MengShu
It's easy to help. Find kind of resources that leaks. Find allocation place. Find all deallocation places, analyze the latter two together. Find the handle that is not "closed"
Thank you! However, the handle is created by the function I mentioned and the function didn't return the handle for user to close it. It didn't provide other function to close the handle, too.
Anonymous
Can i get the algorithm for this question
/warn You can get only a warn for the question
TopG
do u guys recommend nptel course ?
Dibyajyoti
Okay
MengShu
Thank you! However, the handle is created by the function I mentioned and the function didn't return the handle for user to close it. It didn't provide other function to close the handle, too.
I just tried the same code in console application and the issue does not occur. I think the issue might be caused by calling the SetupDi function in service. I will post an issue to MSDN forum. Anyway, thanks for your effort.
Elijah
Is this place made for chatting or for education?
klimi
#ot
Anonymous
Is this place made for chatting or for education?
You can read the rules It's the place where you find answer if you faced some problems with C/C++
Anonymous
This is for chatting
klimi
@aliceinuserland I'm sorry...
Anonymous
It ok
klimi
It ok
Rose shows id of the one who reported and not the person who are you reporting
Anonymous
honk
Anonymous
hi
Anonymous
why you warn me
Talula
why you warn me
She hates you.
Anonymous
😂😂
Anonymous
She hates you.
how does you know,that she heat me
Arjun
does any one have link for learning c for begginers and some what known person