199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bunnyali2011

magine there is search box (textbox), and below there are a search button with a rich text box. My text file located in the drive C is like this: Product: Cement Size: Big: Cost: 245 Type: Construction Product: Iron Size: Big Cost: 123 Type: Consruction Product: Glass Size: Small Cost: …

Member Avatar for bunnyali2011
0
438
Member Avatar for mmlmitchell

I have two tables: CDDemographics and CBTechProviderData. Both have 200,000+ rows. A common column between these tables is CensusBlockID, of which the first 5 integers are the fips code - in this case I am defining that code as 55001. I am trying to sum the population of CensusBlockIDs where …

Member Avatar for debasisdas
0
209
Member Avatar for RyanMcMillan

i have a variable "float PI = 3.146;" in a header file called "evar.h" but when i use the variable PI in my main functoin it only comes out as "3" , i have to explictly type cast it for the number "3.146" to be printed out how could i …

Member Avatar for RyanMcMillan
0
178
Member Avatar for nasir.perwaiz

I am developing a web application in php. My task is to download all the mails from a mail server and save it into the database and the attachments will be saved in a folder. The user then opens up the mails with their attachments inside the application. The mails …

Member Avatar for mindmyweb
0
122
Member Avatar for jrotunda85

I have a large amount of items stored in my DB (around 3,000 total and growing) and I have a list of them sorted alphabetically that displays on a page. I was interested; however, in having the items display in blocks instead that look something like: [INDENT][B]A[/B] [All items that …

Member Avatar for diafol
0
130
Member Avatar for c_newbie1

[CODE]#include<stdio.h> #include<conio.h> int main() { int no; scanf("%d", &no); printf("%d %d", no,no++); getch();return 0; }[/CODE] the output of this program is '4 3'.. my questino is WHY? this program should first print the number which is entered.. and then when it prints the next number it should add 1 to …

Member Avatar for c_newbie1
0
137
Member Avatar for electrox73

Hi, guys I never done this before but I want to make a program like a YouTube Downloader. I just don't now how to start. I found at that a HTTP Request requests a FLV file called videoplayback (without an extension). If I goto to the request's link, it downloads …

Member Avatar for pseudorandom21
0
827
Member Avatar for Kniggles

Morning,afternoon,evening and av a great night to all, solution needed plaese. secnario. players eneter log on screen and enter name ,password, (id is index on base) then go to check_logon.php if happy end up at logon_success.php this run ok :) am now trying to display players id number on logon_success.php. …

Member Avatar for debasisdas
0
112
Member Avatar for srch07

Hi, I have made a port forwarder, ZA is server side, and Client is client side. This Port Forwarder sits in middle of both, and simply sends data coming from Client to ZA, and from ZA to Client. Its not like for every ZA packet, Client will send a response, …

0
103
Member Avatar for Colezy

Hi all, I am creating an application that includes and calls upon someone else's code. I need to slightly change the functionality of a constructor in their code but the class I need to change is buried away very deep. I considered inheriting from the class so I could change …

Member Avatar for Colezy
0
116
Member Avatar for Fentontech

I have 2 tables, MPW1400 LeaseRecNo PropNo BldgNo UnitNo LeaseStartDate MPW1482 LeaseRecNo EffectiveDate AnnualAmount CertNo My Objective is to get the total of 'AnnualAmount' Where MPW1400.LeaseRecNo = MPW1482.LeaseRecNo and CertNo = '1' Example: MPW1400 ------------------------------------------------------- LeaseRecNo | PropNo | BldgNo | UnitNo | LeaseStartDate ------------------------------------------------------- 12345 | RG52 | 24 …

Member Avatar for Fentontech
0
181
Member Avatar for dospy

i know you cannot understand anything from the title and i am sorry but i don't know how to say it because it's a little complicated, so i won't give details of my problem, i hope you can understand from the code classB.h: [CODE] #ifndef CLASSB_H #define CLASSB_H class MainClass; …

Member Avatar for dospy
0
181
Member Avatar for maydhyam

Hi All, I am working in Oracle10g and I have been trying to run the following query, and am getting an error: [B]Query:[/B] [CODE=sql] SET VERIFY OFF VARIABLE emp_salary NUMBER ACCEPT empno PROMPT 'Please enter a valid employee number: ' SET AUTOPRINT ON DECLARE empno NUMBER(6):= &empno; BEGIN SELECT salary …

Member Avatar for maydhyam
0
672
Member Avatar for gedas

hey, i got a class called IRPanel this class contains a few methods that handles what is drawn on it. randomPoints() is a method that generates random values for x and y coordinates for random point. new random point coordinates are generated only when the coordinates from IREvent() method match …

Member Avatar for gedas
0
155
Member Avatar for ThePythonNoob

I cant figure out how to make a input lock that if the user types in a letter and not a number between 0 and 1000 that it will keep on asking for a number until it gets it. Thanks for any help.

Member Avatar for bumsfeld
0
172
Member Avatar for Sotiria Sotiria

i have a function that works for integers. e.g. typedef int Telem; int readValue(Telem *testdata) { if (scanf("%d", testdata)!= 1) return 0; else return 1; } now i converted the integer into a struct typedef struct Telem{ int entrytime; int cust_num; int waitime; }; how will i call this function …

Member Avatar for Ancient Dragon
0
589
Member Avatar for jrotunda85

I am in the process of trying to create a search option for my database; however, I need the user to be able to submit one search which looks at three tables in the database. I'm using the following right now and it's working for each individual one (I have …

Member Avatar for jrotunda85
0
209
Member Avatar for MrHardRock

Hey everybody, the program I am writing takes 10 digits as a floating point as a number then displays the average of the numbers and any numbers that are greater than it after it. My program will compile but every time I run it through I get the error message …

Member Avatar for JamesCherrill
0
241
Member Avatar for gaurav_13191

Hi all, I am trying to code iterative implementation of bst. But I am encountering some problems as the stack is not updated as it should be. I am getting incorrect output.Some suggestions would be welcomed. [CODE] /*Operations to be performed:- ->Insertion ->Deletion ->Modification ->Search ->Minimum ->Maximum ->Predecessor ->Successor ->Inorder …

Member Avatar for gaurav_13191
0
187
Member Avatar for Mike Bishop

I have a view that pulls in a field, the feild has data in the following format. A1-an987389 B21-At081l0 AA1-ath01882 how would i get the infoamtion before the "-" IE A1 B21 AA1 the size of the data before the "-" can be anything from 1 up 5 charcters i …

Member Avatar for BitBlt
0
105
Member Avatar for anurag.kyal

All I have to do is take an array of n integers and run p threads to sort equally divided p blocks of the same and finally merge them. There is occuring some problem in my code. If I run the threads one by one, by using pthread_join's before next …

Member Avatar for nezachem
0
199
Member Avatar for maxstoto

Please help me in Binary XOR operation using C++? Please help me in Binary XOR operation.... This program will ask user to enter their input..After that the program will convert to Binary Code for each character that user have entered. After that i create a multidimensional array to store for …

Member Avatar for jshoot
0
296
Member Avatar for doomas10

Hello, i have the following query. I have a txt file with data like this: [CODE]1 observational study 1.1 cohort study 1.1.1 retrospective cohort study 1.1.2 prospective cohort study 1.2 cross-sectional study[/CODE] And another file with data like this: [CODE]cross-sectional survey 12345.txt retrospective study 2345.txt ...[/CODE] I want to do …

Member Avatar for TrustyTony
0
229
Member Avatar for jabanista

I'm in the process of creating a program that would change a background color by pressing a button. Now, I already have everything set up. The background image is just an image of a rainbow, and when a button is clicked, it would change the whole background color. The thing …

Member Avatar for jabanista
0
1K
Member Avatar for cse.avinash

Hello Sir, I have problem regarding time complexity of any problem, whatever program I make, the time complexity exceeds.Is there any way to reduce the time complexity of the program. If I use two nested for loops, order goes to O(n^2),is there any way to convert this order in O(n) …

Member Avatar for rubberman
0
489
Member Avatar for terexberd

Hey guys, i just wanted to know the codes for ArrayList class methods such as .clear() .add() .size() .isEmpty() etc... Your help will be appreciated!

Member Avatar for terexberd
0
213
Member Avatar for ChaseRLewis

Confused on why even though I have this header linked several times: [CODE] #ifndef ASCII_CHAR_NAMES_H #define ASCII_CHAR_NAMES_H extern const unsigned char ASCII_WHITE_SMILEY = 1; //☺ extern const unsigned char ASCII_BLACK_SMILEY = 2; //☻ extern const unsigned char ASCII_BLACK_HEART = 3; extern const unsigned char ASCII_BLACK_DIAMOND = 4; extern const unsigned …

Member Avatar for mike_2000_17
0
162
Member Avatar for DarkLightning7

I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = …

Member Avatar for xml_looser
0
187
Member Avatar for chriselectrix

Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING …

Member Avatar for xml_looser
0
235
Member Avatar for Sc@recrow

As part of an assignment, we have to write a Quicksort algorithm, and then verify it's time complexity. I am trying to time how long it takes to run the quickSort function, but it keeps returning 0. Here is a snippet of the code [CODE] . . #include <time.h> . …

Member Avatar for rubberman
0
130
Member Avatar for harinath_2007

Hi... How can i develop a keylogger using java?? The problem is that we should only implement KeyListener interface to a window or frame.. but how can we make use of KeyListener event without windows of frame????

Member Avatar for Nick Evan
0
312
Member Avatar for Arjun_Sarankulu
Member Avatar for Momerath
0
81
Member Avatar for navdeep7489

Can anybody tell me how to handle more number of requests on server using PHP ? If there are 1000 request capability of web server at a time and if more number of requests (say 1500) are encounter on server at a time, then how the SEVER maintains and process …

Member Avatar for chrishea
0
114
Member Avatar for ofir0803

Hi i have this string: [CODE]<div class="col-price"> <h4>you save</h4> <span ><span class="currency">$</span>32</span> </div> <div class="col-price"> <h4>discount</h4> <span >52%<span class="persent"></span></span> </div> <div class="col-price last"> <h4>original price</h4> <span ><span class="currency">$</span>62</span> </div>[/CODE] i want to be able to find the values of: [I]you save[/I], [I]discount[/I] and [I]original price[/I]. the desierd output: 32, 52, …

Member Avatar for kekkaishi
0
144
Member Avatar for usustarr

I am fairly new to C++. I work as an intern and I need to pass a pointer to a function. Can someone please help. [CODE]U8 System::check() { Array drives = Array::update(system); ...... ...... check2(drives); ........ } U8 System::check2(Array drives) { Array bad_drives = Array::drives.filter(&new_drives); }[/CODE] If I were to …

Member Avatar for arkoenig
0
125
Member Avatar for chinee

trying to finish a code given by sir which was to add the preorder and post order in thr tree but i am getting an error with the preorder so need help. [CODE]public class BinaryTree { BinaryTree left; BinaryTree right; int value; public BinaryTree(int v){ value= v; } public void …

Member Avatar for chinee
0
152
Member Avatar for 303factory

Hi I'm having a real headache getting the selected row from my datagrid (only one row can be selected at a time). If I use the callback function from clicking on the data grid I can get the selected row no problem [CODE]dgStaffList_CellContentClick(object sender, DataGridViewCellEventArgs e) { int selectedRow = …

Member Avatar for 303factory
0
185
Member Avatar for satti

iam using datagrid for data entry ,i have added ,add button remove button...but now i want an update button which can update the entries to database from data grid... here is code [CODE]Option Explicit ' couple'o global vars for size trackin' Dim MinHeight As Long Dim MinWidth As Long Private …

Member Avatar for AndreRet
0
200
Member Avatar for veledrom

Hi, If you set [B]$dowhat [/B]to [COLOR="Green"]"Clean"[/COLOR], I get this error message : [ICODE]Warning: setcookie() expects parameter 1 to be string, array given in C:\wamp\www\....[/ICODE] which is line 18. However, if I remove unserialize() function from same line, I get [ICODE]Warning: Cookie names cannot contain any of the following '=,; …

Member Avatar for veledrom
0
2K
Member Avatar for austiine04

Hi guys i want create a program that can write to a pdf file and here is the code i used. when i run the program, it compiles well, and runs but the pdf file that is created is not readable/corrupt. i am just wondering whether there is some library …

Member Avatar for jackmaverick1
0
160
Member Avatar for Clanstrom

Hi there all, just joined today loved this site already. My Question is that. i am trying to create 6 Menus for my Web. like Eg { home, about us, service ..... } and i want the images to change whenever the users mouse hovers the menu's. I got the …

Member Avatar for Clanstrom
0
221
Member Avatar for thetwig

hey.. Ive done a bit of java and im new at C... so forgive the inexperience/noobage here.. I got 2 problems, I want my program to read in 2 fractions and print the product.. and whenever I press enter without entering any value, ie. a null input, I want it …

Member Avatar for thetwig
0
173
Member Avatar for theighost

Hello, I want to write xml with php and Im using the code in this tutorial: [url]http://www.ibm.com/developerworks/library/os-xmldomphp/[/url] I've made the php page and everything looks fine when I access the PHP file, I get the XML structure and all. the problem is, it works only if the file in in …

Member Avatar for kokoro90
0
180
Member Avatar for Graphix

Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for PHP! It uses a words file, on the bottom of this post you will see a small example of a few words. The source …

Member Avatar for Nick Evan
0
2K
Member Avatar for cayman

Hi Folks Is it possible to code a windows GUI application using C? (i.e. not C++) I haven't been able to find an answer on this, trawling thru googlized searches gives me tons of stuff for C++ and C# but not a word about if its even possible with plain …

Member Avatar for cayman
0
111
Member Avatar for volkang

Hi, I ve been searching through the forum to find an answer, but have been unsuccessful. My problem is with an integration of an equation. i want to integrate a function say G(w) over w, from the bounds t to infinity. and further i assume that G(W)= F(w1)xF(w2)xF(w3) where F(wi) …

Member Avatar for volkang
0
168
Member Avatar for tinymark

Hello to everyone. I have an old flat database with a couple of hundred entries that I want to convert to a relational design. It was a user database for simple login and some preferences. I would like to know if there is a simple way to convert from one …

Member Avatar for tinymark
0
181
Member Avatar for virendra_sharma

Hi frnz, i want to know which is the fastest algorithm for to sort the text file of 1MB , 10MB , 50MB . Thanks in advance

Member Avatar for virendra_sharma
0
112
Member Avatar for CSWalls

[B]Hi guys!!... I am just looking for some startup guidance with a program I am supposed to write.. it goes like this ->[/B] A program which compares these three hashing methods: 1) open addressing with linear probing, 2) open addressing with quadratic probing, and 3) separate chaining. Input will come …

Member Avatar for CSWalls
0
213
Member Avatar for hindu times

Hi there. I'm currently using the code below to trigger the "Post To Wall" script in my Facebook iframe app (the script that allows a user to post a certain piece of content to their wall). I'm pretty dense with this stuff, so I was wondering how I go about …

0
116

The End.