3,892 Posted Topics

Member Avatar for exoscale

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

Member Avatar for MattEvans
0
115
Member Avatar for epsos
Member Avatar for linux

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 …

Member Avatar for John A
0
189
Member Avatar for jetru

Better yet, use an [URL="http://searchirc.com/"]IRC Search Engine[/URL] to search for your favourite IRC channels.

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

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

Member Avatar for iamthwee
0
166
Member Avatar for hray35

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

Member Avatar for ~s.o.s~
0
2K
Member Avatar for Jaav

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.

Member Avatar for ~s.o.s~
0
105
Member Avatar for caleno

Maybe [URL="http://www.w3schools.com/media/media_quicktime.asp"]this[/URL] holds the key to your question.

Member Avatar for arjunsasidharan
0
97
Member Avatar for SelArom

Personally have no experience with it, but I think[URL="http://einfall.blogspot.com/"] this[/URL] would help.

Member Avatar for ~s.o.s~
-2
313
Member Avatar for mawarzinnirah

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.

Member Avatar for ~s.o.s~
0
116
Member Avatar for lotsofsloths
Member Avatar for aasi007onfire

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

Member Avatar for ~s.o.s~
0
110
Member Avatar for sathishnatrajan
Re: jsp

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]

Member Avatar for ~s.o.s~
0
64
Member Avatar for suvitha_raj
Re: jsp

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]

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

Post some code so we can easily help you out without rewriting the same thing over again.

Member Avatar for ~s.o.s~
0
195
Member Avatar for ss339

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

Member Avatar for Salem
0
103
Member Avatar for anthmaina

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

Member Avatar for butjeffsays
0
224
Member Avatar for Duki

First [URL="http://thepiratebay.org/"]The Pirate Bay[/URL] and now TorrentSpy. Looks like these people have started getting serious.

Member Avatar for MidiMagic
0
907
Member Avatar for kpillsb39

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

Member Avatar for hinduengg
0
224
Member Avatar for phalaris_trip

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

Member Avatar for phalaris_trip
0
177
Member Avatar for lotsofsloths
Member Avatar for kpillsb39

And don't create multiple threads for the[URL="http://www.daniweb.com/forums/thread81133.html"] same question[/URL].

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

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 …

Member Avatar for hinduengg
0
111
Member Avatar for christina>you
Re: ACTs

Go girl, go !! Don't forget to show them a print out of your Daniweb certificate...

Member Avatar for sk8ndestroy14
0
322
Member Avatar for JRM

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 …

Member Avatar for JRM
0
113
Member Avatar for darkfuria
Member Avatar for pyapplico

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 …

Member Avatar for hinduengg
0
164
Member Avatar for sifuhall

Search for some open source Real time strategy or RPG games. You will find a lot of things for your use.

Member Avatar for ~s.o.s~
0
65
Member Avatar for akash_msrit

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 …

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

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

Member Avatar for ~s.o.s~
0
821
Member Avatar for hinduengg
Member Avatar for Narue
0
3K
Member Avatar for phalaris_trip

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

Member Avatar for ~s.o.s~
0
197
Member Avatar for Covinus

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.

Member Avatar for ~s.o.s~
0
144
Member Avatar for jamello

> Hey people -- it's a JOKE ...a thing which most of the people here find it difficult to digest. :-)

Member Avatar for hbk619
1
210
Member Avatar for alembic21

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]

Member Avatar for alembic21
0
126
Member Avatar for catch_ananya
Member Avatar for Narue

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

Member Avatar for joshSCH
0
347
Member Avatar for WolfPack

Are you talking about the thumbnails of featured sites? Yes, they look [I]kawai. :)[/I]

Member Avatar for MidiMagic
0
120
Member Avatar for jenymaru08

Hinduengg, stop posting in caps. Its considered to be rude and makes reading the post difficult.

Member Avatar for hinduengg
0
99
Member Avatar for Dani

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

Member Avatar for maravich12
0
566
Member Avatar for bala24

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

Member Avatar for ~s.o.s~
0
116
Member Avatar for jadeite100

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

Member Avatar for jwenting
0
112
Member Avatar for happyboy

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.

Member Avatar for happyboy
0
63
Member Avatar for Balapriya

Maybe asking it [URL="http://www.garagegames.com/mg/forums/result.forum.php?qf=1"]here[/URL] would be more productive.

Member Avatar for ~s.o.s~
0
64
Member Avatar for MDGM

Maybe [URL="http://www.quirksmode.org/js/cookies.html"]this[/URL] is what you are looking for.

Member Avatar for GreenDay2001
0
236
Member Avatar for scudzilla
Member Avatar for happygeek

Best of luck Davey -- both for the ceremony and coping up with the luck handed out by others. ;-)

Member Avatar for hbk619
2
90
Member Avatar for stanats

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.

Member Avatar for echobase
0
2K
Member Avatar for tcyge

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

Member Avatar for vijayan121
0
77
Member Avatar for prajay.shetty

Asking the question [URL="http://irrlicht.sourceforge.net/phpBB2/index.php"]here[/URL] would be more productive.

Member Avatar for prajay.shetty
0
96

The End.