199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lulug76

I am trying to make the random generator fill my array with no duplicates. An diplay the in order but aslo first line to print array[0], then second line array[0] and array[1], so on and so on until it display all twenty on one line. Pease help [code] #include <iostream.h> …

Member Avatar for lulug76
0
169
Member Avatar for thepromoters

Dear Brothers, Tell me what is the major difference between Asp and Php ? and also tell me which is cheap ? Thank you! Your's Harry!

Member Avatar for Gary King
0
204
Member Avatar for Secret Agent

Got everything set except dont' know where to put the no scrollbar (scrollbars=0 or scrollbars=no) command. [code] <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Eric King (eric_andrew_king@hotmail.com) --> <!-- Web Site: [url]http://redrival.com/eak/[/url] --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! [url]http://javascript.internet.com[/url] --> …

Member Avatar for Secret Agent
0
213
Member Avatar for kah22

I'm desperately trying to finish of a site for my writers club and I know nothing about programing only got as far as I have care of WYSIWYG program. Anyway I want to insert a series of forms in one of the pages giving random Male Names, Female Names, Places, …

Member Avatar for jwenting
0
107
Member Avatar for bobr_1013

Hi, Ran into another issue with my program. In C or C++ is there an easy way to skip the linefead at the end of a record (hex 0a)? Thanks,

Member Avatar for bobr_1013
0
195
Member Avatar for AaronYoq

I'm trying to get the computer to compare a username and password entered by the user to a username and password in a text file. If a match is found, then I am going to present the user with other options. I think there must be an easier way to …

0
138
Member Avatar for mattcplusplus

Im using an ADO data control to connect to an Access database .mdb I can set the ConnectionString property correctly, but when I set the RecordSource to an SQL statement such as an INSERT statement in this format INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....) it doesnt work when …

Member Avatar for NewVBguy
0
138
Member Avatar for NewVBguy

Hi there, I'm just thinking if DVD decryptor program is possible using VB6. If it is, can anybody give me some points to consider before going into this project. Thanks in advance. Newvbguy

Member Avatar for NewVBguy
0
87
Member Avatar for k0ld

Here is the code: [code] #include <iostream> #include <cstdlib> using namespace std; class student { public: void inputScores(); // Prompts user to enter 2 quiz, a mid term, and a final score; store // them in corresponding data members. void computeGrade(); // Compute average and then convert the average to …

Member Avatar for k0ld
0
191
Member Avatar for mel2005

Just wondering if you would help me in my assignment, I've started on them. I've done most of it except the following three questions. (1) Any flight can be brought to the front of the queue ready for deleting (landing) For example if the flight is in the back, we …

Member Avatar for Fasola
0
361
Member Avatar for SyLk

does java have a ' system ("PAUSE") ' like c++....if so what is the syntax to do it. ty

Member Avatar for freesoft_2000
0
3K
Member Avatar for Seyha Eng

I have questions are: If I have one shape on the form, and when I run I want to have 5 shapes on my form. What can I do? Can someone help me?

Member Avatar for Comatose
0
381
Member Avatar for ziaddodin

in an form with two text boxes, one for entering the name of a peson in english and the other for entering the name in another language say Arabic; the two languages (locales) are installed on your win Xp; manually you change from one to the other by pressing ALT …

Member Avatar for Arne
0
99
Member Avatar for mel2005

[B] (1) any flight can be brought to the front of the queue ready for deleting(landing) (2) any flight can be diverted to the back of the queue for another airport if the first airport is busy or on runway closed due to an accident. (3)in the flight ID, there …

Member Avatar for Narue
0
132
Member Avatar for nizar4445

(Create a program that will allow the user to enter and analyse a set of data collected from an experiment. The data is to be entered by the user from the keyboard and stored in an array to be processed by the program. It is known that all the data …

Member Avatar for Narue
0
139
Member Avatar for nizar4445

Heeeeeeeeeeeeeeeeelp :cry: :cry: :cry: hello all can anybody help me pleeeeeeeeeeeeeeaaaaaaazzzzzzzzzz!!!!! Create a program that will allow the user to enter and analyse a set of data collected from an experiment. The data is to be entered by the user from the keyboard and stored in an array to be …

Member Avatar for Dave Sinkula
0
150
Member Avatar for rborob

can anyone help me with this switch statement? i want it to go through line by line my file and, in the cases, increment x, y and z counts depending on the value of each digit in the strings. i debugged and its giving me some stupid value for xcount. …

Member Avatar for Dave Sinkula
0
150
Member Avatar for chan

i am working with VB6. i used ADODC recordset. in my Form there is some text box and command bottom. it is about Student Data for example. it can view and add new record. i want a view after adding new record.so how can i refresh DataBase record from Access …

Member Avatar for Comatose
0
469
Member Avatar for missy

i need help to rewrite this in infix to postfix using class. it was in a struct format at first, now i need to format this in a class version. [code] #include <iostream> #include <cstring> using namespace std; const int SIZE = 20; private: int top; char num [SIZE]; public: …

Member Avatar for Narue
0
164
Member Avatar for higherGround574

in the past i have been able to run dos commands thru C++... for example: system("cls") in C++ used to clear the screen... does anyone know if this can be done in java?

Member Avatar for server_crash
0
181
Member Avatar for star320

Can someone please help me where to begin on this problem... I don't want answers, just some guidance: I have to make a program that reads a 4 digit integer: and encrypt it with a calculation: then swap 1st digit with 3rd, swap 2nd digit with 4th and print the …

Member Avatar for letmec
0
154
Member Avatar for koolguysj

[code] #include <stdio.h> #include "Boolean.h" #include "combinatorics.h" /* For all the functions below, return TRUE if the calculation is successful, FALSE if overflow occurs Return the calculated value in the pass by reference parameter provided */ Boolean calcFactorial (int n, int* nfact) { *nfact = 1; while(n > 0) { …

Member Avatar for murschech
0
402
Member Avatar for gracieLou

How do you convert a string to an int? In my book under string functions, it shows this short example: [CODE]ia = atoi ("-123.45xyz"); [/CODE] which says that ia = 123. So, I tried applying this to my code. [CODE] index = atoi (a.GetCode()); cout<<description[index]; //a.GetCode() returns a number string …

Member Avatar for marinme
0
96
Member Avatar for cblue

Can anyone give me an idea how to convert an int or decimal number into hexadecimal? I know how to do it for binary by dividing by 2 and using the modulus % operator, but how do you take into account a b c d e f if the integer …

Member Avatar for Narue
0
159
Member Avatar for bobr_1013

The problem I'm having is this: I have a table [MAX_ELEMENTS] [18] where the MAX elements can be as high as 100,000. The length of each element is 18 characters. What I doing is simply loading in full 18 character records into this table. The problem I'm having is that …

Member Avatar for bobr_1013
0
159
Member Avatar for Dark_Omen

I want to create a program that converts mp3's to other formats. I wanted to know if anyone had any information on how mp3's are made and if there are any resources out there that I could use to learn the internals of an mp3 and other music files. Thanks

Member Avatar for Dark_Omen
0
195
Member Avatar for tat2dlady

I have a program that uses blocking/non-blocking direct and indirect communication. I need to have it randomly choose whether or not it should do the blocking or non-blocking method and I do not know how. Does anyone have any suggestions? Thank you.

Member Avatar for tat2dlady
0
233
Member Avatar for mdbrock7

I am in a beginner C++ class and I have a homework problem where I must to find the greatest common divisor through subtraction. I am totally lost. Can anyone show me what I am doing wrong? #include <iostream> using namespace std; int main () { int m; int n; …

Member Avatar for Narue
0
280
Member Avatar for dallin

when using #include <iomanip> ; what is the syntax for formating numerical values for currency - example 123456, format to $123,456. Using the cout << command.

Member Avatar for dallin
0
171
Member Avatar for Decency

hi, im in the middle of a situation where i have an auto incriment primary key and i need to change its value back to zero any ideas ?

Member Avatar for Decency
0
110
Member Avatar for nabil1983

Hi all, This program below sorts arrays of integers. It counts the number of times it compares pieces of data to do the sort.With the array size set at 4 it always takes 9 comparisons. Does neone know how i can Modify it to read in a series of four …

Member Avatar for freesoft_2000
0
113
Member Avatar for kev269

Hi, I have a fileoutput method which when called, should output the array into a text file. The array is stored in the same public class as the fileoutput method and I am using a constructor for the array, which is in the Cd class. I would like to know …

Member Avatar for freesoft_2000
0
172
Member Avatar for Acidburn

Got bored, and whats better than spending your time learning. So I'd thought I'd create something fun, [code] #include <iostream> using namespace std; int main() { char array[5] = "John"; //chosen hangman char array2[5]; //populates with * char key; //ets a key from the user int life = 5; int …

Member Avatar for Narue
0
204
Member Avatar for JoBe

Hi ladies and gents, Next exercise is the following: Write the function which we can declare as follows: unsigned char bcd (int n); The idea of this function is to store the last two decimal numbers of n into a 'binary coded decimal' byte and to return this value. So, …

Member Avatar for Narue
0
604
Member Avatar for nishil

hi, I was wondering if any one knew where i could find the instructions for tasm 2.8.....i am trying to compare A TO FF(100H), if greater than FF go to loopA.........I would really appereciate, if any one knows the above instruction...please help me out. thanks

Member Avatar for Evenbit
0
206
Member Avatar for dal4488

This is a question on one of my homework assignments and I have it narrowed down between these two but I'm not sure which one it is. Anyone know it? To avoid an infinite loop make sure the loop body: alters the exit condition or contains at least one output …

Member Avatar for thedk
0
109
Member Avatar for Bud4java

Greetings all...long time reader, first time poster. I have 2 java files, one that contains methods that do conversions, the other contains a loop that allows a user to select "what" they want to convert. The program works, but one of the conversions is to multiply by 0.0092. When I …

Member Avatar for server_crash
0
178
Member Avatar for xsxixtxhx

I have this program that is supposed to take in numbers from the Main cpp file and add them to the link list. Eventually i have to sort them then display them on the screen. For right now i am just trying to insert them to the link list but …

Member Avatar for Narue
0
164
Member Avatar for Juninho

Hey Guys. Can anyone see why this short script isn't working. Its a basic bit of programming to record a users answers in a multiple choice quiz. Each answer should be stored in the same array which should be passed through the 10 questions. I have written a check to …

Member Avatar for DanceInstructor
0
174
Member Avatar for letmec

I'm working on TSR through C. i have writen dogens of them for dos, :rolleyes: but it works for dos only, can you tell me who to write TSR's for windows. Thankyou....

Member Avatar for Fasola
0
373
Member Avatar for some one

hi every 1 i am new and Ihope that you would help me I have to write a program that will allow you to enter if you enter the password without using strcmp function and here is my try [code] #include <iostream> #include <cstdio> using namespace std; bool password(); int …

Member Avatar for Fasola
0
262
Member Avatar for stupidenator

Hey everyone. I was just wondering what people think is the best environment for editing and compiling code. Currently, I use JCreator.

Member Avatar for freesoft_2000
0
296
Member Avatar for shock1

Write the definition of a function dashedLine , with one parameter , an int . If the parameter is negative or zero, the function does nothing. Otherwise it prints a complete line terminated by a new line character to standard output consisting of dashes (hyphens) with the parameter 's value …

Member Avatar for Narue
0
109
Member Avatar for shock1

Write the definition of a function printAttitude , which has an int parameter and returns nothing. The function prints a message to standard output depending on the value of its parameter . If the parameter equals 1, the function prints disagree . If the parameter equals 2, the function prints …

Member Avatar for Narue
0
390
Member Avatar for shock1

Write the definition of a function printLarger , which has two int parameters and returns nothing. The function prints the larger value of the two parameters to standard output on a single line by itself. this is what i have so far: void printLarger(int, int){ } I have to write …

Member Avatar for Narue
0
197
Member Avatar for Acidburn

hello, I kep getting : [quote] C:\computer science programming\excerise sheet 6\cheque account\3 - Bank.cpp(100) : error C2614: 'cheque' : illegal member initialization: 'Balance' is not a base or member Error executing cl.exe.[/quote] [php] #include <iostream> using namespace std; class BankAccount { public: //void setAccount(int num, double amount); taken out replaced …

Member Avatar for Acidburn
0
145
Member Avatar for The_Diceman

Help me if you can please ??? Got so far on my project and know gone brain dead!! Project is for company called Zenith Paints ( please someone reconise this) (The first program in the Visual C++ project is a validation program. You are required to validate three different types …

Member Avatar for The_Diceman
0
190
Member Avatar for Ghost

Hey Everybody, I'm making a Java applet and trying to post it online. Whenever I open the HTML page where the applet is, i get an error message. Here's the website with the applet on it: [URL=http://www.inquirybio.com/quiz.html]Applet Website Link[/URL] Thanks in advanced, C++

Member Avatar for tonakai
0
202
Member Avatar for pgroover

Okay, not new to MySQL, or PHP, but I'm really lost on this one. I have a query (simple one really) that is supposed to return the requested values from a database. I've tested the query with MySQL direct and it works fine, but when used via the web interface, …

Member Avatar for pgroover
0
107
Member Avatar for wallis_online

What I need to do is have the data on the bottom line of my chart to show the full date as it is in the database that I take the data from. In the database it is in the form of 29/March/2005 and this is how I want it …

Member Avatar for Comatose
0
160

The End.