- Interests
- juggling, playing drums, programming, hackey sack, music, having fun. :D
If you are a programmer than you probably know or at least know of C++ well now a company called Digital Mars is developing the D programming lanugage. [I] "D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with … |
|
Hi, Say MyClass inherits from BaseClass, and I write the following constructor for MyClass: [code] public MyClass() { DoSomething(); } [/code] When MyClass constructor is called, does it call automatically the BaseClass constructor (even though I didn't explicitly wrote this) ? Thanks ! |
|
Hi I'm stuck wanting to create a dropdown, only supported by CSS. This is my current code: [code=php] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> <style type="text/css"> html, body { margin: 0px; } body { background-image: url('img/bottombackground.png'); } div.topbackground { width: 100%; height: 300px; background-image: … |
|
is there some script i can put in the webpage to make the video viewable to like the person looking at my site IN windows media player or whatever their media player is(but keep the video on the webpage... not in their program window? does anyone know? i just want … |
|
hello there, I 'm new to this, but I'll appreciate it if someone could help me with my script I'm writing a javascript that add's site to favortites. It works fine in IE but not in anything else. This is for a clients site who uses Mac and linux. I … |
|
i need javascript for a textbox which allow only alphabet and first letter becomes capital on keyup..!! any help will be appriciated..!! thanks.! |
|
...its just that people are too lazy to do it right! [url]http://www.anybrowser.org/campaign/abdesign3.html[/url] Excellent tips on how to make your site render correctly in [b]ANY BROWSER!![/b] They have a nice discussion site there also :) |
|
Hello, I'm trying to get some help on a problem I'm having with my iframe and forms. I have a form that is brought into a hidden iframe. Now I can't seem to get the form to submit? I am guessing this is the case because of how the content … |
|
Hello, I am trying to get text to flow next to the nav bar, not behind it. I have tried a few things with not-too-ideal results. I also find that the dividers start stretching past the layout edge rather then going down to the next line even when I set … |
|
How do I start my literal object as a function like you do when you use the new Object method. e.g. var fn = function(){ ...code...} var func = new fn(); I'm trying to achieve this using the literal object method like: var fn ={ key: '' } |
|
Hi everyone I have the lightbox working properly on the site but actually want it to pop up/open automatically, say after 2 seconds after the page is loaded and without having to trigger it by klicking a href link. I noticed daniweb has exactly the same function here on this … |
|
Would you downvote someone for no reason if you lost a bit of your own rep doing it? Probably not. This would keep you only downvoting posts you really think deserve it, and help prevent downvote abuse. What are you thoughts? |
|
Hey, I know that Javascript can disable keys on the keyboard and even the right mouse click. What I want to know is, is it internationally legal for a Website to render commands on the keyboard and or mouse useless while using a Website. I'd really appreciate any feedback and … |
|
Hello I am really new in c++ but I read a lot of books. But I haven't found in any book how to add an interface to my program. So, what is necessary that the program to not run in the windows console? |
|
please open [url]http://www.sharewink.com/[/url] in mozilla and IE search for share Please what am i doing wrong? |
|
I want to replace 'nf' with 1.0, so that the resulting string should be: '(1.0+nfpermult+1.0)' I tried various approaches using find(), re.sub but I am not able to make it work. eg. re.sub('nf', '1.0', str) replaces all occurrences of nf. also re.sub('\bnf\b', '1.0', str) does not work either as 'nf' … |
|
Hi everyone, having trouble coming up with the right code for 8 directional movement [ up, upright, right, downright, down, downleft, left, upleft] My keypress handling is: [CODE] if event.type == KEYDOWN: if event.key == K_LEFT: player.moveLeft = True player.moveRight = False if event.key == K_RIGHT: player.moveRight = True player.moveLeft … |
|
Is it possible to set margin in percents ? And How can I set only text margin without moving div where it's in? |
|
[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> … |
|
Hey, I think this is the right place, but not sure. I wanna make a firefox extension, and wanted to know if JavaScript is what I should be learning, or something else? |
|
hi everyone, i need help with a project that i am doing. i need to use inheritance and arrays to make a poker game, making a card class and a poker class that extends the card class in the card class i would need to use arrays to make a … |
|
hello guys...i just done my assignment and here's the code [code] #include <iostream> using namespace std; class CelestialBody { private: double size; public: CelestialBody (double ); ; class Planet : public CelestialBody { private: double orbit_time; public: Planet(double , double); }; Class Earth : public Planet { private: unsigned long … |
|
(I'm sure this has discussed before, so could someone post a link? The search bar is unhelpful) If you've been part of the site longer, you're opinion matters more than everybody else's? Why? If I think something has been helpful, I can give a little rep, but if AncientDragon thinks … |
|
If you hit any of the options in the "lastest posts" they bring you to a search, and the url had a numerical id of the search. If I bookmark it, it leads me to a dead page within hours. How can I make a bookmark that will take me … |
|
Hi all, I'm just starting java and had to create a method to return the amount of text messages needed for a message x characters long. I'm having trouble compiling and not sure exactly why [CODE] public void msgsReqd(int msgLength) { int numMsgs, smsLength = 160; msgLength / smsLength = … |
|
I am trying to create a kind of grid of divs but i cannot get it to work. I am a newbie at this and still learning. I have been on many websites but still no luck. My html is [CODE] <div id="pitchdiv" class="dropZoneContainer"> <div id="gk" class="wrapper"> <div id="gk1" class="dropZone" … |
|
getting error when compiling. "java:60: non-static variable inventory cannot be referenced from a static context for (String show : ProductDB.inventory)" the showCodes class has to public static void. Here is code [CODE]import java.util.*; import java.text.*; public class ProductApp { public static void main(String args[]) { // display a weclome message … |
|
Hi. I have a class named Product, each object of this class holds one product in a "store". The class also has a static int member to keep track of how many products there are. iProducts is static member. Constructor: [CODE]Product::Product(std::string name, int price, std::string description) { sName = name; … |
|
The following is my class project and I do not have a clue where to begin. Could someone at least point me in the right direction? For this project we are going to work with computing the Fibonacci Sequence (also called Fibonacci Number). We will be using a menu to … |