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! ).
No, "a great deal" for 32GB of DDR5 is $50, not $350. I mean I see what you mean, that it's a decent price compared to what's currently available, but you really should put a disclaimer in this articles explaining that it's still multiple times more expensive than it used to be.
Linux 7.1 stable launch looms as Linus Torvalds releases the final release candidate by Paul Hill
Linus Torvalds has just released what’s expected to be the final release candidate of Linux 7.1, rc7. The Linux founder said that this RC is not small, but smaller than recent releases, which is a good sign because he expects the stable version to drop next week if things continue on this trajectory.
Linux kernels see a merge window for the first two weeks of their life, where developers add new features, then there are about seven or eight weeks of release candidates before the stable version. Typically, there are seven release candidates, but if more time is needed, then an eighth release candidate is released too.
This week’s RC’s biggest area of fixes was for GPUs, with networking just behind. Torvalds said that the rest of the release was “pretty random and spread out” with some architecture fixes, driver fixes, filesystem improvements, and build fixes for more unusual configs.
In terms of specific pieces of hardware receiving improvements in this update, we had more AMD Zen6 models supported and fixes for AMD SDMA 7.1 and GFX11. Hardware that got improvements includes Lenovo laptops, HONOR laptops, and MSI laptops. Here are the changelogs for those:
ASoC: amd: acp: Add DMI quirk for Lenovo Yoga Pro 7 15ASH11
Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK)
Input: atkbd - skip deactivate for HONOR BCC-N's internal keyboard
ASoC: amd: yc: Add MSI Raider A18 HX A9WJG to quirk table
ASoC: amd: yc: Enable internal mic on MSI Bravo 17 C7VF
When the stable Linux 7.1 is released, it will be up to distribution maintainers, such as Canonical and Red Hat, to release the update to their users via the update manager. Some versions of Linux will get it before others, and some will never get it at all. Fedora and Arch-based distros will be among the first to get it, though. If you don’t get it, the security fixes will be backported to your system’s kernel, so you won’t be at risk, but you won’t get newer hardware support, which is fine if your computer works now.
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