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! ).
Bluesky COO warns social media regulations could destroy competition from small startups by Paul Hill
Fears that increasing government control of social media risks regulatory capture by the biggest social media firms were raised again recently. Bluesky’s chief operating officer said in an interview that social media bans for children and tighter regulations for social media firms risk creating a world where there are only a few social media platforms run by companies with the deepest pockets.
Regulations on social media firms have been very lax since they appeared for mainstream users in the 2000’s. This gave Meta, Snapchat, and Google time to build up their user bases and get entrenched, with Meta being the most successful. Now that Meta has succeeded, it has been attempting regulatory capture. By pushing for more regulations of social media, Meta hopes to make it more difficult for rivals to challenge it. For its part, it doesn’t need to worry about the cost of regulation because it has a lot of money to spend, whereas startups do not.
Speaking to CNBC, Rose Wang, Bluesky’s chief operating officer, said:
“I support the protection and the safety of youth, the question that we have then is at what cost, because essentially what I’m scared of is in the long term, we’re headed to a world where there’s about three to five platforms, and extreme heavy regulation of those platforms, and basically the whole compliance teams of these platforms are 10 times the size of our entire team. So, basically, we’re living in a world where it’s almost impossible for smaller entrants to come in and build healthier spaces. These platforms have led to a place where the bottom line is the thing that drives what they do... so I understand why governments have to step in and regulate, because the platforms have done nothing right.”
She said that while she is not against regulation, there needs to be more channels between the small to mid-sized players and regulators to help protect them. She says that big tech players, on the other hand, “who we know are circumventing regulation,” need to be regulated. Essentially, the Bluesky position is one of nuance, rather than absolutes.
While Bluesky’s proposal may preserve competition in the social media space, it still doesn’t address the massive privacy implications these age verification measures introduce, such as handing over sensitive identity documents to access age-gated content.
Source: CNBC
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