3,892 Posted Topics
Re: [URL="http://www.netlingo.com/"]AFAIK - As far as I know[/URL] | |
Re: > I am making a game, the error is that in the "d" loop (for...) the > value "holeBalls" stays always the same. It will remain the same because you never update it in the loop and always use it to perform the bound check. Maybe something like this: [code=javascript] … | |
Re: Single Precision numbers (4 bytes storage) have 23 bits for mantissa i.e. approximately 7 decimal digits. Eg. 1.123456 Double precision numbers (8 bytes storage) have 52 bits for mantissa i.e. approximately 16 decimal digits as their precision. Floating point numbers have two properties, accuracy and precision. Accuracy is layman's terms … | |
Re: No, Servlet is an abstract class, HttpServlet is not. It already has the generic implementations of the methods which the user is free to override. | |
Re: Triggers have got nothing to do with JDBC, they are database specific. A trigger is executed when a condition predetermined in the trigger is encountered. Triggers are written on tables to act before or after the action specified. Triggers remain transparent to the Java programmer AFAIK, though you can call … | |
Re: Maybe [URL="http://epaperpress.com/lexandyacc/index.html"]this[/URL] would help. | |
Re: I hope you do realize that a byte consists of 8 bits. If all your program does is looks at the bit pattern and prints out dashes and spaces, you would either have to change the function signature to accept integers so that you can work with 32 bit patters … | |
Re: As a rule of thumb, if you need to modify a variable in another function, you need to pass an address of it to the called function. In this case you wanted to modify the char pointer and hence need to pass the pointer to the char pointer i.e. the … | |
Re: Something like [URL="http://www.codeproject.com/audio/VideoAnaFramework.asp"]this?[/URL] | |
Re: Offhand it would be difficult to point out the actual cause of your application _not working_ but I guess the collection used to hold values is not getting updated or the DAO methods are returning rogue values in your case. Without more code, I don't think anyone would be as … | |
Re: Read [URL="http://www.comptechdoc.org/independent/web/cgi/javamanual/javaihit.html"]this.[/URL] | |
Re: Plus developing a 'search engine' has got nothing to do with Servlets, PHP or any other server side technology as a matter of fact. Its an area of research requiring high expertise. | |
Re: Maybe asking it at the [URL="http://www.qtforum.org/"]QT forum[/URL] would be more appropriate. | |
Re: Since the frequency is initialized with 0 and can hold a maximum value of 5, we can also write: [code=c] if(frequency != 5) cout << "\nThere are" << frequency << " number of your prediction that matches"; else cout << "Congratulation!! All of Your Prediction Matches ";[/code] | |
Re: > The first step told me to make a wordpad document and name it: Wordpad is not a text editor, its a word processor. It inserts its own headers in the saved file. You need to use [I]notepad. [/I]In short you need something which saves the files in plain text … | |
Re: [B]Praneeth [/B]you should use code tags for posting your code. This is the third time I have edited your post to add code tags. Take some time to read the forum announcements and the stickies at the top of the forum before posting again. | |
Re: [quote]Write a program that will read in an unknown number(not more than 40) of dates from a text file in the form mm/dd/yyyy. In orger to sort them chronologically, the program must convert the date into the form yyyymmdd. After sorting, reconvert the date back to its original format and … | |
Re: Hey, whatever happened to 'everyone should get a fair chance' thing. ;-) PS: I am happy I use code tags. Martians give me the creeps... | |
Re: Set the color property of text for the given td based on the value fetched from the tabe. [code] if value is 'late' <td style="color: red;">late</td> else <td style="color: green;">on time<td> [/code] You can use normal conditional statements to do this work though it would be better if you use … | |
Re: Javascript standards don't mandate semicolons but always make sure you put them because there are many browsers out there who would like to suck your project in. | |
Re: > Now that's perfect question to be answered with someone's signature :-) [QUOTE]Just because it is possible to push twigs along the ground with one’s nose does not necessarily mean that that is the best way to collect firewood.[/QUOTE] | |
Re: Also you should consider using JSTL instead of embedding business logic / scriptlets inside your JSP file. Read the following: [url]http://java.sun.com/products/jsp/jstl/[/url] [URL]http://www.developer.com/java/ejb/article.php/1447551[/URL] | |
Re: Depends on what kind of project is under consideration. Some combinations I have seen are: [LIST] [*]Web server and database server [*]App server and database server [*]Web server, Application server and database server[/LIST]And BTW, a web server is different from a Servlet container considering that the latter is required if … | |
Re: Why do you need Javascript if all you want to do is color the text? You can very well use CSS to do the same. [code=html] <html> <head> <title>Example</title> </head> <body> <table style="border: 1px solid green; color: red"> <tr> <td>Hello to all</td> <td>This is some dummy text</td> </tr> </table> </body> … | |
Re: AFAIK, due to security reasons, no. Plus Javascript has an event driven model, moving around the cursor with 'Javascript' wouldn't make sense either. | |
Re: The "properties doesn't exists" error is usually thrown when no such element by the given element id or name exists or when you are trying to call a function which the object doesn't possess. (eg. length function on RegExp instead of String). Something like this. In the code below, it … | |
| |
| |
Re: [quote=Sturm;391638]Sorry but I will have to disagree with you. I have never been beaten and I really don't consider myself spoiled, stupid, and rotten. (In fact, I consider myself quite the opposite) Beating the child [I]may[/I] (in fact it might have just the opposite effect) improve discipline but it will … | |
Re: GTK+ has got nothing to do with OpenGL. GTK, wxWidgets are GUI libraries. Visit the concerned site for more information. | |
Re: That is called an image map. Read more about it [URL="http://www.htmlcodetutorial.com/images/images_famsupp_220.html"]here[/URL] and [URL="http://www.javascriptkit.com/howto/imagemap.shtml"]here.[/URL] | |
Re: > Bill Gates continuously finds ways of letting computer users pay for > the same thing over and over. Amen to that. ;-) BTW, [URL="http://www.daniweb.com/forums/member163593.html"]quintoncoert[/URL] I hope you do realize that the '>' are there for a reason. They are used for quoting text. Your use of '>' makes your … | |
Re: > whats your user name? The username and the display name is the same. :) | |
Re: > I'm too sensitive and you're too mean. Fair enough? Yes, even her title suggests the same. :-) > I don't even know how to blog.. Daniweb is certainly missing out Missing out something it never had, fair enough. ;-) | |
Re: Nothing is hard if you try, though I must admit the syntax differs a lot from C++ type languages. There are a lot of tutorials on the internet, you just need to read them and start practicing. Writing small workable scripts would be a piece of cake. See [URL="http://www.google.co.in/search?hl=en&q=vbscript+tutorials&btnG=Google+Search&meta="]this.[/URL] | |
Re: [URL="http://norvig.com/21-days.html"]Here[/URL] is something for those people who think that 'Teach yourself xxx in yy days' can do them any good.. | |
Re: I don't know how exactly MS SQL behaves, but here is an equivalen in MySQL. Try to modify this to your needs: [code=sql] select substring(zip, 1, 3) as ZIP, sum(AvailNums) as SUM from AvailHomeZips group by ZIP;[/code] | |
Re: There can be many reason behind it, Java not being able to find your class file etc. etc. Have you tried running your applet using the console command 'appletviewer'? If it works then its definitely some problem with the location of class files. Letting us know of the directory structure … | |
Re: > free/open source Flash creation program Flash is a proprietary software, you would need to buy it. > On another note, would Java be more suited for the job or should I try to learn Flash? You are being very vague here. Its like asking whether you would prefer salt … | |
Re: > I have the basic knowledge in C++ and C. Better start off with some console based games. They would help you in concentrating on the logical aspects of the game without wasting your time in developing the GUI. Plus commercial games make use of API's like DirectX and OpenGL … | |
Re: > I would like to call a function situated on a server side servlet or in > a jsp file with a javascript function (client side) and to show the > results returned by the servlet's function. Any reason for this weird requirement. There is as such no problem which … | |
Re: > Does looking at page src constitute cheating? If it gives you an unfair advantage over others, yes. | |
Re: Torque is AFAIK a properietary game engine. You can't get it for free, you have to purchase it. Visit the official site for more details. | |
Re: In that case you would have to create your own virtual screen by making those components visible. | |
Re: I don't think everyone would learn a new game just to help you out, so you should at least post the complete relevant code and the exact nature of the problem(warnings, errors, bugs). The current description seems so lost. | |
Re: Zandiago, by now, you should have learned how to use code tags. Enclose your code in code tags. | |
Re: Your <form> tags start before the <body> tag, not to mention most of the tags haven't been even terminated. The code is so cluttered that its difficult to mark down anything. But considering that the statement 'document.getElementById()' is directly placed in the script tags in the head section, it would … | |
Re: Ruby on Rails, Java, Python, C#, Web development using PHP, AJAX, MySQL are the way to go nowadays. One or more of the above skills will land you up with a good job provided you have the required expertise. | |
Re: Programming fetches good money if you are comfortable with it, and believe me, not many people are. They just jump on the IT bandwagon, thinking that if everyone can do it, so can they, but alas, lack of interest kills everything. It doesn't matter where you are, the only thing … |
The End.