199,114 Archived Topics
Remove Filter ![]() | |
i am suppossed to write a program using an array of strings to hold the words of the ICAO alphabet, and index the array by the positions of the letters of the alphabet. I started it off but cannot figure it out please help!! #include <iostream> const int n_row=26; const … | |
Hello, I have got a problem. In my forum software the DOCTYPE is for some reason set to XHTML Now I have implemented a scroller using setInterval. This scroller works fine if there is no DOCTYPE specified or even if I specify it as HTML 4.01 The scroller does not … | |
Hey, I am in a beginning C++/C# Class and we are jsut starting the Math LIbrary. I need to write a program that displays all perfect integers up to 100. I am required to write a boolean function, IsPerfect(), to use in the program. My problem is I was either … | |
I had the idea in my head to write a program that would let you select more than one image you want to set as your windows desktop wallpaper and have it rotate it every day, or every time you boot up or something similar. I really don't know where … | |
I have a mysql database that has three tables. customers, orders, and order details. I want my customer to logon using a username and password that will show a list of his current orders. From there I want to be able to click on any given order and see the … | |
hi im new to php/mysql i have developed a code in asp and converted it to php with asp2php programme. the original solution asp/sqlserver iis works fine..the new solution will be a iis php mysql. mysql server works fine iis works fine however the php wont let me connect to … | |
Hey all, I am trying to remove some style from a table cell with JavaScript but it is not working as I wish it would. As you can see in the code below I am trying to remove all borders from cells that are dotted. If I use the following … | |
Hello, I would like to send a specific string of commands to a USB device connected to my computer. Is there a PHP function that allows this? Thanks, Choky | |
Hello everyone, I am using HTTP protocol to transfer large amount of data across two machines. And I have found out that some packages will be lost when using the following source codes. I am wondering whether there are anything wrong or potential issues in them. Data request [Code] URLConnection … | |
hi, i was wondering if anyone could help me out? i have this project in my java class where i need to format an integer to a string with commas (ex:1000000->1,000,000) using recursion. I've tried it for 4 class periods and i just can't figure it out. If you feel … | |
Hi I am in the process of developing a series of tutorial cds for programming and web designing like C C++ Java html etc My first Cd is on C programming languages I need feedback 1) Completely flash based or completely html based...... if a combo of both which more … | |
I am writing a simple statistical calculation program....I was wondering how do I package this so it is an executable from the desktop with an Icon to execute the program..It is written in java..... | |
I am working on a project for work. MY form gathers simple data, and submits to an access database. all that is ok. My form results are to submit an email to a specific email address. The form absolutly will not email the info. Please be advised that this form … | |
I am building a file repository for the press industry. The independent publisher pays for bandwidth used (ie: sum file size uploaded and downloaded). My problem is that if you click to download it logs it as a download, is there a way that one can find out which button … | |
Can any body please help me with this. I don't know what is wrong here. when I run my program, only one form appear on screen. Both forms surpose to appear one after another. Or maybe something is wrong with my the code. [code] Module Module1 Public Sub Main() Dim … | |
I have recently come in touch with the JAVA and I was wondering if somebody can help me with the console window code. Thanks in advance P.S - Also, when typing the code into the JBuilder, where does it go? Does it go straightafter: package XX; Thanks, | |
I am trying to create a random access file from a sequential file. I have the random access file skeletonized with "dummy records". An example of my dummy record is: 100 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 *********ZZZZZZZZZZXXXXXXXXXXYYYYYYYYYYYYYYYYYYYY00.00 -1 The "*'s" are a SSN, "Z's" are the last name, etc, etc. The 100 and … | |
My program is currently 980mb is there any way i can make this smaller? | |
I have a first-in-first-out queue implementation such that when it is first initialized, a malloc is called to set aside memory for items that will be placed on the queue. When I am done with the queue, how do I free up the memory? My code for the queue is … | |
Over the past year, ive been making games in javascript, learning everything. With alot of help from my friend, we made a 3d maze using only the ASCII table as graphics. Heres the page i uploaded it to www.tepster.com/maze.html And heres the actual code, and i would endeavour for anyone … | |
Hi, I am writing a program at the moment which requires me to scan in data from an external file, which to be added to a linked list. The external file is a list of pairs of cities and the distances between them - each piece of data is tab-delimited, … | |
I run a [COLOR=Blue][B]WIN2000[/B][/COLOR] box with [COLOR=Blue][B]MySql 4.0.23[/B][/COLOR]. I tried installing once and failed, but DID manage to get past the initial page. [B]The failure came when I tried to log in to configure phpBB2[/B]. So I tried some other forum software and failed there too. I decided to come … | |
I not able to decide how to read in a data of the following table A B(initial values) | x = 0 | x = 1 ------+--------+-------- 0 0 | q=0, y=0 | q=3, y=1 note: q=0 means A and B are 0, 0 1 | q=0, y=0 | q=2, … | |
can someone explain to me how i can pass the array "test" and the int "total" back to the main by reference. public static void CalculateAverage() throws IOException { int[] test=new int[7]; int count; int total=0; for (count = 0;count < 5; count++) { test[count] = Integer.parseInt(tokenizer.nextToken()); total = test[count] … | |
I have a form where you select a player's name from a drop down list, and there are 6 input boxes next to it for their separate scores and a box at the end for their total score (all the separate scores summed). I want to have the form dynamically … | |
I am using VC++6.0 I am attempting to implement the TEA for a Oracle server. I am plannng to write the algorithm in C++(C), then add it to a shared library. I am new with C++ and I am having some difficlulty, mainly in two basic areas: 1. I want … | |
I'm a newbie with inputing into a database. Can someone help me with the script below. There is probably a few errors. Can you spot them please :) Thanks in advance Dim conn, rsadd, sql Set conn=Server.CreateObject("ADODB.Connection") conn.Open "seneca_book_db" Set rsadd=Server.CreateObject("ADODB.RecordSet") sql="Select * From Customers" rsadd.Open sql, conn rsadd.AddNew rsadd("Custaccount")=request("T3") … | |
Hi, I have an assignment which entails coding a sequential state machine form arbitrary charecteristic table of a flip-flop and the state specifications given. .For example, if the user wants one input x and one output y, and the following excitatoin table for the state machine: | x = 0 … | |
Hi ppl I would really appreciate if someone help me out here. I really tried to do this problem and its driving me crazy. All I could get is the algorithum of worst fit, best-fit next fit and first fit. Please help me as soon as I can. And I … | |
Hi I am trying to write a pipeline which updates the content of a file by replacing all the mathches of the word 'and' with the symbol '&' and replaces the end of each line with my name. I have tried using sed and can replace the and's but can't … | |
I need some help with the following problem. We've touched on scanning tree algorithms a little bit, but not to this extent. My textbook has been useless so far. Can somebody help me with the answers to this? Answer the following: template <typename T> int treeFunc(tnode<T> *t) { int n … | |
I posted earlier for help with this and someone gave me a good clue and I worked with it but I am still boggled. I have been working on a couple different ways to accomplish this but have come up with nothing right yet. I am close but still need … | |
This may sound stupid but I am very new to MySQL. I am thinking of using this for a database driven site on a Linux server with a new, (hopefully more reliable) host. My current host can supply a MySQL database for £25.00 per year, (seems too cheap) my proposed … | |
Can anyone tell me how to compare a string to an integer? I have a SSN stored as a string, SSN[10]. I need to compare each number in the SSN. What I need to do is to add up the ASCII values of the SSN to use for a hashing … | |
Does anyone know how to stop a Java thread? I am not very familiar with Java and am not really sure exactly what I am doing. I have to create the necessary classes to facilitate an indirect blocking and non-blocking communication environment between threads (producers and consumers) using a bounded … | |
hi administrator, I'm a beginner in c++.I need to draw a graph(x vs y type).I used graphics.h and ended up with a very primitive version of a graph.The graph appears like a scribbling in the top left corner of the screen.I don't know how to draw the x and y … | |
I am trying to get my program to display multiple files for a user to choose from to load, this is the general code i tried but don't know how to actually put it as (the for loop is what i am having the trouble with) [code] ofstream save; ifstream … | |
Hello i'm very new to programming and self teaching myself. I'm having a problem with my project. I'm trying to preform an equation, but every time I in put the variable it runs to the end. It is a programm to help solve precents for my friend. This is the … | |
Hi there, I am working on an assignment that I have to create a menu. The user is suppose to select the menu and change form color. But I have no idea how to that. Help please. Anyone? | |
consider this for [code]int i.j; for (i=0;i<=5;i++){ for (j=i+1;j<=5;j++){cout<<"\n"<<i<<"\t"<<j<<"\n"; } }[/code] now suppose we have[code]list<string>::iterator l,m;[/code] the corresponding thing[code] for (l=0;l<=5;l++){ for (k=l+1;k<=5;k++){cout<<"\n"<<i<<"\t"<<j<<"\n"; } }[/code] won't work because "l+1" is meaningless here. How do I solve this problem? | |
Hi: I'm writing my own programming language and I wanted to be able to save the code. When I compile i get this error message: "cml.java": cannot resolve symbol: constructor cml (int[],int[],java.lang.String)in class cml at line 439, column 13 Here's the code: [CODE]//Cinnamon Machine Language Compiler import javax.swing.*; import javax.swing.event.*; … | |
As a part of a larger problem I have to solve the following:: *input - number of variables (say n=4) *input - 'n' numbers in decimal (say 1,3,5,7) *I need to check for all the grey code neighbours i.e, to say, 2=00000001(a fixed length string) and 3=00000011(a fixed length string) … | |
currently my program only reads in the one first name and last name with 5 grades and computes the average from the first line of my input file. eg. Albert Lake 54 23 54 32 12 average test score 35 im trying to edit this code so that the file … | |
Here's what I have so far and here's my response from my teacher. I'm not exactly sure what or where the problem is. Anyone else see it? Have you run this project with many different test cases, and does it work? At first glance, it seems to me that the … | |
I am trying to make this queue right now that uses elements in an array to increase the appointment time for a queue. Only problem is I don't really know how to get each individual element from the array to add it to the queue. I thought I could just … | |
I am writing a program that has a membership class. Each Membership object contains details of a person's name, and the month and year in which they joined the club. All membership details are filled out when a Membership object is created. Then there is a club class that has … | |
Hello, I just started laerning c# and I made this program that took the dimension of a box(house), and then use a function to get the volume of the box_house. One problem that I encountered was that I dont know how to make a string into an int. Here is … | |
It has been a long time since I have programmed anything. Grew-up in the 80's using basic. I am currently somewhat fluent in JAVA(R) but I need some help understanding the current state of databases. I am developing a cd that needs a stand alone database for the Java program … | |
i am curently attending college and i don't know how to start this assignment i was givin: while spending the summer as a surveyor's assistant you decide to write a program that transforms compass headings in degrees ( 0 to 360 ) to compass bearings. using only one decimal place. … | |
I'm trying to write a code that calculates a cell phone bill. There are two different services: a regular service that is $10.00 and the first 50 minutes are free and charges over 50 minutes are $.20 per minute and the other a premium service that's $25 and the first … |
The End.