Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~26.7K People Reached
About Me

I might be a geeky person, but I love to play actual sports, i.e. Soccer and Swimming and Hockey more than computer games. My favorite thing to do, for pleasure, is go on long 6-10 hour drives! Computers were a hobby till i figured it would be easier…

Interests
My biggest passion is driving. I simple LOVE to do it. After that, it is of course Computers and software…
PC Specs
I prefer windows for the vast majority of development oppurtunities and IDEs that are available. However,…
Favorite Tags
Member Avatar for sid78669

I am working on an assignment that does the following three things when a valid expression is provided: 1. Convert to postfix 2. convert to prefix 3. Evaluate expression. I'm using stacks and Binary trees to do this and have been able to do the first two without a hick. …

Member Avatar for Chandana Ravali
0
563
Member Avatar for sid78669

I was trying to set a UniqueIdentifier based on Long. The objective was to give a certain custom Object a unique identifier in order to allow me to store them in a hashmap. I saw someone trying to use the most significant bits. So I realized that the addition of …

Member Avatar for ~s.o.s~
1
443
Member Avatar for sid78669

I am trying to find the point of intersection of a circle and a line through its center. I want to put an arrow on the point actually, to make a directed graph. After some calculations, I found that the math that would go in is, ![formula](/attachments/large/1/formula.JPG "formula") The figure …

Member Avatar for JamesCherrill
0
2K
Member Avatar for sid78669

I am working on a project where i need to dynamically count how many buttons need to be added to a certain panel. Each button press has to change a variable in the parent class and then to excute generation of a child panel which also dynamically generates buttons. my …

Member Avatar for NormR1
0
252
Member Avatar for sid78669

I have the following code in a .js file: [CODE=Javascript] function clearVillage() { /*Do Something...*/ } [/CODE] Now in my HTML page generate through PHP, If I call this function through a link like this: [CODE=HTML] <a class="fg-button ui-state-default ui-corner-all" onclick="clearVillage();" >Clear Village</a> [/CODE] It works. However, if I replace …

Member Avatar for sid78669
0
101
Member Avatar for sid78669

I have a javascript code that modifies the data for a hidden field on the page. The page is then submitted to php. The problem is although I can see the altered data in firefox when I select the section and do show source for selection, the modified data in …

Member Avatar for sid78669
0
192
Member Avatar for sid78669

This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; …

0
112
Member Avatar for sid78669

I am starting out with PHP and in my project I'm trying to fetch XML data from a url and parsing it for data. Now the url that I use is being fetched from a webpage and hence I know that it is correct and it exists. Still, when I …

Member Avatar for sid78669
0
252
Member Avatar for sid78669

I have the following code I am using to writing and reading cookies: [code=Javascript] //Get Villages from cookie function getVillageFromCookie(villageCount) { var currentVillage = -1; var villagesCookie = getCookie("tw_ratio_villageCount"); if (villagesCookie!=null && villagesCookie!="") { currentVillage = villagesCookie; } else { storeCookie("tw_ratio_villageCount", villageCount, 1); currentVillage = 1; } return currentVillage; } …

Member Avatar for stbuchok
0
182
Member Avatar for sid78669

I have the following HTML in a webpage that I want to mine for data: [code=HTML] <td id="topdisplay" class="menu-item"> <div class="bg"> <a href="/game.php?village=55303&screen=ranking">Ranking</a> <div class="rank"> (4<span class="grey">.</span>120.|2<span class="grey">.</span>124 P) </div> <table class="menu_column" cellspacing="0"> </div> </td> [/code] I want to get the data inside the rank class and get the numbers, …

Member Avatar for sid78669
0
130
Member Avatar for sid78669

I am currently working on a site that requires periodic download of data from other sites. For this I have been trying to find some way to make the server automatically download the data every few hours. Any suggestions on how I might get started? Right now we have to …

Member Avatar for sid78669
0
161
Member Avatar for sid78669

Hi All, This is the first time I'm using Java to connect to my online MySQL database that is hosted by a separate web host. Following is the code in use: (I've removed the server url, username and pass for obvious reasons. They all work when I use them in …

Member Avatar for sid78669
0
628
Member Avatar for dark_sider_1

I've been trying to create a Hangman game in Java, and I have a string that looks like "_____" for a certain number of letters that they are supposed to represent. How would I replace just one of those, rather than all? I've heard that you can't replace an underscore …

Member Avatar for hfx642
0
248
Member Avatar for crazycat503

Hi, I have a table with 2 date fields startdate and enddate. A program have a start date and an end date like this 01/01/2011-25/03/2011 . Now I want to test any date and get the program it belongs to. Say for the above, 12/01/2011 would return the above program. …

Member Avatar for ChrisPadgham
0
135
Member Avatar for sid78669

I have a report based on a query that uses parameters (Date datatype). In the report header I have some other data that is also generated using the parameters (Same parameters). This data is generated programatically and I use a dialog box with date in it. Now, I want to …

Member Avatar for sid78669
0
111
Member Avatar for SharedKnowledge

Hi, I've created a MS Access (2007) database storing details of a charities clients. Is there a validation rule/piece of code for the following: FIELDS: Date, Time, Duration, Room CODE FOR: Not being able to select a room if it is on the same date and time/duration? I'd really appreciate …

Member Avatar for SharedKnowledge
0
243
Member Avatar for sid78669

I have two tables, Episodes and Seizures, with their respective Forms. On Episodes, I have a button the user clicks to open the seizure Form and its internal working is below. The problem is when the form is opened and filtered by parent form, the seizure form instead of filtering …

Member Avatar for sid78669
0
179
Member Avatar for sid78669

I have a table for Account Transaction. For each transaction a user must select a transaction category. These are stored in a second table which has a categoryID, description and a text box with only two values {'Income', 'Expense'}. Now in the report, I am grouping by Income/Expense. However, I …

Member Avatar for BitBlt
0
118
Member Avatar for sid78669

I needed to fetch the points for a Building at a certain level. For this, I created a Stored procedure in MySQL Workbench 5.2 CE as following: [CODE=MYSQL] CREATE DEFINER=`tribalwars`@`%` PROCEDURE `GetPoints`(IN BuildingID INT, IN BuildingLevel INT, OUT Pts INT) BEGIN Select Points INTO Pts From Points Where BID = …

Member Avatar for smantscheff
0
190
Member Avatar for tech9x

i got a .txt file that contain data, and i would like to read from the file and then write the data to another file, is it about ifstream and ofstream?.. what i have done is just open the input file and open the output file :(( how to relate …

Member Avatar for vijayan121
0
4K
Member Avatar for sid78669

I recently had an assignment for an advanced coding class where I was to create a Binary tree from inorder and preorder traversals. I first started out by creating my ADT for binary trees and working with that to create a new tree. The way I worked it was that …

Member Avatar for arkoenig
0
154
Member Avatar for aaronmk2

I am pretty sure that the answer for this is n^3, because the 3rd for loop is executed n times and the middle is executed n+4 times and the top one is executed n times. I understand how to use sigma notation for the bottom and top for loop because …

Member Avatar for mrnutty
0
141
Member Avatar for Vllinator

I need to return the numbers of the lotto ticket to main, then call a print() to print the numbers. But the ticketGenerator only returns 1 number. Please help [code] #include <iostream> #include <ctime> using namespace std; int ticketGenerator(int); void printTicket(int,int); int main() { int size; int numbers; cout << …

Member Avatar for sid78669
0
109
Member Avatar for jae5086

Ok, I am having two issues with this program, and since I am new to the forum, yes, I am a beginner so I am sure the error is so common it makes you want to cry seeing it again, haha. Anyway, the program is supposed to keep working with …

Member Avatar for jae5086
0
104
Member Avatar for sid78669

I am writing a utility in which time is being displayed. The problem is, the time being displayed is for the timezone +1. I want to add functinallity so that the user can not only display this time, but also choose which timezone they would like it to be displayed …

Member Avatar for tristian2
0
113
Member Avatar for sid78669

Hey Everyone! I am writing a program for students and to keep it platform independent I have chosen to convert it to Java. Now, earlier I was using C# and with MS Visual Studio, I was able to write a plugin which would save all open ms office documents. I …

Member Avatar for masijade
0
148
Member Avatar for whoadiz

hey guys.. basically i'm writing a program that will let the user enter an int and the program will insert that that value in to a double-link-list(dll) along with calculating the sqr root value of it in that same node and it's inserted to the node by increasing int value …

Member Avatar for sid78669
0
107
Member Avatar for sid78669

Can someone please tell me why I might be getting a access violation when doing the following for a double linked list: [CODE=C++] ~DLList() { while(!isEmpty()) //isEmpty is working.. removeHead(); } bool isEmpty() { if(head == NULL && tail == NULL) return true; else return false; } char * removeHead() …

Member Avatar for sid78669
0
942
Member Avatar for ace8957

Hello everyone I have been trying to learn the greater mysteries of linked lists and have come across an error that is inexplicable to me at my current level of understanding. I have written a program that attempts to form a linked list to store student information in the form …

Member Avatar for ace8957
0
169
Member Avatar for sid78669

OK, so I am redirecting the input from a file. The input is read into a string. The problem is, when the input file ends, the program still reads empty lines and goes into an endless loop. I have added an if statement for it to detect 5 empty entries …

Member Avatar for sid78669
0
135