Search Results

Showing results 1 to 27 of 27
Search took 0.01 seconds.
Search: Posts Made By: jetru
Forum: MySQL Jul 8th, 2008
Replies: 0
Views: 550
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
width:auto or something like that? and also float:right.
Forum: HTML and CSS Dec 10th, 2007
Replies: 8
Views: 1,162
Posted By jetru
@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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Posted By jetru
Any channels/servers on IRC for programming? can't seem to find any :S
Forum: Java May 20th, 2007
Replies: 12
Views: 6,569
Posted By jetru
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
Posted By jetru
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
Posted By jetru
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
Solved: GUI Input
Views: 2,291
Posted By jetru
Got it..,
I used the MaskFormatter class to make it do what I wanted.
thanks
Forum: Java May 17th, 2007
Replies: 2
Solved: GUI Input
Views: 2,291
Posted By jetru
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
Posted By jetru
projecteuler.net

for the math freaks!
Forum: C++ Jun 14th, 2006
Replies: 9
Views: 1,500
Posted By jetru
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
Posted By jetru
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
I\o
Views: 1,559
Posted By jetru
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
I\o
Views: 1,559
Posted By jetru
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
Posted By jetru
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
Posted By jetru
Ah yes, a string array would make things faster.
Forum: C++ Jun 9th, 2006
Replies: 3
Views: 1,097
Posted By jetru
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...
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC