3,892 Posted Topics
Re: I guess this is what Narue gets for letting budding programmers close to her. ;-) | |
Re: It doesn't make a difference. Both can be used. Are you facing problems with any of the above mentioned approaches? | |
Re: 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 … | |
Re: 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. | |
Re: Why not [URL="http://www.eclipse.org/downloads/"]Eclipse ?[/URL] | |
Re: 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] | |
Re: 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] | |
Re: 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. | |
Re: [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... | |
Re: > 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. | |
Re: [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 … | |
Re: Hey, how come you get to be the center of attraction everytime? ;-) Congratulations Davey. *thumbs up* | |
Re: Writing a whole class is JSP file is a total nightmare... | |
Re: Yes, marking solved thread as solved certainly saves the time one spends browsing it. | |
Re: Start off with [URL="http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html"]hibernate tutorials.[/URL] | |
Re: Yes it belongs to the cctype header in C++ and ctype.h in C. | |
Re: 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]. | |
Re: Software development, Web Development, Coffee House, Moderator's Place, Community Introductions...*phew* ;-) | |
Re: > 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. ;-) | |
Re: 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 … | |
Re: 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 … | |
Re: 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. | |
Re: > Unless you want boiled meat balls for dinner I suppose. YUCK !! ;-) | |
Re: Good luck with your school days [B]dcc[/B] , hope this turns out to be a fine experience for you. :-) | |
Re: [inlinecode]cout << ps->first_name << ps->last_name << ps->id_no << ps->age << endl;[/inlinecode] | |
Re: 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. ;-) | |
Re: And [B]jlb[/B] please stop posting in bold. Its not that your post would assume utmost importance if you do so. | |
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 … | |
Re: 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'. ;-) | |
Re: 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] | |
Re: [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. | |
Re: 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 … | |
Re: [URL="http://www.daniweb.com/techtalkforums/thread79228.html"]Duplicate of the thread in JSP section.[/URL] Thread closed. | |
Re: 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. | |
Re: 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 … | |
Re: [URL="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476706"]Yes.[/URL] | |
Re: Aha..now I know your motivation behind good looking posts, Joey. :D | |
Re: 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]. | |
Re: 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 … | |
Re: [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 … | |
Re: 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 … | |
Re: > 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 … | |
Re: 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 … | |
| |
Re: I guess this is what you call `Bad luck'... | |
Re: 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 … | |
Re: 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 … |
The End.