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! ).
Question
SwampyPk
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:
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