Search found 409 matches
- Thu Dec 06, 2007 7:45 am
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 238629
- Thu Dec 06, 2007 6:50 am
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 238629
- Wed Dec 05, 2007 5:17 pm
- Forum: General Discussion
- Topic: What is in the class "Intro to Prog and log"?
- Replies: 1
- Views: 5680
What is in the class "Intro to Prog and log"?
I'm taking it next semester. All I know about it is that it's a prerequisite for two programming classes I want to take (Visual Basic and C++). Also it's a prereq for a new program at the school that works with one of the UNCs and it offers a series of Computer Graphics and Game Design courses. Than...
- Tue Dec 04, 2007 7:25 am
- Forum: General Discussion
- Topic: Is it possible to do 3d math with only integers?
- Replies: 4
- Views: 11503
I was a little curious if this approach would actually be faster or not. Much to my suprise, after comparing the routine using my optimizations, to the same routine using the floating point calculation, there was a 400% speed increase. Even when I used the FFix patch on the floating point routine, ...
- Mon Dec 03, 2007 5:20 pm
- Forum: General Discussion
- Topic: Is it possible to do 3d math with only integers?
- Replies: 4
- Views: 11503
The only way I can think of is using large numbers and hoping they're large enough so that truncating is negligible. Or using UDTs, but that takes more memory. :? I did manage to use only integers for rotation, but that was becuase of simplicity and eventually rounding errors did pop up after time (...
- Mon Dec 03, 2007 5:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Trying to get a Battleship Program ASAP
- Replies: 29
- Views: 40034
Have you checked the tutorials section here? There's all kinds of tutorials that will help. I wouldn't bother with the ones in the magaizines yet, but the begginers section should be very good for you. But you don't know about Pset ? :shock: I learned Pset before Print (I kept on typing Disp , befor...
- Sun Dec 02, 2007 9:37 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What's the largest possible double number?
- Replies: 8
- Views: 14905
- Sun Dec 02, 2007 9:20 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What's the largest possible double number?
- Replies: 8
- Views: 14905
- Sun Dec 02, 2007 8:56 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What's the largest possible double number?
- Replies: 8
- Views: 14905
Re: What's the largest possible double number?
But what does the e+308 mean? I don't want precision, I just want a max number.Mac wrote:How about "d"?Mentat wrote:Please don't use e.
K# DOUBLE
double-precision 64-bit floating-point
Sixteen place accuracy, Max = 1.797693134862315D+308
- Sun Dec 02, 2007 5:54 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: What's the largest possible double number?
- Replies: 8
- Views: 14905
What's the largest possible double number?
Please don't use e.
- Sun Dec 02, 2007 12:33 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Trying to get a Battleship Program ASAP
- Replies: 29
- Views: 40034
I won't give you the code, but I'll give you some hints. A) Use a matrix for the board B) Use different numbers for different states (ex: 0 is unhit water, 1 is unhit ship square ...) The rest should fall together. Now if you have specific questions about certian parts of code and technique, and if ...
- Sat Dec 01, 2007 8:28 am
- Forum: General Discussion
- Topic: What's the best way to fill in a triangle?
- Replies: 11
- Views: 28353
- Fri Nov 30, 2007 9:21 pm
- Forum: General Discussion
- Topic: What's the best way to fill in a triangle?
- Replies: 11
- Views: 28353
- Fri Nov 30, 2007 6:54 am
- Forum: General Discussion
- Topic: What's the best way to fill in a triangle?
- Replies: 11
- Views: 28353
- Thu Nov 29, 2007 8:54 pm
- Forum: General Discussion
- Topic: What's the best way to fill in a triangle?
- Replies: 11
- Views: 28353
What's the best way to fill in a triangle?
I just figured out how to do it. My book was talking about rasterization of polygons. Though it does some complicated stuff with vectors and matricies. I didn't figure out how to do it the way the book said, but the chapter/section on culling did lead me to a question. Which in turn, led me to an id...
- Tue Nov 27, 2007 8:15 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Lists in QBASIC
- Replies: 3
- Views: 5932
Code: Select all
DIM MyArray[3]
- Mon Nov 26, 2007 5:11 pm
- Forum: Pete's QB Site News
- Topic: QB Express Article Requests
- Replies: 140
- Views: 850059
- Sat Nov 24, 2007 3:09 pm
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 238629
- Sat Nov 24, 2007 10:47 am
- Forum: Pete's QB Site News
- Topic: QB Express #26 Deadline: November 24th
- Replies: 37
- Views: 238629
FreeBASIC tutorials? I actually use just fragments of code in my tutorials, that are made for qb but can also be used in fb. I used to make dual-compatibility, but now I'm leaning to FB. My next tutorial is exclusively FB. Anybody who can tweek my code enough to make it QB compatible would already ...
- Tue Nov 20, 2007 6:40 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Rotating a bit map image
- Replies: 11
- Views: 25461
Or, you can load the main image into a compiler such as BlitzBASIC that can easily rotate, save the turned images, and then just load them. Yes! It would be incredibly inefficient to use rotation via angles when all you want to do is reverse bits Yes, but using angles is more flexible. Angles can ha...