Forum: Pascal and Delphi May 13th, 2006 |
| Replies: 4 Views: 30,525 That should be pretty straightforward. On a click of a button, take the Text property into a String variable, then with one "for" loop walk the string, take every character, get the integer... |
Forum: Pascal and Delphi May 12th, 2006 |
| Replies: 1 Views: 3,495 How about you to try to debug your code? |
Forum: Pascal and Delphi May 12th, 2006 |
| Replies: 4 Views: 30,525 It might seem strange to you, but text files are binary, too. It's the application that treats them differently. For example, if you change the extension from .txt to .bin, the application will not... |
Forum: C++ May 12th, 2006 |
| Replies: 11 Views: 2,610 I am using Borland's C++ BuilderX Personal. Great tool, and also multiplatform. You can use the same IDE in WIndows, Linux, Solaris... Also good if you need cross-compiling. You can register your own... |
Forum: C++ Dec 8th, 2004 |
| Replies: 9 Views: 3,041 Besides, you do not have a break statement for case 3. You need to put break statements for each case. |
Forum: C Dec 6th, 2004 |
| Replies: 1 Views: 6,136 Ok, bit by bit :
y=f(x) is the curve.
In our case, f is sin(), y is iSinValue, which makes x = count*PI.
What's not clear? |
Forum: C Dec 6th, 2004 |
| Replies: 8 Views: 2,401 if you work on unix/linux, check the man page for getopt() function. It helps very much. At first it seems like an overhead, but in fact is very usefull. |
Forum: C Dec 6th, 2004 |
| Replies: 7 Views: 6,566 Ok, I'll just give you a hint, try to do the program by yourself. Start with matching the characters on the opposite end of the string. On the first mismatch, get the rest of the string, create the... |
Forum: C++ Dec 3rd, 2004 |
| Replies: 3 Views: 2,790 The error means that you are trying to access an uninitialized object (not necessarrilly NULL, but uninitialized). Having bad experiences with VS.NET debugger, my hint would be to inspect the objects... |
Forum: C++ Dec 3rd, 2004 |
| Replies: 2 Views: 2,466 You sure did not get this message when running your program - it is a linker error complaining that it did not find a certain function (that would be GetInformation). You are not quite specific, but... |
Forum: C++ Dec 3rd, 2004 |
| Replies: 11 Views: 3,495 I think you should use both solutions : make a forward declaration and use pointer dereferencing. If you don't use pointers, compiler allocates the objects on the stack, which is much slower than... |
Forum: Game Development Dec 2nd, 2004 |
| Replies: 9 Views: 6,377 No it doesn't, but it is bad anyway. Don't get me started, this is neither time, nor place for this. Besides, try to be less offensive, and try to be constructive for a change. It's easy to be rude.... |