3,892 Posted Topics

Member Avatar for sk8ndestroy14
Member Avatar for joshSCH
0
735
Member Avatar for Racoon200

> 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] …

Member Avatar for Racoon200
0
103
Member Avatar for snakai415

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 …

Member Avatar for snakai415
0
84
Member Avatar for satish.paluvai

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.

Member Avatar for masijade
0
89
Member Avatar for satish.paluvai

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 …

Member Avatar for ~s.o.s~
0
80
Member Avatar for gobispo

Maybe [URL="http://epaperpress.com/lexandyacc/index.html"]this[/URL] would help.

Member Avatar for ~s.o.s~
0
73
Member Avatar for kinggarden

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 …

Member Avatar for kinggarden
0
101
Member Avatar for ridhimasatam

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 …

Member Avatar for ~s.o.s~
0
350
Member Avatar for Fribs

Something like [URL="http://www.codeproject.com/audio/VideoAnaFramework.asp"]this?[/URL]

Member Avatar for dougy83
0
102
Member Avatar for md_salman

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 …

Member Avatar for sam.n
0
77
Member Avatar for tehgreatmg

Read [URL="http://www.comptechdoc.org/independent/web/cgi/javamanual/javaihit.html"]this.[/URL]

Member Avatar for digital-ether
0
978
Member Avatar for jamello
Member Avatar for jamello
1
482
Member Avatar for marcories

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.

Member Avatar for ~s.o.s~
0
83
Member Avatar for sebajo

Maybe asking it at the [URL="http://www.qtforum.org/"]QT forum[/URL] would be more appropriate.

Member Avatar for ~s.o.s~
0
47
Member Avatar for pixrix

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]

Member Avatar for pixrix
0
1K
Member Avatar for snakai415

> 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 …

Member Avatar for peter_budo
0
255
Member Avatar for aaisha

[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.

Member Avatar for Narue
0
118
Member Avatar for radskate360

[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 …

Member Avatar for Lerner
0
629
Member Avatar for b.bea

Hey, whatever happened to 'everyone should get a fair chance' thing. ;-) PS: I am happy I use code tags. Martians give me the creeps...

Member Avatar for WaltP
1
168
Member Avatar for akash_msrit

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 …

Member Avatar for ~s.o.s~
0
100
Member Avatar for bball7210

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.

Member Avatar for ~s.o.s~
0
110
Member Avatar for vladdy19

> 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]

Member Avatar for ~s.o.s~
0
172
Member Avatar for saswati_mishra

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]

Member Avatar for ~s.o.s~
0
182
Member Avatar for arunprashanth
Re: Java

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 …

Member Avatar for masijade
0
114
Member Avatar for johnroach1985

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> …

Member Avatar for johnroach1985
0
312
Member Avatar for HTTL

AFAIK, due to security reasons, no. Plus Javascript has an event driven model, moving around the cursor with 'Javascript' wouldn't make sense either.

Member Avatar for HTTL
0
74
Member Avatar for trbjr

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 …

Member Avatar for trbjr
0
122
Member Avatar for christina>you
Member Avatar for hbk619
0
160
Member Avatar for Mr.UNOwen
Member Avatar for The Dude

[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 …

Member Avatar for joshSCH
2
1K
Member Avatar for bvgsrs

GTK+ has got nothing to do with OpenGL. GTK, wxWidgets are GUI libraries. Visit the concerned site for more information.

Member Avatar for ~s.o.s~
0
104
Member Avatar for nufanvandal

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]

Member Avatar for ~s.o.s~
0
67
Member Avatar for quintoncoert

> 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 …

Member Avatar for Narue
0
197
Member Avatar for dlh6213

> whats your user name? The username and the display name is the same. :)

Member Avatar for ~s.o.s~
0
215
Member Avatar for christina>you

> 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. ;-)

Member Avatar for joshSCH
0
229
Member Avatar for kylcrow

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]

Member Avatar for ~s.o.s~
0
114
Member Avatar for daddy89

[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..

Member Avatar for hinduengg
0
144
Member Avatar for MetalHobin

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]

Member Avatar for MetalHobin
0
88
Member Avatar for Jocamps

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 …

Member Avatar for ~s.o.s~
0
82
Member Avatar for danizzil14

> 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 …

Member Avatar for ~s.o.s~
0
130
Member Avatar for bvgsrs

> 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 …

Member Avatar for bvgsrs
0
2K
Member Avatar for ovidiu61

> 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 …

Member Avatar for ovidiu61
0
133
Member Avatar for ndeniche

> Does looking at page src constitute cheating? If it gives you an unfair advantage over others, yes.

Member Avatar for ndeniche
0
195
Member Avatar for Balapriya

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.

Member Avatar for jbennet
0
86
Member Avatar for hussulinux

In that case you would have to create your own virtual screen by making those components visible.

Member Avatar for ProgrammersTalk
0
80
Member Avatar for Racoon200

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.

Member Avatar for ~s.o.s~
0
100
Member Avatar for zandiago
Re: date

Zandiago, by now, you should have learned how to use code tags. Enclose your code in code tags.

Member Avatar for zandiago
0
118
Member Avatar for Arch_Bytes

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 …

Member Avatar for ~s.o.s~
0
201
Member Avatar for Alexandro

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.

Member Avatar for ~s.o.s~
0
57
Member Avatar for joey74055

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 …

Member Avatar for ~s.o.s~
0
132

The End.