This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - sammyMaX
Pages: 1 ... 8 9 [10] 11 12 ... 14
136
« on: September 04, 2011, 03:06:59 pm »
Almost done with addition! Some more screenshots. Bugs/Annoyances: ✓ A pain to type in input - very unresponsive keys - solved enough! ✓ Input 1 has to be longer than input2 - solved!
After these are fixed, it will be time to go to the focus of the program, multiplication! Of course, this also includes functions composed of multiplication - powers, nCr, nPr, and factorial. The two biggest problems (I foresee) are memory allocation (especially for things like factorial) and more annoyances with processing input.
137
« on: September 04, 2011, 10:57:00 am »
I got it fixed Development continues... (school starts soon, though, so progress will slow down a lot)
138
« on: September 04, 2011, 10:56:02 am »
Never mind - got it all fixed. It turns out that Eclipse can't figure out what's an array and what's not when they are dynamically allocated. Just click on the variable and then "Display as an Array."
139
« on: September 03, 2011, 04:59:23 pm »
I'm having a problem creating (certain) arrays. I use calloc(x, sizeof(int)). No matter what x is, the pointer returned always points to an array of one integer. More info (and a screenshot of the problem) here, at the bottom of the page: http://ourl.ca/119180
140
« on: September 03, 2011, 10:53:15 am »
Are you using Windows? I had that problem in the Linux version of Eclipse, and I (reluctantly) installed the Windows version. The Windows one works fine for me. Go to Properties>C/C++ Build>Tool Chain Editor and make sure the toolchain is "No Toolchain," and the builder is "GNU Make Builder." (Those are my settings, at least) Also, make sure EVERY folder in the sdk directory of Ndless is in your PATH variable. (sdk/bin, sdk/include, sdk/lib, and sdk/system) Some of these things might not be necessary, but this is how I got my system to work. This youtube video from ExtendeD really helps. MAKE SURE TO TURN CC ON, as that's how the instructions are given! Edit: Make sure to go to PROPERTIES (from the project explorer window, then right click on your project name), not PREFERENCES.
141
« on: September 03, 2011, 10:38:57 am »
I can't wait
142
« on: September 03, 2011, 10:37:45 am »
I'm getting a weird problem creating arrays now. Here's the code:
int numInts1 = ceil(operationPos, 4); int numInts2 = ceil((inputLen - operationPos - 1), 4);
int *in1 = (int*)calloc(numInts1, sizeof(int)); int *in2 = (int*)calloc(numInts2, sizeof(int)); Using the Eclipse debugger, numInts1 is what it's supposed to be, and same as numInts2, but the arrays in1 and in2 are always only one int long. Attached a screenshot of the debugger. (What it's showing means that the arrays are one int long, right? Otherwise I wouldn't know what's wrong with my program)
143
« on: September 03, 2011, 10:23:11 am »
Thanks! @Hayleia: before posting this (when I had 64 posts) I still got "An Error Has Occurred!" page.
144
« on: September 02, 2011, 05:11:57 pm »
OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG OMG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! LOL Anyways, it can now (usually) add. It is still very unstable though, and it is very hard to type in input. I have a solution in mind, and if it works I will post it. (From what I've experienced, others have the same issue)
145
« on: September 01, 2011, 05:40:19 pm »
From this hackspire page I see that programs can be built and debugged from Eclipse. However, when I import my project and build it, it uses GCC instead of nspire-gcc. Is it reading my previous makefile at all? How is this fixed? Edit: Eclipse also can't find os.h, although [ndless directory]/sdk/include is in the path.
146
« on: September 01, 2011, 05:29:41 pm »
Yeah, my first language was TI-BASIC, which got me into programming.
147
« on: September 01, 2011, 05:13:02 pm »
Hey guys, I'm just curious I do it because the computer already has all (most of) the software anyone could ever think of. The calculator front has much more open room for creativity. Another part of it is that the calculator is just so portable and is allowed everywhere (like in classrooms) where computers and phones can't go. It gives me a happy feeling to be able to carry a program I made everywhere, and impress my friends. Finally, things like slow processors and scarce RAM pose an interesting challenge to programmers not found in other platforms. What do you guys think?
148
« on: August 31, 2011, 11:42:36 am »
Many of the math functions are done (actually quite easy to program, as long as you're not SUPER optimizing) and I am around 60% done with input processing (turning string into the data type my functions take in) and haven't done output processing yet (data type returned from functions into string) Once I'm done with input processing, a beta should come out soon, (output processing isn't as bad) but programming input processing is a PITA. I can see why Cabamap used RPN, it is a lot easier to work with.
149
« on: August 26, 2011, 08:53:42 pm »
I may have screwed up the link, but it is an American site, and I'm from America. (Learning German at school though) Just google it and I'm sure you'll find the correct site.
150
« on: August 26, 2011, 03:26:46 pm »
At our school, each user gets a 2 GB "F drive". Mine has like 50 KB of documents, Battlefield 1942, CS 1.6, and Peggle. For going online, I use (and abuse) the Tor Project: https://www.torproject.org/
Pages: 1 ... 8 9 [10] 11 12 ... 14
|