Where V is velocity, M is mass, and C is a constant from 1-0. 1 being a perfectly elastic collision (no energy lost) and 0 being a perfectly inelastic collision (objects stick together). Note that when the masses are the same and C=1, the velocities of the objects are swapped. These equations are what i just implemented into Zedd, and they work quite well
I really hate to sound mean because it's not what I intended, but it's kind of inevitable with this.
Quote
It will run any Operating system you install, and have any processor I can get ahold of. It has a touchscreen, 320GB harddrive, and it will be for anything really.
You won't have an Operating System on the device out of the box? That is a *very* bad idea. Secondly, I'm going to venture out and say that there's no way anyone is going to be able to write any C/C++ code without a very good idea of what the hardware and OS will look like. That means you need to decide on a Linux distro (because you're not likely to get permission for Windows or Mac OS) and you need to decide on a processor. You can't possibly compile a program without knowing those things.
Also, how sure are you that you'll even have Python? While it sounds nice, it's a lot more work to port than I think you imagine because of the things I said in the previous statements.
So again...
What is the processor type and model? What OS is it running out-of-the-box? What will the runtime environment look like? How exactly will programs be expected to interact with the user? What will the API look like? What type of programs are you looking for? Is there any documentation available, such as the touchpad (how will that be available for access?) or filesystem type/access?
If you can't answer the majority of these, it's far, far too early to be asking for help with anything like demonstration programs.
Try rebooting and/or installing the manager trial on the CD. If that fails, then the factory debug menu has a USB test that tries to install drivers, but...
That depends on what calculator you have. If you have an Nspire <3.0, you use C, ASM, or BASIC. For Nspire's >3.0, people generally use Lua or BASIC. If you have an 84+ calculator, you can use C, ASM, BASIC, BBC BASIC, or Axe. For the 68k calcs, there's basically the same selection, except that more people use C. If you happen to own a prizm (not a TI calc...), you can write C, ASM or BASIC, though there is a project in the works to bring Java, Lua, and Brainf*ck to that calculator.
As for interfaces, you generally don't use a whole lot of OO with calculator dev
I'm not sure why everyone has been using Zeros(pointer,size) in their code. This is not valid syntax. Zeros() only takes a single argument, and that is size. You want to use Zeros(size)→pointer instead.
* Qwerty.55 is launching a covert campaign to get Quigibo to change the syntax...
I'm trying to write a "chat-program" for the TI, but I have a problem: If I want to write something, I'll have to edit the string! But how can I save something in a String if ther's alreadsy saved something in it?
:Zeros(Str1,3) :"abc"->Str1 To get that to work (Assuming you can store a string to memory in axe). Most Axe variables are *not* like TI-BASIC variables. They're created at compile time, which means that if you were to store more information to them than was originally placed there, you'd either corrupt RAM or overwrite part of your program.
Yeah, the equality test I used for ~ is... slightly long. But if you want to replace "~" with your own value, just change this part of the code to generate the character value you want:
Introducing the future of text editors, the Tidal editor. Hand-written in raw, optimized Brainf*ck (after being ported from both the TI-84+ and Casio FX-CG families of calculators) and released under a GPL license for this exclusive beta download, Tidal is the fastest and most powerful Brainf*ck text editor around.
Spoiler For Screenshots:
Spoiler For Usage:
Tidal is a standard text editor designed to work with the Brainf*ck Developer. Normal usage is very simple: Just type in the text you want to edit on the input line. Backspace is used by entering the "~" character as input. Also, please comment about features you'd like to see added to Tidal, such as a native brainf*ck interpreter or dynamic refresh.