Embedding C and C++ into a microchip [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm sorry, I'm lost.
I program microchips, and I primarily work in assembly, but I have much more experience in C and C++. I know that there is a way to embed C++ into the microchip, I just need to know how. If I need to make a clone of C++, I am willing, if someone will tell me how.
Thanks in advance.

1) Write program in C or C++.
2) Compile program.
3) (Optional) Test program on an emulator.
4) Burn program into desired microchip.
If you give us specific chips, we can give you more details of how each of the steps works.

Related

how to add a library to xcode [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
this has been asked plenty of times, but I always find them hard to follow. Its quite simple.
How do you add a library and/or framework to xcode and/ or your xcode project. I need all the steps between downloading the library, to typing the #include in the code. But I also need some context behind each step, other wise it won't stick in my mind and I'll back here in a week. Bear in mind I have an limited understanding of the xcode development environment. Thanks in advance.
Follow the screenshots and you are good to go

opencv & c++ with objective-c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to write a program in C++ using OpenCV library and run it within an Objective-C program that someone gave me.
I don't have any prior knowledge about Objective-C, so is it possible to do this properly and how should I start?
I mean, Can I make my C++ & OpenCV program as it is a stand alone program and then include it in the Objective-C one?
Thank you very much.
Mixing Objective-C and C++ is fine with Xcode and Apples LLVM compiler. Might be done in a number of ways and modes, so yes you may build your C++ & OpenCV module and then use some Objective-C wrappers.

Anyone have the algorithm for determine if a hand of Mahjong game wins or not? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am reading some introduction of an ancient Chinese game called Mahjong (a bit like poker but far more complicated). I have been spending couple days in writing a program to determine if a given hand is a win hand or not. Do anyone have any idea or know where can I find the free code for that? I only need the part to determine win/lose, I am not looking for the entire project. Thanks.
There is this cool Python library that can be used for scoring of a Mahjong hand given a situation. I know you are working in C++, but since python is highly readable, even to non-python coders, maybe you'll be able to copy/paste and edit the relevant part so you'll be able to use them.
Hope that helps you in some way.

Advice on Creating a DBMS [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am looking at ways of creating my own DBMS from scratch in C++ (just for fun and educational purposes). I am stuck with the place to start it. Can anybody tell me how I should begin (design) this. Will postgresql code and the architecture be of any help?
Thanks in advance.
Have a look at SQLite and its doccumentation. it might be a good point to start.
Start by reading "Transaction Processing: Concepts & Techniques" by Gray and Reuter. It goes through all the major components of a DBMS. Following the references is very interesting.
It is almost 20 years old now, but still very relevant.

Why is C faster than C++ in code execution? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
Before I knew that C was faster than C++ I was able to write some simple code where C executed faster than C++'s speed.
So my question is: please explain then reason behind this.
If this has already been explained elsewhere on this site or the internet, please share a link.
The reason behind this is your poor test.
C is not faster than C++ because C++
is a superset of C.
Here it is!