Programming Troubles
by b-flat, Aug 16, 2006, 12:05 AM
I found something very interesting about my TI-84+SE when I was working on a Yukon Trail game while driving somewhere (forgot where).
If you use
:56->x
:Text(56(fpart(x/56),45(x>=56),"ROPE
You get ERR:DOMAIN
However, if you use
:Text(0,45,"ROPE
It works fine
Any thoughts why this might be? I haven't changed the coding, but now, it works. This is really wierd.
I have started learning MatheMatica as a programming language. It is incredibly powerful, but it doesn't really seem to me like a language you would use to make actual applications, etc. I can see how C works, and I was learning C, but my dad doesn't know how to really use the Windows Visual Studio thing that compiles the programs. It has a ton of options, like C#, C++, VB, etc, but I don't know how to do some simple C such as
/* add two numbers and print result */
main()
(
int sum, x, y;
x=20;
y=30;
sum = x+y;
printf("The sum of %d and %d = %d", x, y, xum);
)
It isn't anything like the book I was using said it would be like (the books only about 23 years old).
Anyone know how I could write just C using MicroSoft Visual Studio?
If you use
:56->x
:Text(56(fpart(x/56),45(x>=56),"ROPE
You get ERR:DOMAIN
However, if you use
:Text(0,45,"ROPE
It works fine
Any thoughts why this might be? I haven't changed the coding, but now, it works. This is really wierd.
I have started learning MatheMatica as a programming language. It is incredibly powerful, but it doesn't really seem to me like a language you would use to make actual applications, etc. I can see how C works, and I was learning C, but my dad doesn't know how to really use the Windows Visual Studio thing that compiles the programs. It has a ton of options, like C#, C++, VB, etc, but I don't know how to do some simple C such as
/* add two numbers and print result */
main()
(
int sum, x, y;
x=20;
y=30;
sum = x+y;
printf("The sum of %d and %d = %d", x, y, xum);
)
It isn't anything like the book I was using said it would be like (the books only about 23 years old).
Anyone know how I could write just C using MicroSoft Visual Studio?