3,892 Posted Topics

Member Avatar for EnderX
Member Avatar for Aia
0
156
Member Avatar for JSP_javascript

It doesn't make a difference. Both can be used. Are you facing problems with any of the above mentioned approaches?

Member Avatar for ~s.o.s~
0
76
Member Avatar for pretu

Write your own function which has the same functionality as that of putpixel. If you have no idea how to go about it, maybe it is too difficult a task for you to undertake, not to mention you would have to dwell into Assembly. Maybe [URL="http://www.emu8086.com/dr/asm2html/assembler_source_code/0_sample_vga_graphics.asm.html"]this[/URL] would help you in …

Member Avatar for Salem
0
363
Member Avatar for Matt Tacular

Matt, [don't use deprecated headers](http://www.devx.com/tips/Tip/14447) and` [("pause");](http://www.gidnetwork.com/b-61.htmlsystem)`. They call for bad programming.

Member Avatar for Salem
0
149
Member Avatar for rinko
Member Avatar for jwenting
0
130
Member Avatar for CRD

Plus you need to convert the character to lowercase so as not to force the user to enter 'y' in lower case only. [inlinecode]while(tolower(continue) == 'y')[/inlinecode]

Member Avatar for ~s.o.s~
0
69
Member Avatar for annomalis

Yes. [code=javascript] <html> <head> <script> function add(a, b) { alert(a + b); } function takingFunction(x, y, func) { func(x, y); } </script> <head> <body> <form> <input type="submit" value="Submit" onclick="javascript:takingFunction(2, 3, add)" /> </form> </body> </html>[/code]

Member Avatar for ~s.o.s~
0
43
Member Avatar for linux

In that case, linking to google with a proper search term would have been more like it since its likely that with a proper search term, the results would have been more rewarding. Linking to just Google, makes no sense.

Member Avatar for joshSCH
0
155
Member Avatar for christina>you

[quote=Infarction;353410]Watch, I'll get more -rep for this too[/quote] :D I guess you would be more than happy to get the name of repper...

Member Avatar for Narue
3
892
Member Avatar for twomers

> I know you! Hang around here more. Yeah there are not a lot of people who Joey knows, so you better listen to him. :-) Welcome to Daniweb.

Member Avatar for jbennet
3
205
Member Avatar for laconstantine

[inlinecode]>char *p = "india";[/inlinecode] p here points to literal. It is more like [inlinecode]const char* p = "india"[/inlinecode]. Here it is const data, non-const pointer. Hence you can do something like [inlinecode]++p[/inlinecode], [inlinecode]--p[/inlinecode] and get away with it, while trying to manipulate the value won't work. [inlinecode] > char[] p …

Member Avatar for Narue
0
137
Member Avatar for happygeek

Hey, how come you get to be the center of attraction everytime? ;-) Congratulations Davey. *thumbs up*

Member Avatar for ~s.o.s~
10
282
Member Avatar for akash_msrit
Member Avatar for alienlinux

Yes, marking solved thread as solved certainly saves the time one spends browsing it.

Member Avatar for MidiMagic
0
139
Member Avatar for mahajanrahuld

Start off with [URL="http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html"]hibernate tutorials.[/URL]

Member Avatar for jwenting
0
65
Member Avatar for CRD
Member Avatar for CRD
0
59
Member Avatar for qaizaar

But the question here is which method. You can always write a servlet which would handle the client request when the 'submit' button is pressed. After that, its a simple thing of pulling out the text box values using [inlinecode]request.getParameter("textBoxName")[/inlinecode].

Member Avatar for ~s.o.s~
0
106
Member Avatar for twomers

Software development, Web Development, Coffee House, Moderator's Place, Community Introductions...*phew* ;-)

Member Avatar for Infarction
0
86
Member Avatar for The Dude
Member Avatar for Serunson

> Now it is going to be IMPOSSIBLE to catch back up.. Spend a little more time online, create your own game threads, post lots and lots and it won't be difficult for you to overtake Dani. Yep, thats the key to success. ;-)

Member Avatar for ~s.o.s~
1
319
Member Avatar for gajmp

Rather than trying to reinvent, take a look at the source code of Mozilla Firefox browser and build your own one from that point. This way you can actually implement some of the custom features you so much wanted with the plus being you don't have to code the same …

Member Avatar for John A
0
153
Member Avatar for student_help

It depends on the way you created those 'authorized' files. Your explanation is very vague here. You need to supplement it with some code examples or explain the scenario in depth. The problem appears not with your session since it is automatically destroyed when: 1. The user closes the browser …

Member Avatar for ~s.o.s~
0
66
Member Avatar for spidey

You can always try to use the split function, extract the three components from the given date, make a new Date out of it. Use this procedure for both the dates. Use: [inlinecode](d2.getTime() - d1.getTime()) / (1000 * 60 * 60 * 24)[/inlinecode] formula to get the number of days.

Member Avatar for ~s.o.s~
0
294
Member Avatar for arjunsasidharan
Member Avatar for dcc
0
122
Member Avatar for dcc

Good luck with your school days [B]dcc[/B] , hope this turns out to be a fine experience for you. :-)

Member Avatar for joshSCH
0
110
Member Avatar for jaepi

[inlinecode]cout << ps->first_name << ps->last_name << ps->id_no << ps->age << endl;[/inlinecode]

Member Avatar for jaepi
0
212
Member Avatar for sk8ndestroy14

Yes, please don't listen to others and start this already. Keep notifying us of your progress from time to time. After all, we wouldn't mind a fair bargain. ;-)

Member Avatar for sk8ndestroy14
0
115
Member Avatar for jlb_2_99

And [B]jlb[/B] please stop posting in bold. Its not that your post would assume utmost importance if you do so.

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

Hmm its strange but the spell checker which was working 6 hours back is no longer working for me. I am using Firefox 2.0 on Win 2003. Maybe its the changes you made recently. Also the spell checker works on other sites like Devshed and the likes so I guess …

Member Avatar for joshSCH
0
161
Member Avatar for sk8ndestroy14

Oh and BTW, you can't answer a poll more than once, if thats what you have kept as your 6th option. And me, 'I hate and refuse to participate in them'. ;-)

Member Avatar for sk8ndestroy14
0
111
Member Avatar for The Dude
Member Avatar for The Dude
0
92
Member Avatar for Zay

You are doing operator overloading the wrong way. The function needs to take only one parameter, not two, since one of them would be the instance on which the function is called. Read some good [URL="http://www.google.co.in/search?hl=en&q=operator+overloading+C%2B%2B+tutorials&btnG=Search&meta="]operator overloading tutorials.[/URL]

Member Avatar for twomers
0
212
Member Avatar for joshSCH

[quote=Chaky;360664]BTW, what's the criteria for the hot threads? I've seen threads that are marked as "hot" and with 4 replies(?)[/quote] The criteria for 'hotness' depends not only on the number of replies, but also on the number of views. I bet you must have seen a resurrected / old thread.

Member Avatar for Dani
0
817
Member Avatar for nse

What you are trying to dwell into is known as Software Engineering, which differs greatly from programming. Maybe you need to do a bit of reading to get the answer to all your theoretical questions. Maybe [URL="http://www.google.co.in/search?hl=en&q=software+engineering+articles+tutorials&btnG=Search&meta="]this[/URL] would be a good place to start off with. Click on the links …

Member Avatar for ~s.o.s~
0
112
Member Avatar for kahilw

[URL="http://www.daniweb.com/techtalkforums/thread79228.html"]Duplicate of the thread in JSP section.[/URL] Thread closed.

Member Avatar for ~s.o.s~
0
180
Member Avatar for Mr.UNOwen

Along with RGB there is a fourth channel called the alpha channel which decides the transparency. I guess this is what UNOwen is talking about.

Member Avatar for ~s.o.s~
0
102
Member Avatar for Acidburn

I don't know what you are trying to convey here. Maybe posting some example or coming up with a better example would be more like it. Is it that you want to dynamically load a different class file in different situation? You can trying keeping a command line parameter which …

Member Avatar for ~s.o.s~
0
70
Member Avatar for Acidburn

[URL="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476706"]Yes.[/URL]

Member Avatar for ~s.o.s~
0
105
Member Avatar for MidiMagic
Member Avatar for MidiMagic
0
363
Member Avatar for complete

union in C/C++ is basically a mechanism to store more than one of variable at a given memory location. It has a variety of uses. Look [URL="http://www.mycplus.com/cplus.asp?CID=7"]here[/URL] and [URL="http://msdn2.microsoft.com/en-us/library/5dxy4b7b%28VS.80%29.aspx"]here[/URL].

Member Avatar for Ancient Dragon
0
104
Member Avatar for Qwazil

A smart combination of Graphics card and RAM should set things alright for a gamer. Also it depends on the game you are about to play. Games like `Stalker: Shadows of Chernobyl' though recent require a minimal configuration. On the other hand, `Elder Scrolls' requires you to have a solid …

Member Avatar for Qwazil
0
88
Member Avatar for apontutul

[B]> [/B]The requested resource (/helloJSP/hello.jsp) is not available. This error usually means the container is unable to locate file. There is some problem with the path that you specify. If your root folder is "HelloJSP", and if your jsp file is present in the root folder, you just need to …

Member Avatar for ~s.o.s~
0
215
Member Avatar for addicted

Practice is the way to go. The more you practice, the more you know what goes under the hood, the more chances you have of avoiding errors and bugs. But Rashakil is right, if using lanauges like C, C++ bugs can't be avoided. Using modern languages like Ruby, Python etc …

Member Avatar for adotl
0
110
Member Avatar for The Dude

> Well thats just you i suppose to be honest I would actually find it > quite funny if someone drove past and shot me with a paintball gun. What if its not you? What if its one of your close ones, loved ones? It looks to be all fun …

Member Avatar for lasher511
0
208
Member Avatar for The Dude
Member Avatar for exit

How about something like: [inlinecode]double duration = Math.ceil(-Math.log(1 - a * r / p) / Math.log(1 + r))[/inlinecode] Though I would like to point out here that the log use here is to the natural base ([I]e) [/I]so you might want to convert it so that it is to base …

Member Avatar for exit
0
224
Member Avatar for christina>you
Member Avatar for hbk619
1
149
Member Avatar for tech291083
Member Avatar for alimirmd

You can store the current record position in a session scope and use it accordingly. [code=java] Integer lowerBound = session.getAttribute("lowerBound"); if(lowerBound == null) session.setAttribute("lowerBound", new Integer(1)); else session.setAttribute("lowerBound", new Integer(lowerBound.intValue() + increment)); Integer upperBound = session.getAttribute("upperBound"); if(upperBound == null) session.setAttribute("lowerBound", new Integer(increment)); else session.setAttribtue("lowerBound", new Integer(upperBound.intValue() + increment)); [/code] And …

Member Avatar for jwenting
0
120
Member Avatar for srinath.sec

Library calls execute within the process space of the `C or C++ runtime' whereas System calls spawn a separate process and the control is transferred from the current process to the newly spawned one. Each process has a stack of its own. Library calls result in the creation of a …

Member Avatar for Ancient Dragon
0
100

The End.