199,114 Archived Topics
Remove Filter ![]() | |
Hi ALL, The project we're working on is a document retrieval system. Two kinds of Features for each document in a repository are extracted as described in table-1 and table-2. Table1 DocID Word Freq 1 Book 9 1 Study 3 2 Work 4 2 Run 5 2 User 2 3 … | |
Hello, I am creating a program that will allow me to calculate taxes on a pay. Since the amounts deducted are not straight percentages, there are close to 5600 different options, based on the gross pay amount. I am wanting to make the program as versitile as possible, so I … | |
I've just started learning c++ this week from the book, c++ from the beginning by jan skansholm, im working througth the exercises and have become stuck on this one: sin(x) = x - x^3/3! + x^5/5! - x^7/7! + .................. write a program to calculat sin(x), dont include terms in … | |
can someone explain in simple terms how to actually use the following <ctime> functions? I have read thru a few C++ reference websites but the explainations given are very vague and complex. [B]difftime struct tm time_t mktime ctime[/B] | |
I have a little problem to dock a grid with a panel. What i have done is to first dock a panel in the top of the form. What i then want to do is to dock a datagrid so it Fills the whole form but not so it will … | |
I am writing a vb program to print out fragrances for this auto center. my program is working fine, but i am having trouble writing a for/next loop to print out the interior and exterior lists. the printout has to contain the package name, the interior and exterior items included … | |
hi all ,the code i write below display report on selection of some field below it.my problem is that i want to print this report but controls are also printing with report.i want that only report will print. please help me to solve my problem............can i transfer report to other … | |
Hello, I would appreciate if anyone could help me with this. I'm new to this sort of thing and don't really know where to start. I have a survey results table that looks like this: [CODE]user question answer Mike 1 2 Mike 2 1 Mike 3 5 John 1 5 … | |
Hi, I have an old web-application in production which works fine. Now I want to make some changes and loads it into MS web developer express with the newest .NET framework installed. The problem occours when loading the website into the program. It seems that the "My" doesn't support request … | |
I Submitted a proposal titled Using Robots and Simple Programming to Attract Middle School Students to Computer Science but asked to settle for somethin less complex and 'straight forward',that would require me sticking to programming in php or vb/vb.NET alone..Please i'm Lookin out for suggestion and other relevant info.thanks | |
Hi, Is it possible to change a folder permission using python. Brgds, kNish | |
hey there everyone i was working on a program of mine when that should read the file in hex and display the value of a certain hex address (0x000068FC as example). but i have no clue where to begin except that ppl say it should work with fseek & fread … | |
I am learning PHP/MySQL and have heard about Joomla CMS, I wish to learn it but don't understand from where to start, kindly guide me about this | |
How can I implement a constructor / destructor for a class written in ASP ? Something like the __constructor() function of PHP. Also is there an in-built Collection Object in ASP (as in Visual Basic) ? Thanks | |
I am saving the output of my program in .csv file. I need to save a variable's value in one column, but the value may contain comma. When the program encounters a comma it places half of the variable's value in the next column. Is there any way through which … | |
Hi, Can anyone please tell me how to do a REST request to a URL using method POST and NOT GET. I know I have to pass XML to the URL but I really don't know where to start actually sending the request. I have tried looking at loads of … | |
Hi friends. Can somebody help me in develaopnig an eclipse plugin using eclipse itself? I need to create a plugin to add a new wizard inside New Project category. With the help of tutorial, i have just been able to create a plugin which add a new menu to the … | |
:rolleyes: Hi, Could you please help?? I am tired and confused. I don't what to do any more! I am trying to write a traffic simulation and i wrote some interface and some classes but the main one that has a big chunk of code seems to me like nightmare. … | |
Is there some documentation that shows what all the different operations and stuff represent in hex or binary like mov = 10011101 or w.e it is its for 80386 architecure btw. thanks in advance. | |
hi i want to aske if there is away to upload / download files to / from sql databse using asp.net with C# i need to do that using using gridview i have view my data inside asp.net gridview i want to download my uploaded file in db when i … | |
Hello all :) I have a grid program that lets me define a grid and do some basic stuff with it. The next step I need to implement is that I need to add a floodFill like method ([url]http://en.wikipedia.org/wiki/Flood_fill[/url]). What I wanna achieve with this is the functionality that I … | |
I am having confusion in ExecuteScalar & ExecuteReader If we use ExecuteReader for select with aggregate function, it will not give any error and run successfully so if we can do both queries select with aggregate & select with non aggregate with the help of only one method ExecuteReader so … | |
Well there are two parts of code I'm working on, one is a driver for Caesar Cipher and the other is the Caesar Cipher class itself. I can't figure out how to pass the information the user inputs from the driver class to the cipher class. Any help would be … | |
:) hi guys! im a new member here.. i join here to know about java and othr software development.. im a 2nd yr college in a university here in phiLippines.. im taking BSIT.. i wana ask some help because i cnt undrstand some of the topics in java... Thanx!! | |
hi..I'm just a newbie when it comes to oracle and I would like to ask for some help. I just would like to ask if how do i put in my menus in my forms? I cant seem to solve this problem. what property in the property pallet should I … | |
Hello, Im having a little list problem with big lists. Say for example, I have this [CODE]Numbers = [["aaa", "bbb", "ccc"] , ["ddd", "eee", "fff"]][/CODE] How do I search and return from this list? eg searching for "fff" and returning "ddd"? I can only return specific position in the list, … | |
hello guyz,,i have confusion anyway,, i have a textfiles (products.txt & cart.txt): "products.txt" inside this text file is Alcohol $12.7 12 Shirt $45.00 34 if i run it to a java file it would be like this actually i already know how to read the file,,and when i output it: … | |
I am new to ASP, and I used to write the connection for my Access Database using DNSLESS Connection like this: <HTML> <BODY> <% 'Actionvar=Request.QueryString("actionvar") '** Set Up a DSNLESS CONNECTION<BR> Set conn = server.createobject("adodb.connection") DSNtemp="DRIVER={Microsoft Access Driver (*.mdb)}; " 'DSNtemp=dsntemp & "DBQ=" & server.mappath("Record.mdb") DSNtemp=dsntemp & "DBQ=" & server.mappath("MyWeb/MyRecord/Record.mdb") … | |
// file: PayrollFunctions.cpp // Computes and displays gross pay and net pay given an hourly // rate and number of hours worked. Deducts union deus of $15 // if gross salary exceeds $100; otherwise,deducts no dues. #include <iostream> using namespace std; // Functions used... void instructUser(); float computeGross (float, float); … | |
Can someone explain to me why this code do not try to perform the loop? It just crashes my program:([CODE]Private Sub btnCommission_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCommission.Click Dim strComAmount As String Dim decComAmount As Decimal Dim decAverageCom As Decimal Dim decTotalOfAllCom As Decimal = 0D Dim … | |
I need to downgrade my java version from 1.5 to 1.3 for a project and I've downloaded the .sh file: j2re-1_3_1_23-solaris-i586.sh I'm not sure how to implement this or if there are any other steps. thanks I'm trying to downgrade to java 1.3 from 1.5 and I downloaded the shell … | |
i'm trying to do a method like this "String",number of the Character, number of repetisions repeatAtFrontAndEnd("Hello", 2, 1) → "HeHelloHe" repeatAtFrontAndEnd("Hello", 1, 3) → "HHHHelloHHH" repeatAtFrontAndEnd("Hi There", 3, 2) → "Hi Hi Hi ThereHi Hi " if anybody can help me :D | |
I was wondering how you define a funtion which a phrase and two words are inputted and the output is the part of the prhase between the two words. Do you convert the string to a list?? I would apprecitate any help. | |
I am trying to build a project to learn the SDL libraries but Im getting these errors: [Linker error] undefined reference to `SDL_RWFromFile' [Linker error] undefined reference to `SDL_LoadBMP_RW' [Linker error] undefined reference to `SDL_DisplayFormat' ... I am including "SDL\SDL.h" but according to the documentation it should work. Any ideas? | |
Hello all, I'm a learning php this year but i encounters some problems. One of them is about php value. The problem is how do i do to prevent a php file from resending the same values into the database whenever the page is refreshed? Anyone help? Thanks, Asep | |
Hi, I have a few questions in regards to checkboxes I wanted to confim. Your code is below: [code] <input type="checkbox" name="checkbox[]" value="1"> <input type="checkbox" name="checkbox[]" value="2"> <input type="checkbox" name="checkbox[]" value="3"> <input type="checkbox" name="checkbox[]" value="4"> <input type="checkbox" name="checkbox[]" value="5"> [/code] Now what happens next? The checkbox array is checkbox[0] = … | |
I tried implementing a template Array-class that allows initial size of global arrays to be known at compile time, specified by the user. When I specify a class of type <1, 1> size, the file compiles fine. However, when I specify a class of any other numeric type, in either … | |
I have just written a JavaScript file which calculates a taxi fare based on a starting zone, an ending zone, and the length of the taxi ride. The program appears to work fine, however, I would like to be able to display some type of alert or error message though … | |
im making a program where i will displaying the sales of each store using a sales bar chart. user will input sales for each store. after the input, a sales chart must be displayed using a for loop, with each '*' = $100 in sales question: how can i make … | |
Hi, I have a Uni assignment which requires me to make a Hangman program [B]without using arrays.[/B] I have done this so far: [code=java] //class Hangman public class hangman { private int maxTries=10; //variable to coutn amount of letter guessess private int wordLength; //Retrieves word from words.txt file Scanner fileScan … | |
Ok, I am making a DLL Library for programs using Win32 WinAPI, It contains classes for common controls. I had only five errors, the errors were because I had did a bad typecast and misspelled some variables, once I worked out every single error, 15 new errors arose and they … | |
Hello there, I am currently trying to solve Towers of Hanoi for N pegs using C++. I am implementing the towers in the form of a link list. Suppose there be three towers , TowerA,TowerB,TowerC Then for TowerA: 3 2 1 TowerB: - TowerC:- shall become TowerA: TowerB: 3 2 … | |
These are the directions: Recursive Descent Parsing Consider the following BNF grammar: E -> T + E | T - E | T T -> P * T | P / T | P P -> I | (E) I -> a | b | ... | y | z … | |
I am working on an assignment for a class I'm taking. Currently, I have a while loop which takes data from the user through JOptionPane. I am suppose to use a sentinel value (q or Q) to tell the loop to stop. I have my if statement argument working, but … | |
Sorry to ask such a stupid question, but can't understand why this simple instruction to upload a file (passed from an html form) isn't working: move_uploaded_file($_FILES['pic']['tmp_name'], 'files/pic.jpg'); | |
Hi, everyone. For my programming homework, we have to write a code based on the Soundex algorithm that is used by New York State Immunization Information System. Here are the instructions/rules:[url]http://www.cis.temple.edu/~ingargio/cis67/homeworks/homework6f08.html[/url]. My problem is that (besides having no idea what to do) I have an infinite loop somewhere in the … | |
I had completed my code for my project, then decided to change it. I now have an error that I do not understand. C4715 which according to MSDN.com is 'function' : not all control paths return a value. The specified function can potentially not return a value. I have included … | |
I am trying to open a file in loop and print the data which my teacher request. however, there is blank in the out put file. and , how to indent the body of loop?? there is my code, please someone tell me what i did wrong!! thanks~` there is … | |
I need to read a text document (with a word per line on it) and extract a word from it to use in a game of hangman. I've been trying to do this for a while, but all I can get is the program to print all of the words … | |
In a file there is a list: [QUOTE][['', '', '', '', '', '', '', '', '', 'Name'], ['', '', '', '', '', '', '', '', '', 1]][/QUOTE] How can I use it in a python script? Thanks |
The End.