Problem With Matrix ?
Posted 09 December 2005 - 11:38 AM
Posted 09 December 2005 - 06:52 PM
Hi , I a wrote a basic program searching a matrix ( with 100X10 dimension ) for a specific value , and I found that it takes a lot of time to do that , also I make a loop to print the cells continuously and it takes many seconds for each value . Anybody can help me in that , Thanks.
First, we need the source code.
Posted 10 December 2005 - 02:22 AM
ClassPad has some problems with matrix, especially large one. Your 100*10 matrix may make the ClassPad get upset so it will be slow (sometime very slow)
There are some topics about this problem in this forum. You can read for more detail. I believe that they have solved many matrix problems in new OS.
Posted 19 December 2005 - 12:22 PM
Hi , I a wrote a basic program...
I have two suggestions:
1. Basic Programs are the slowest things of the ClassPad! I suggest you to go to "www.CPSDK.com" and register there, and then download the SDK and make an add-in (Of course if you know C++ programming).
( Note: If you are a registered member of www.classpad.org (Not classpad.net), you don't need to register again at CPSDK.com, you can use your ClassPad.org's username and password).
2. If you don't know programming in C++, or anyway if you don't have time to get CPSDK, go to www.ClassPad.org, and download an add-in program named "My Programs". Run your basic program from there and see whether your problem solved or not. Don't forget to E-Mail me and tell me the result (Of course if you liked --> CPMicroPro<At>yahoo.com )!
Posted 19 December 2005 - 03:05 PM
Posted 20 December 2005 - 02:30 PM
I you don't know C++, you can try CPLua, which is downloadable on this forum. Lua is a simple programming language but is much faster than "rotten" Basic.
Posted 22 December 2005 - 01:06 PM
Yes, Yes, I forgot to name Lua in a third suggestion. I tried it and I can even say that Lua is better than the SDK!
If you don't know C++, you can try CPLua, which is downloadable on this forum. Lua is a simple programming language but is much faster than "rotten" Basic.
And about the last sentence of my last post, "This is a forum here, so the results should be given together with the question and the answers, not only on individual emails. Perhaps there will be some other persons who will have the same questions and who will be glad to see here if the solutions you proposed were good or not..."...(Maybe some people understand what it was! )
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users