3,892 Posted Topics
Re: The this pointer is not compulsory. Try it out without the 'this' and it would still work out to be fine. Since this function is executed in the context of some form element (text box in the example given below), 'this' here refers to the element under consideration. Read [URL="http://www.quirksmode.org/js/this.html"]this[/URL] … | |
Re: The only reason I don't like Mac, their price and customer service. Its too expensive for a normal person to buy plus there is not much I gain by using it. That being said, I am sure there must be a pretty good reason for all those people out there … | |
Re: Better yet, use an [URL="http://searchirc.com/"]IRC Search Engine[/URL] to search for your favourite IRC channels. | |
Re: Javascript, DHTML and AJAX have advanced fair enough, so making a site which has all the eye candy is no problem as such. Look into third party JS libraries to add effects to your site. (Drag and drop, rollovers, tool tips etc.) ![]() | |
Re: Maybe [URL="http://www.cprogramming.com/tutorial/enum.html"]this[/URL] will help you in understanding what enums _can_ and _can't_ do. BTW, why would you need enums? Do you need the first character of the symbols? Do you need the number representing the symbols? If you need the character, just use [inlinecode]inputword[0][/inlinecode] (after you have trimmed the string). … | |
Re: Its always a good practice not to ignore warnings which appear when you compile your code. A warning about 'converting from float to int' would have given you the reason why your program is not working. | |
Re: Maybe [URL="http://www.w3schools.com/media/media_quicktime.asp"]this[/URL] holds the key to your question. | |
Re: Personally have no experience with it, but I think[URL="http://einfall.blogspot.com/"] this[/URL] would help. | |
Re: Read the data from the database and store it in a string. Write the given string to the JSP file using the JSPWriter. Set the content type as 'text/plain' and the page will be rendered to the user as plain text. | |
| |
Re: > one of them said that C uses 2 bytes in windows for int Someone trying out a sizeof(int) on a prehistoric compiler would definitely say that. | |
Re: JSP's are nothing but Servlets in disguise, introduced for the purpose of separating presentation from logic. Read [URL="http://www.devx.com/tips/Tip/25217"]this.[/URL] | |
Re: The term page is generally used in context of a variable scope. Read it [URL="http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html"]here.[/URL] pageContext allows you to access the attributes of a particular JSP page. Read it [URL="http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/jsp/PageContext.html"]here.[/URL] | |
Re: Post some code so we can easily help you out without rewriting the same thing over again. | |
Re: > By the way, is it possible for say or 6 programmers get together and write heir own game engine [URL="http://irrlicht.sourceforge.net/author.html"]You can say that.[/URL] | |
Re: [quote]I have written a script for a drop down menu on my site which on mouse over the menu item changes from blue to yellow and show the drop down item but now I'm stuck,i want to use background images instead of colors.On mouse over, it changes from image A … | |
Re: First [URL="http://thepiratebay.org/"]The Pirate Bay[/URL] and now TorrentSpy. Looks like these people have started getting serious. | |
Re: There are some bugs in your code. Considering that you pass the size as 5 but have a Song array of size 4 causes you to access an location which doesn't belong to you. Also make your function 'search' return void since the return value is not serving any purpose. … | |
Re: > Or should I figure out how to use Visual Studio to do it? Visual Studio won't do it for you since its an IDE, not a language. Standard C++ has no inbuilt support for GUI, Networking and the likes. You have to resort to third party libraries. > Should … | |
Re: >villa! there it is! Its actually [B]voilà [/B] | |
Re: And don't create multiple threads for the[URL="http://www.daniweb.com/forums/thread81133.html"] same question[/URL]. | |
Re: You must ask specific questions, one at a time. [URL="http://en.wikipedia.org/wiki/Linked_list"] Linked List[/URL] is a type of data structure in which data is stored in nodes and each node points to the next node in the list. That is as simple as it gets. [URL="http://en.wikipedia.org/wiki/FIFO"]FIFO [/URL]means First In First Out. The … | |
Re: Go girl, go !! Don't forget to show them a print out of your Daniweb certificate... | |
Re: Its not a 'do' statement. Its called a 'do..while' loop, much like the 'while' loop except that the enclosing block is guaranteed to run at least once. [code=c] int i = 0; while(i) { //some code, this would never be executed // since the condition is checked before entering the … | |
Re: IMO, building up a strong logic is more important than learning X++, Y++ or any other language as a matter of fact. Queues will be queues, stacks will be stacks, binary trees would be based on the same principle, no matter which programming language. Like I always say, if you … | |
Re: Search for some open source Real time strategy or RPG games. You will find a lot of things for your use. | |
Re: There has been a lot of talk about [URL="http://www.rubyonrails.org/"]ROR(Ruby on Rails)[/URL]. It has been said that a Java Web based application which was developed in 4 months, was developed in 4 days using ROR. If you are yet to start on learning a new server side technology and have a … | |
Re: [quote]We have never had such a forum to avoid targeting the teenage / gamer type, instead trying to focus on reaching and attracting professionals with careers in IT. However, such discussion would be welcome in the Geeks' Lounge.[/quote] If having a 'posting games forum' doesn't shoo away the 'professionals' neither … | |
Re: Post your latest code so that it would be easier for someone to help you out. | |
Re: > Why does this not work, ...and next time describing the problem in detail along with error messages would be recommended rather than the so famous 'this does not work' statement. | |
Re: Are you allowed to use third party API's in your project? If so, then try using [URL="http://www.daniweb.com/forums/www.sqlapi.com/"]sqlapi[/URL], a C++ library for connecting to SQL databases. | |
Re: > Hey people -- it's a JOKE ...a thing which most of the people here find it difficult to digest. :-) | |
Re: You just need to add a newline the moment you have displayed four randoms. [code=c] for(int i = 0; i < 100; ++i) { if(i % 4 == 0) putchar('\n'); cout << randomNumber; } [/code] | |
Re: > Attached is my main, isn't she adorable? So this is how you look eh? Personally haven't played a lot of eye candy MMO's. Ragnarok and WOW. They consume a _lot_ of time. So I guess its good bye Everquest for you. ;-) | |
Re: Are you talking about the thumbnails of featured sites? Yes, they look [I]kawai. :)[/I] | |
Re: Hinduengg, stop posting in caps. Its considered to be rude and makes reading the post difficult. | |
Re: > What do you mean? You should at least look at the date the last post was made before replying to it. Next time you find an interesting old thread, create a new one instead of resurrecting the dead. | |
Re: [quote=thekashyap;388045] Going by the normal C/C++ tip: [B]do[/B] [inlinecode]int i = 0;[/inlinecode] [B]instead of:[/B] [inlinecode]int i; i = 0;[/inlinecode] So when you know the value for a variable at the time of it's creation it's better to initialize it to save a li'l time, rather than letting SOME value being … | |
Re: [code=java] <% int records1 = ic.getTotalNumOfRecords(); Integer records2 = new Integer(records1); String numberOfRecords2 = records2.toString(); %> <inquiry:tableClaimHistory numberOfRecords="<%= numberOfRecords2 %>" dataAction="claimHistoryViewData.do" emptyKey="error.noData"/> [/code] Though this approach is not recommended and you are better off using JSTL to reduce the clutter and better separation of presentation and business logic. | |
Re: Some requirements: [LIST] [*]Solid understanding of C++ [*]Strong OOP concepts [*]A decent mathematics background [*]Strong logical reasoning [*]Knowledge of API's like DirectX or OpenGL[/LIST]If you have done C++ from the tutorials on the internet, you need to read some good books since tutorials just scratch the surface. | |
Re: Maybe asking it [URL="http://www.garagegames.com/mg/forums/result.forum.php?qf=1"]here[/URL] would be more productive. | |
Re: Maybe [URL="http://www.quirksmode.org/js/cookies.html"]this[/URL] is what you are looking for. ![]() | |
Re: Best of luck Davey -- both for the ceremony and coping up with the luck handed out by others. ;-) | |
Re: You are using the fread function incorrectly by swapping the position of the second and third parameter. The second parameter is not the size of the entire file, but the size of each chunk. Try changing to [inlinecode]fread(iobuf, nblocks, filesize, in)[/inlinecode] and it should work out to be fine. | |
Re: ..because you failed to provide an implementation for the non-virtual function. [code=cplusplus] class abc { public: virtual ~abc() {} static void operator delete(void*) { /*do something*/} }; int main(int argc, char *argv[]) { abc _a; return 0; }[/code] | |
Re: Asking the question [URL="http://irrlicht.sourceforge.net/phpBB2/index.php"]here[/URL] would be more productive. |
The End.