Forum: Python 15 Days Ago |
| Replies: 17 Views: 418 There are of course others out there. But this one is the simplest and produce decent set. You can search for pseudorandom number generator algos.
http://en.wikipedia.org/wiki/List_of_algorithms... |
Forum: Python 16 Days Ago |
| Replies: 17 Views: 418 What I mean is instead of directly printing whole list, you have to print numbers individually, to avoid L at end:
for x in rand_num:
print x |
Forum: C++ 16 Days Ago |
| Replies: 14 Views: 361 To avoid buffer overflow, prefer using cin.getline(char_ptr, size);
>> With that code, calling the >> operator will always store it into appt.subject, but what about storing information to... |
Forum: C++ 16 Days Ago |
| Replies: 14 Views: 361 The problem is again sort of same. appt.subject = new char[strlen(ptr) + 1];. Neither ptr holds any string nor it point to any dynamically allocated memory and you are still trying to calculate its... |
Forum: C++ 16 Days Ago |
| Replies: 14 Views: 361 Its happening because subject is not pointing to a valid address, basically you haven't allocated memory to it. Either use char subject[size] or allocate memory in constructor using malloc() or new... |
Forum: Python 16 Days Ago |
| Replies: 17 Views: 418 You mean output sort of this 132434454545435435L.
Well this happens when the number gets greater than usual integer type range. Python converts normal integer into Long type and Python shows L... |
Forum: Python 16 Days Ago |
| Replies: 1 Views: 159 Your regular expression would look like this:
<%%>CNT(\d)+</%%>
We have put digits in a group.
And substitue it with <id>\\1</id> using sub method in re class. Here "\\1" indicated the... |
Forum: Graphics and Multimedia 16 Days Ago |
| Replies: 2 Views: 448 Cant be sure but try using batch conversion from PNG to PNG. Otherwise choose an intermediate format during conversion which would surely remove editable components(though make sure you have selected... |
Forum: Python 16 Days Ago |
| Replies: 17 Views: 418 Well there are several algorithms to generate random number, simplest to my knowledge being Linear congruential generator(LCG) (http://en.wikipedia.org/wiki/Linear_congruential_generator).
The... |
Forum: Graphics and Multimedia Jul 28th, 2009 |
| Replies: 8 Views: 501 I dunno if there is any linux application to edit FLA files. But you may try using Wine Project (http://www.winehq.org/)to use Windows version of Flash. |
Forum: C++ Apr 6th, 2009 |
| Replies: 0 Views: 678 The given code snippet checks whether a given string is a part of other string and wildcard are allowed. |
Forum: C Apr 5th, 2009 |
| Replies: 2 Views: 282 Post the code, whatever you have tried.
We only give homework help to those who show effort
http://www.daniweb.com/forums/announcement118-2.html |
Forum: C++ Apr 5th, 2009 |
| Replies: 12 Views: 2,491 Oops...I just missed a point in previous post. Anyway the loop gotta look like this.
//take matrices values before starting
for (int i=0; i<6; i++)
{
for (int j=0; j<6; j++)
{
... |
Forum: C++ Apr 5th, 2009 |
| Replies: 12 Views: 2,491 First of all replace M[i][j] = m1[i][k]*m2[k][j]; with M[i][j] += m1[i][k]*m2[k][j];. See the algorithm in above post, for explanation. Also dont forget to set M[i][j] value to 0 before running third... |
Forum: Graphics and Multimedia Apr 4th, 2009 |
| Replies: 3 Views: 756 Could you post the link to web page or some code to which we can look and solve. Chances are slim for getting problem solved just by the information you have given. |
Forum: Graphics and Multimedia Apr 3rd, 2009 |
| Replies: 1 Views: 398 > Could I edit the actual flash code?
Well there are few decompilers for flash but then you need Adobe/Macromedia Flash to edit them as they generate fla. Also those decompilers really don't work... |
Forum: C++ Apr 3rd, 2009 |
| Replies: 12 Views: 2,491 What you have done is multiply corresponding elements of matrices. However its not so. First of all the two matrices should not be necessarily of same dimensions. It should be rather of form NxP and... |
Forum: Graphics and Multimedia Aug 3rd, 2008 |
| Replies: 2 Views: 2,448 Use all. All are building blocks of making a complete site, among which CSS is damn necessary. JavaScript is also very useful tool. To make a dynamic site, err I mean one with database access, server... |
Forum: Graphics and Multimedia Jul 5th, 2008 |
| Replies: 2 Views: 893 |
Forum: Graphics and Multimedia Jun 16th, 2008 |
| Replies: 7 Views: 1,307 use getURL() (http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html) function. Use this function ion layer action panel of last frame. |
Forum: HTML and CSS Jun 12th, 2008 |
| Replies: 3 Views: 664 Well there is nothing like advanced HTML. Its very straight forward markup language. Same with CSS. Its very easy to learn them all and know what they do but the thing is that you should know how to... |
Forum: Graphics and Multimedia Jun 12th, 2008 |
| Replies: 5 Views: 1,334 Then this would work:
movieclipname.onRollOver = function(){
stop();
}
I removed this because if you use that it will stop the clip playing inside that movie clip will stop, not the... |
Forum: HTML and CSS Jun 12th, 2008 |
| Replies: 11 Views: 2,516 Enclose your code inside [code] (http://www.daniweb.com/forums/announcement143-4.html) tags to make it more readable and presentable. |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 4 Views: 11,128 > Sothink SWF Decompiler
Its a decompiler not compiler. |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 6 Views: 1,211 Err....start with google'ing for tutorials. There are loads.
Use Adobe/Macromedia Flash, its the best and complete solution. |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 6 Views: 1,201 NO I dont think you could do so. Those who charge for images, put a big [SAMPLE] stamp on the image. |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 5 Views: 1,334 Create a layer over the tween if both exist in same layer. Otherwise if would be simple. Posy if I not very clear.
on (rollOver) {
_movieClipName.stop();
} |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 2 Views: 768 Well I recommend to start with Flash and some graphic manipulation program like Photoshop. Otherwise try to google things. |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 1 Views: 832 If you want a hyperlink to another webpage tryout getURL() (http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary377.html). Otherwise for another frame try... |
Forum: Graphics and Multimedia Jun 11th, 2008 |
| Replies: 4 Views: 11,128 Well, there is nothing free for flash development when you want full featured, powerful tool. If you want some simple things tryout SWFTOOLS (http://www.swftools.org/). Otherwise spend few bugs on... |
Forum: HTML and CSS Jun 11th, 2008 |
| Replies: 11 Views: 2,516 Try this handy tool.
http://www.kirupa.com/developer/flash5/flash_html.htm |
Forum: Graphics and Multimedia Jun 2nd, 2008 |
| Replies: 4 Views: 885 I'm a very good in graphics but I think, GIMP is pretty good image editing software and its worth learning. It has gained good reputation in community and the best freeware. Suffice most of my needs.... |
Forum: HTML and CSS May 29th, 2008 |
| Replies: 4 Views: 703 Also as far as I know Visual studio just got good support for ASP.NET and nothing else, so dont use it. |
Forum: Site Layout and Usability May 28th, 2008 |
| Replies: 13 Views: 3,086 > how would i make a website that isn't absolute dimension?
For this I would say learn and practice. You will know yourself. Learn HTML/xHTML, CSS(if you want then JavaScript too), practice them... |
Forum: Site Layout and Usability May 27th, 2008 |
| Replies: 13 Views: 3,086 > How do i make the site fit to all resolution screens
It wont fit in all resolutions because, you have specified absolute dimensions to every image and table, the everything is constant. Also if... |
Forum: Site Layout and Usability May 27th, 2008 |
| Replies: 13 Views: 3,086 > that didn't get rid of the problem with the layout having big gaps
Have you followed instructions exactly as what I said, cause my solution works well with Firefox2, Opera9, and IE7. Try again,... |
Forum: HTML and CSS May 27th, 2008 |
| Replies: 4 Views: 703 > Erm . Need Help With Navigator.
What??? Explain your problem clearly. Do you think other members will understand what you ask with that single line. Show what you have done, and you will surely... |
Forum: Site Layout and Usability May 27th, 2008 |
| Replies: 13 Views: 3,086 > I have never done this before so i dont know what to do with that css Syntax
Well, its simple. Just add following lines anywhere between the <head></head> tags.
<style type="text/css">
... |
Forum: Site Layout and Usability May 27th, 2008 |
| Replies: 13 Views: 3,086 Could you post link to the page or a bit of with which you have problem so that we could help better.
Well you may try this. Use following CSS properties and see if it works.
{
border-width:... |
Forum: Graphics and Multimedia Mar 19th, 2008 |
| Replies: 2 Views: 1,156 Well, don't keep height and width attribute empty. It will surely result into undefined behavior. |