Forum: MySQL Jul 8th, 2008 |
| Replies: 0 Views: 550 Hello,
I have a database with about 25 tables and almost every table having a foreign key on some other table. They system needs to deal with a large number of reads and writes. I'm concerned if... |
Forum: JavaScript / DHTML / AJAX May 2nd, 2008 |
| Replies: 1 Views: 1,260 I'm using sIFR (http://www.mikeindustries.com/blog/sifr/) in a website along with some javascript. The javascript makes the sizes of the two divs equal. And the javascript is run on window.onload.... |
Forum: C++ Feb 12th, 2008 |
| Replies: 3 Views: 2,302 Wow! Thanks!
Does this mean that things like toolbars would come under the Model or the View. For the actual drawing area, there's a model, thats fine. But for things like toolbars, is that a model... |
Forum: C++ Feb 11th, 2008 |
| Replies: 3 Views: 2,302 Hey, I'm working on a Paint program. I've never built a proper program before so I was wondering how I should go about structuring an actual piece of software. I'm trying to a make a simple paint... |
Forum: C++ Jan 10th, 2008 |
| Replies: 1 Views: 1,526 Hey,
I just started learning OpenGL. I have a problem understanding the coordinate system.
glVertex2d(1,2);
Now obviously, the coordinates aren't in pixels. The problem is I want to mark... |
Forum: HTML and CSS Dec 18th, 2007 |
| Replies: 3 Views: 848 Ya i agree, this is really hard! Wish the whole world used Gecko!
Anyway, you could try using the conditional tags Google it up. |
Forum: HTML and CSS Dec 10th, 2007 |
| Replies: 7 Views: 2,447 width:auto or something like that? and also float:right. |
Forum: HTML and CSS Dec 10th, 2007 |
| Replies: 8 Views: 1,162 @Midi
Thanks!
@scru
You're right. It's not something I'd use either! It's really hard to make good design. It just doesnt come naturally to me! But I check out all the inspiration sites, I can... |
Forum: HTML and CSS Dec 8th, 2007 |
| Replies: 8 Views: 1,162 I developed a theme for Drupal. Its my first proper theme ever. But I feel its not so good. For some reason it doesn't look 'professional'. Could you criticize it please? I've included a... |
Forum: HTML and CSS Dec 6th, 2007 |
| Replies: 8 Views: 10,823 All these work just fine in firefox. IE just refuses to accept any of these! I tried everything! |
Forum: HTML and CSS Nov 27th, 2007 |
| Replies: 5 Views: 4,726 I have empty space div that goes like this:
<div id="space"><!-- IE fix--></div>
and the CSS for this is:
#space{font-size:0;
background-color:transparent;
height:15px;
... |
Forum: HTML and CSS Nov 26th, 2007 |
| Replies: 8 Views: 10,823 But I would like only a part of the div to overlap the other div...not the whole thing... |
Forum: HTML and CSS Nov 25th, 2007 |
| Replies: 8 Views: 10,823 I have two divs which both have backgrounds in my CSS properties.
Unfortunately, div2's background overlaps div1's background. But I want it the other way around. In other words, I want div1's... |
Forum: IT Professionals' Lounge Jun 22nd, 2007 |
| Replies: 2 Views: 3,384 Any channels/servers on IRC for programming? can't seem to find any :S |
Forum: Java May 20th, 2007 |
| Replies: 12 Views: 6,569 Hmm whats str1?
You have to compare the first letter and the last letter, then the second letter and the last but one letter and so on. So...think how we could go about doing that. |
Forum: Java May 20th, 2007 |
| Replies: 2 Views: 1,652 Hmm yes that is much more simpler and easier to read!
And the problem in the my program was that GUIpart wasnt a constructor because I had put public void GUIpart() and constructors shouldn't... |
Forum: Java May 19th, 2007 |
| Replies: 2 Views: 1,652 Its pretty standard, why the hell isnt the window showing?? Cant figure it out :(
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class... |
Forum: Java May 18th, 2007 |
| Replies: 2 Views: 2,291 Got it..,
I used the MaskFormatter class to make it do what I wanted.
thanks |
Forum: Java May 17th, 2007 |
| Replies: 2 Views: 2,291 How would I go about making JTextField allow the user to input only numbers 0 - 9? I looked into JFormattedTextField but it doesnt seem to be what I need. Would I have to code it to check the users'... |
Forum: C++ Mar 13th, 2007 |
| Replies: 24 Views: 65,797 projecteuler.net
for the math freaks! |
Forum: C++ Jun 14th, 2006 |
| Replies: 9 Views: 1,500 I suppose that generating a webpage means just putting stuff into a html file, just like any other file. You put HTML code in it. |
Forum: C++ Jun 13th, 2006 |
| Replies: 3 Views: 5,453 http://bloodshed.net/devcpp.html
http://www.codeblocks.org/downloads.shtml
Go for the first one. You don't need to make those stupid projects for single file programs. |
Forum: C++ Jun 12th, 2006 |
| Replies: 10 Views: 1,559 You have to copy everything after your character into an array or something, then come back and overwrite the character. Did you get me? |
Forum: C++ Jun 12th, 2006 |
| Replies: 10 Views: 1,559 Yes. You CAN read and wrte in the same file. You will have to use fstream to declare your stream.
http://www.daniweb.com/tutorials/tutorial6542.html
You will have to read the file into memory,... |
Forum: C Jun 12th, 2006 |
| Replies: 1 Views: 989 You can get the parts by doing this
float a=12.5678;
int whole_part=a;
float dec_part=a-whole_part;
If you want only one decimal part try this |
Forum: C++ Jun 9th, 2006 |
| Replies: 3 Views: 1,097 Ah yes, a string array would make things faster. |
Forum: C++ Jun 9th, 2006 |
| Replies: 3 Views: 1,097 I don't think this code works because once the cursor in inIgnoreFile goes to EOF, you aren't resetting it to the beginning of the file for the next loop. Try using the seekg() function(Google for... |