Skip to content
Advertisement

Tag: windows

QT diconnect from wifi

I need to disconnect from current access point. I wrote this piece of code: How can I disconnect from wifi? Or should I use C/C++ (some API) for that? Answer You can use QProcess and run system commands to connect and disconnect WiFi like below but this is Linux solution: Replace wlp3s0 with your WiFi interface name. You can find

How to backup laptop SSD with UEFI [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

How to compare two files containing many long strings then extract lines with at least n consecutive identical chars?

I have 2 large files each containing long strings separated by newlines in different formats. I need to find similarities and differences between them. The Problem is that the formats of the two files differ. File a: File b: So now I want to extract the whole line containing NjA5MDAxNdaeag0NjE5NTIx.XUwXRQ.gat8MzuGfkj2pWs7z8z-LBFXQaE from File a to a new file and also delete

Why does the Code run on Linux but not on Windows?

Well, I wrote a little Program that should generate random values, but no value should be in the output file twice. On Linux it’s running perfectly, but on Windows it just runs infinity long on the 32768th value. That means, that cmd is open but nothing really happens from that point. I already did debug it 30 times by now

Mixing debug and release libraries: Windows vs Linux, static vs shared

This question has been asked a few times already, but I observe that it always refers to Windows. Which makes sense, given that MSVC fails with the following error: error LNK2038: mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ‘0’ doesn’t match value ‘2’ in main.obj And it seems to me that on Linux, it does not fail at build time. Answers mention

Advertisement