Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
-->
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
C++ on the Nspire?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: C++ on the Nspire? (Read 4052 times)
0 Members and 1 Guest are viewing this topic.
njaddison
LV4
Regular (Next: 200)
Posts: 176
Rating: +24/-27
C++ on the Nspire?
«
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?
Logged
<a href="
http://www.nerdtests.com/ft_nt2.php
">
<img src="
http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png
" alt="NerdTests.com says I'm a Highly Dorky Nerd God. Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>
compu
LV5
Advanced (Next: 300)
Posts: 275
Rating: +63/-3
Re: C++ on the Nspire?
«
Reply #1 on:
August 14, 2012, 08:29:48 am »
tangrs has a tutorial here:
http://blog.tangrs.id.au/?p=712
Logged
Nspire I/O
Discussion
|
GitHub
ndless-apps.org - TI-Nspire project list
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: C++ on the Nspire?
«
Reply #2 on:
August 14, 2012, 08:58:19 am »
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.
Logged
Ndless.me
with the finest TI-Nspire programs
Le solutionneur
LV3
Member (Next: 100)
Posts: 70
Rating: +14/-10
Re: C++ on the Nspire?
«
Reply #3 on:
August 14, 2012, 09:54:35 am »
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.
Logged
"Commit to the Lord whatever you do and your plans will succeed." - Proverbs 16:3
"Whatever you do, work at it with all your heart, as working for the Lord, not for men. " - Colossians 3:23
ExtendeD
CoT Emeritus
LV8
Addict (Next: 1000)
Posts: 825
Rating: +167/-2
Re: C++ on the Nspire?
«
Reply #4 on:
August 14, 2012, 02:16:02 pm »
tangrs's blog describes and the additional setup and missing stub functions.
Logged
Ndless.me
with the finest TI-Nspire programs
njaddison
LV4
Regular (Next: 200)
Posts: 176
Rating: +24/-27
Re: C++ on the Nspire?
«
Reply #5 on:
August 15, 2012, 12:22:53 pm »
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!
Logged
<a href="
http://www.nerdtests.com/ft_nt2.php
">
<img src="
http://www.nerdtests.com/images/badge/nt2/5f42ec78e054645d.png
" alt="NerdTests.com says I'm a Highly Dorky Nerd God. Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!">
</a>
Lionel Debroux
LV11
Super Veteran (Next: 3000)
Posts: 2135
Rating: +290/-45
Re: C++ on the Nspire?
«
Reply #6 on:
August 15, 2012, 12:35:21 pm »
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.
Logged
Member of the
TI-Chess Team
.
Co-maintainer of
GCC4TI
(
GCC4TI online documentation
),
TILP
and
TIEmu
.
Co-admin of
TI-Planet
.
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
C++ on the Nspire?
\n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t
%body%<' + '/textarea>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
Max characters: 20000; characters remaining:
...<' + '/span><' + '/span>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '
', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '
%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject% (Read 4052 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "
Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 196, iCurBoardChildLevel: 1, sCurBoardName: "TI-Nspire", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 196, iTopicId: 16790, sSessionId: "89451cd048c0f40a78551e765cef18e4", sSessionVar: "b9d834a30be", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } function tick2() { if (typeof(document.forms.quickModForm) != "undefined") { calcCharLeft2(); setTimeout("tick2()", 1000); } else setTimeout("tick2()", 800); } function message_onkeyup() { if (typeof(document.forms.quickModForm) != "undefined" && typeof(document.forms.quickModForm.message) != "undefined") { document.forms.quickModForm.message.onkeyup = function onkeyup(event) { storeCaret(this); calcCharLeft2(); }; } else setTimeout("message_onkeyup()", 800); } message_onkeyup(); function calcCharLeft2() { var maxLength = 20000; var oldEditor = "", currentEditor = document.forms.quickModForm.message.value; if (!document.getElementById("editorLeft2")) return; if (oldEditor != currentEditor) { oldEditor = currentEditor; if (currentEditor.replace(/\r/, "").length > maxLength) document.forms.quickModForm.message.value = currentEditor.replace(/\r/, "").substring(0, maxLength); currentEditor = document.forms.quickModForm.message.value.replace(/\r/, ""); } setInnerHTML(document.getElementById("editorLeft2"), maxLength - currentEditor.length); } // ]]>-->