+ 2
system.h / windows.h
is it possible to add and use libraries such as system.h or windows.h here ?
11 Réponses
+ 12
About system.h I can't test it because with the test I mentioned it's clear sololearn code playground server is Windows 2012 R2 Datacenter edition ! (Found out from my other c# code!)
I think for system.h you need a linux machine.
+ 10
I have tested it and the answer is YES.
You can include Windows.h and use whatever you want.
Call Windows API, etc
I wrote a code in my code playground so you can see how it retrieves the drive type of SoloLearn Code Playground server.
And SoloLearn doesn't block using Windows.h
+ 7
@Jetset please write a code. It helps to understand better. Thanks.
+ 5
You mean Windows Timer API?
+ 4
Ah! interesting. I'll look into it.
unfortunately you can't use Timers here in Sololearn.
Thanks.
+ 3
Any timer ! because Solo is not realtime.
+ 1
You could just write e very short test program and include them, you know.
Nevertheless, I doubt anyone can include them here.
+ 1
I don't know ,just asked!
I'm looking for similar library for android or something that works here.
btw thanks for the answer.
+ 1
Alright, sorry if I came off too strong. It was not my intention to "roll over" you. I pointed out some stuff I thought to be obvious but I see that this is not the case for learners in an early stage.
0
I did and it didn't worked .I hope there is a way to use them .
0
Why? That would require that the programs here on SoloLearn C++ are executed on a specific operating system. Why would you write code like that on SoloLearn C++? This might give you access to features of the operating system where these programs are run. If I had programmed SoloLearn C++ that would be one of the first things to safely exclude.