575 Posted Topics
Re: I've never seen segmentation faults in Perl apps, so I'd guess the problem is between the inline CPP code and the CPP program itself. The "best debugger" is assuming everything's going to go wrong before you start and making adequate provision for real-time/recorded logging throughout your code. Break the program … | |
I've just registered a MIME handler for a custom filetype; I've got the basic redirection sorted, all files of type XRM get sent to a 'dumb' perl script that echos predefined values. But, how do I read in the contents of the XRM file that invoked the perl script? Does … | |
Re: The most important thing you need is a concept; then play around with java (use borland jbuilder or another context-helpful IDE), read the very, very basics to find out about the syntax. once you've done that, you just need to map your concept into objects that can interact to bring … | |
I'm not going to go into much detail here; I've knocked up a lil example application to show where I'm having trouble; I'd like to know why $REF_DREF_A != $REF_DREF_B (and equally why there isn't a "hippo" qualifier to the "hello" in @DREF_B)... But more importantly, can I easily make … | |
Re: do you know java, or have they just taught you AI theory? look for some java/C reference material. the java.com site sucks if you don't know any java. C doesn't have an official site, but there'll (probably) be more hello-world-type C apps on the net. don't start until you know … | |
Re: perl can start new threads (in a unix environment) and so can C++ (in any modern environment) you could write a perl program with multiple threads that launched a c++ program with multiple threads, each thread could launch another perl program (or connect back to the same process) and within … | |
So, I got a GPRS/UMTS modem for my laptop 2 days ago. It's extremely cool, maybe I'm only posting this message to show off that I have one. But I'm honestly intriuged by an aspect of it. It renders pages (layout, style etc) exactly how a wireless modem would, and … | |
Re: You need a way to connect the games in real time; painting the image is really the last of your concerns! As jwenting said, you only need to pass player moves across the network; either as a stream of events or a sequence of moves that the client side program(s) … | |
This isn't an SSI or a CGI board, but I hear ColdFusion is quite SSI related, and it's the best place for this question I hope. I'm wondering if it's possible to do something like this: "html" page (actually XSL transformed XML page) has an SSI #include or #exec, then … | |
Re: [quote]Yes, but in the .NET framework you can just drag an internet browser in...[/quote] You can certainly drag on a web browser in VB6.0. Look in the extended/full control list.. I'll walk you through because I don't remember exactly myself.. Right click your toolbox and hit components, or go to … | |
Re: Delphi 7 is cross platform, more forgiving than C, and IMHO superior to VB for a number of reason; cross platform-ness being the first, automatic "relative" layout (applicable to GUI only) being the second, faster execution being the third, better (included) libraries being the fourth. Well. i could go on, … | |
Re: You should know when the data is going to change. Encapsulation isn't the best thing in the world, but it does let you notice changes in things. Your "data structure" should have methods that allow users to write to it, when these methods occur you can invoke an action in … | |
Re: I have no idea why you'd wanna do this! and yeah, Java != JavaScript, although clearly some copying went on, on more levels than just name... JavaScript is NOT the same on all browsers though. The code below is tested in Firefox and IE - it's a bit hacky to … | |
Re: [LEFT]If you were only using a circle, not a sphere, it's simple trigonometry; sphere is abit more difficult though, do you have to take rotation (of the sphere) into account? For a circle though; see attached image, and you must know: - The distance (D) from the viewing platform to … | |
Re: [quote=bharatchhajer]I am an Architect who is 10 years experienced in Software Development. Its very good that you are seeking help for class programs rather than getting them done as that's the right thing to do. I would be willing to be guide and tutor for $15 an hour. You can … | |
The index page of my site is redirected permanently to another page on my site using .htaccess, I'm messing about with IBP9's spider simulator to see how a search engine would see it; apperently this is what they'd see from the index page: <html> <head> <meta http-equiv="refresh" content="0;url=./YaBB.pl"> </head> I've … | |
Either I'm doing something very wrong, or the XMLDocument component is a terribly written component. I keep getting Access violation at #ADDRESS Read Of #ADDRESS errors, no explanation just a peek at the CPU showing the error occurs all of the place depending on which test I'm doing. Basically, all … | |
Re: [QUOTE]Do you want to set the server up for local testing purposes or for hosting a site from home? [/QUOTE] do you know how i'd set up a server for local testing purposes? i posted a thread "connect to self" sometime ago, that outlines what/why i want to do (it). … | |
Re: well, you need to make the button extend JButton (or Component) to be able to add it to a form; try with JButton because otherwise you'll have to write your own graphic routines and action notifiers; try this code: [code] [LEFT]import javax.swing.JButton; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; /** * NButton - … | |
Re: i honestly have no idea what a Java sheet is; but if I had to hazard a guess, it's one of the original sheets of paper that a Mr. John Java-Jones used to plan, design, and eventually implement Java upon, back in the year-of-our-lord 1308. very rare if you can … | |
Is it possible to make my computer both a server and a client in a LAN? Some of the projects I'm working on are internet based, and opening pages and scripts from disk doesn't have quite the same results as accessing it from a network; biggest difference is with Flash … | |
Re: It's not annoying if someone has a problem; and the question doesn't seem like a homework request either. If you're reading exressions from a file, you need a way to parse the contents of the file and recognise operands; java DOES have a simple evaluate function, so you can do … | |
Re: If you do want to ever create an Image, you can use: JPanel.createImage(width, height, null) (it's a member function of quite a few panels, frames, etc). If you want to load an image from a file or webserver use Toolkit.getDefaultToolkit().getImage((url|path)). Images/Graphics can be weird, I've never understood why Image is … | |
Hi there. I'm new to this forum, and new to Delphi, my programming experience goes from BASIC > Visual Basic, C++ (DirectX not MFC or GDI), and Java/Java3D. I did a little Pascal programming in college a few years ago, but what I remember isn't sufficient to help me much … |
The End.