Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: njaddison on August 13, 2012, 11:31:08 pm
-
so, I was wondering if C++ would be possible on the nspire through ndless.
I know that ndless is for c, but would it be possible for an ndless update that allows C++, or some kind of ndless C++ library?
I am learning C++, but ndless is for c. So even after I finish C++ tutorials, then I'll have to take c, which will be like learning the same thing over again, just with a few differences.
So, back to the question at the beginning, would it be possible?
-
tangrs has a tutorial here: http://blog.tangrs.id.au/?p=712
-
Getting C++ on the TI-Nspire currently requires several additional setup steps and has specific limitations. Moreover C++ is not originally design for embedded programming (but it doesn't mean it can't be used or is not recommanded).
If you want to start developping for the TI-Nspire as a beginner, C will be much easier.
You don't really need to learn C: since C++ is a superset of C, you actually already know it. Just pick up a guide which compares C and C++ to find what you should not use when developing in C. There are plenty of those available.
-
I don't understand why isn't it possible: g++ doesn't support ARM stuff but gcc does ?
Is seems to have no sense for me.
-
tangrs's blog describes and the additional setup and missing stub functions.
-
tangrs' tutorial talks about checking out newlib for arm architecture from CVS. What CVS does he mean? Surely he can't mean the Pharmacy/drugstore CVS!
-
https://en.wikipedia.org/wiki/Concurrent_versions_system . An old thing that, in its time (1986), represented an improvement over previous programs, but has severe defects, easy to encounter in normal usage. Pretty much any SCM out there is superior to CVS, but some people insist on using it.