Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
5
Posts with Downvotes
1
Downvoting Members
5
0 Endorsements
~10K People Reached
Favorite Tags

19 Posted Topics

Member Avatar for ~s.o.s~
Member Avatar for pavani2006

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.

Member Avatar for JamesCherrill
0
224
Member Avatar for 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 having too many foreign keys and relationships between tables will lock the tables …

Member Avatar for asaukani
0
77
Member Avatar for jetru

I'm using sIFR ([url]http://www.mikeindustries.com/blog/sifr/[/url]) 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. The problem is the sIFR seems to get rendered AFTER the scripts specified by window.onload. This means that the divs are made …

Member Avatar for ~s.o.s~
0
61
Member Avatar for 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 application (like MS paint) using C++ and the SDL library. Right now, I'm …

Member Avatar for vijayan121
0
182
Member Avatar for jetru

Hey, I just started learning OpenGL. I have a problem understanding the coordinate system. [code] glVertex2d(1,2); [/code] Now obviously, the coordinates aren't in pixels. The problem is I want to mark pixels on my windows and I can't figure how to do this. How big is one unit? I tried …

Member Avatar for Salem
0
59
Member Avatar for kavithakesav

Ya i agree, this is really hard! Wish the whole world used Gecko! Anyway, you could try using the conditional tags Google it up. [QUOTE] <!--[if IE 6]> Special instructions for IE 6 here <![endif]-->[/QUOTE]

Member Avatar for jetru
0
73
Member Avatar for 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 screenshot...I'll put up a working model if required. Thanks.

Member Avatar for azalia
0
82
Member Avatar for scru
Member Avatar for 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 background over div2's. I've tried z-index but it didn't work. How do i solve this?

Member Avatar for jetru
0
370
Member Avatar for jetru

I have empty space div that goes like this: [code]<div id="space"><!-- IE fix--></div> [/code] and the CSS for this is: [code] #space{font-size:0; background-color:transparent; height:15px; display:block; } [/code] This should just make an empty box. And its fine in firefox. But in IE I get no space at all! Whats wrong?

Member Avatar for CertGuard
0
105
Member Avatar for jetru
Member Avatar for ~s.o.s~
0
145
Member Avatar for jetru

Its pretty standard, why the hell isnt the window showing?? Cant figure it out :( [code] import javax.swing.*; import javax.swing.text.*; import java.awt.*; import java.awt.event.*; public class GUIpart { //All ze variables required int tempboard[][]=new int[9][9]; SudokuBoard fresh= new SudokuBoard(); JFrame sudoku = new JFrame("Srik Sudoku"); JFormattedTextField guiboard[][] = new JFormattedTextField[9][9]; …

Member Avatar for jetru
0
236
Member Avatar for 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' input everytime? Is there a simpler way?

Member Avatar for jetru
0
90
Member Avatar for nsan

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.

Member Avatar for iamthwee
0
220
Member Avatar for BronxBoriqua

[url]http://bloodshed.net/devcpp.html[/url] [url]http://www.codeblocks.org/downloads.shtml[/url] Go for the first one. You don't need to make those stupid projects for single file programs.

Member Avatar for jetru
0
146
Member Avatar for ghadahelal
Re: I\o

Yes. You CAN read and wrte in the same file. You will have to use fstream to declare your stream. [url]http://www.daniweb.com/tutorials/tutorial6542.html[/url] You will have to read the file into memory, change it there and then write it back if you want the read character to be deleted.

Member Avatar for Ancient Dragon
0
216
Member Avatar for ghadahelal

You can get the parts by doing this [code] float a=12.5678; int whole_part=a; float dec_part=a-whole_part; [/code] If you want only one decimal part try this [code] float dec_part_1=((int)(dec_part*10))/10; [/code] If you want two, replace the 10 with 100 and so on.

Member Avatar for jetru
0
243
Member Avatar for jaden403

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 info). To get the proper text in the output, you'll have to make some changes. …

Member Avatar for jetru
0
160

The End.