Heya,
This is my first post and I hope I don't break any rules (which I did read ). Anyway, here is my problem:
I have a project which I would really like to do in C# to expand my knowledge with this specific programming language. However, the libraries for this project are written in C++.
I won't ask for someone to convert the whole thing, because that's just very unfair (and breaks the rules I think ). So I will just ask for the following the be explained in plain English!
(In C++)
What does:
#ifndef
#include
#define
#void
...all mean or represent?
Thanks very much!
Swampy
Here is the code in full (in C++) just incase anyone would like to read it:
(This was initially made by Adafruit, the help support team said that they were ok with converting their code as long as it was not for commercial use (which it's not, it's a home project! ).
I have updated my Series 9 Watch so I assume there is either a mistake in what was said, or as suggested - the new AI feature set isn’t supported on anything other than those listed above.
WhatsApp slams Isreali firm, NSO Group, for trying to spy on its users by David Uzondu
WhatsApp has come out accusing Israeli cyber-intelligence firm, NSO Group, of deploying a fresh wave of highly targeted "spear phishing" attacks against users, which its security teams successfully thwarted.
The Israeli firm, according to WhatsApp, ran this operation like its usual one-click phishing campaigns, trying to get people to click malicious links that lead them to external sites. To coordinate the campaign, the spyware vendor created fake test accounts and groups on the messaging app. WhatsApp said it is sharing the specific malicious domains, ikhwancast[.]com, ghazacast[.]com, and fr24cast[.]com, because potential victims need this data to check if they were targeted across other messaging systems or email platforms.
The NSO Group is infamous for creating and selling Pegasus, a military-grade commercial spyware capable of silently compromising smartphones simply by sending a message or placing a missed call via apps like WhatsApp or iMessage. Users do not even have to interact with the incoming notification before the infection takes hold. Once Pegasus manages to break in, the spyware harvests private data, letting operators read private messages, emails, photos, and documents. It also tracks precise GPS locations, records keystrokes, activates the device's camera, and monitors live microphone audio.
Independent investigations by cybersecurity watchdogs like The Citizen Lab and human rights organizations like Amnesty International have proven that governments use this software to track humanitarian workers, journalists, diplomats, and political dissidents. These findings directly contradict NSO Group claims that clients use the technology to spy on criminals and terrorists only. In late 2021, the U.S. Department of Commerce added the firm to its Entity List, effectively banning the vendor from buying hardware and software from American tech companies.
WhatsApp said in its blog post that the spyware vendor violated a permanent court injunction with this new spear-phishing campaign. This injunction, which took effect in 2025, strictly prohibited NSO Group from targeting WhatsApp and its users. The platform is now asking a federal court to hold the firm in contempt.
It would be surprising if even 3 year old Apple Watches (and not SE models at that) cannot run watchOS 27. Granted, it doesn't mean it would work as well. We'll see.
Question
SwampyPk
Heya,
). Anyway, here is my problem:
). So I will just ask for the following the be explained in plain English!
This is my first post and I hope I don't break any rules (which I did read
I have a project which I would really like to do in C# to expand my knowledge with this specific programming language. However, the libraries for this project are written in C++.
I won't ask for someone to convert the whole thing, because that's just very unfair (and breaks the rules I think
(In C++)
What does:
#ifndef
#include
#define
#void
...all mean or represent?
Thanks very much!
Swampy
Here is the code in full (in C++) just incase anyone would like to read it:
http://pastebin.com/nUQ7npTR
(This was initially made by Adafruit, the help support team said that they were ok with converting their code as long as it was not for commercial use (which it's not, it's a home project!
).
Thanks again!
Link to comment
https://www.neowin.net/forum/topic/1259864-c-to-c-converting-libraries/Share on other sites
23 answers to this question
Recommended Posts