132,726 Archived Topics

Remove Filter
Member Avatar for
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 …

Software Development sql visual-basic
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

Software Development visual-basic
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 …

Software Development c++
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 …

Software Development c queue
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

Software Development java
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?

Software Development visual-basic
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 …

Software Development vb.net
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 …

Software Development c linked-list queue
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 …

Software Development c display
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 …

Software Development c display
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. …

Software Development c
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: …

Software Development c++
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?

Software Development 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 …

Software Development c encryption
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) { …

Software Development algorithm c
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development c++
Member Avatar for bobr_1013
0
159
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.

Software Development java
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; …

Software Development c++
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.

Software Development c++
Member Avatar for dallin
0
171
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 …

Software Development java java-swing
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 …

Software Development java java-swing
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 …

Software Development c++
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, …

Software Development c
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

Software Development assembly
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 …

Software Development c
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 …

Software Development java
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 …

Software Development c++ display
Member Avatar for Narue
0
164
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....

Software Development c
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 …

Software Development c
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.

Software Development java
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 …

Software Development c
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development c++
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++

Software Development first-post java
Member Avatar for tonakai
0
204
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 …

Software Development display visual-basic
Member Avatar for Comatose
0
160
Member Avatar for Gambit0789

i am currently making a game for my VB class and i am trying to make some boundary code. I have done everything. i've asked people my friends for help and we can't figure it out. if anyone could give me some clues to get started that would be great. …

Software Development vb.net
Member Avatar for belama
0
178
Member Avatar for rharvison

This is my very first introduction to C++ and I am stuck with a very simple mini-calculator project. I cannot figure out what the errors are that the compiler is showing. I have shown my written code and the compiler messages below that. I am receiving syntax errors on the …

Software Development c++ ios
Member Avatar for rharvison
0
115
Member Avatar for solthirsty

I think the best way for me to explain this is to show you guys what im trying to do. [code] #include <iostream> class customer { int CustID; public: void CCustRecords(int NumOfCust) { x = NumOfCust; for(int i = 0; i < x; ++i) { cout << "Enter the Customers …

Software Development c++ data-structure
Member Avatar for Dave Sinkula
0
178
Member Avatar for mikecoyner

whenever i use cin.get in a loop it skips over the first cin.get. for example, in the code below, the programs skips over the cin.get for the stu.name?? [code]#include<iostream.h> #include<fstream.h> struct student { char name[20]; char ssn[20]; char dob[20]; float gpa; }; main() { student stu; ofstream outfile; char choice; …

Software Development c++ ios
Member Avatar for mikecoyner
0
258
Member Avatar for EvilObsidian

What I'm trying to do is format input from a text area so that it is all uppercase letters and numbers, eliminating all punctuatoin and whitespace. I want to use a method format() to loop through all the characters in the text and use a switch statement to determine whether …

Software Development java
Member Avatar for server_crash
0
311
Member Avatar for drunkpanda

recently, i bought a textbook call "Objects first with java" for self study. at the chapter 7, design a "Command Line Game" and a exercise ask me to put more functions in the game, as i do so i encounter many problems, and one of the problem as sohowing below, …

Software Development java
Member Avatar for stupidenator
0
349
Member Avatar for Hjcooke

This is a piece of work i need to complete for my Object Orientated programming module at university. The task, (User Input) Order Number, Name, Address line 1 and Address line 2 and select either Computer and/or printer check box. N.B. These FIVE fields must be completed by User otherwise …

Software Development display gui java java-swing printer
Member Avatar for shakaal
0
263
Member Avatar for Vincentjames501

How would one change the size of the font and/or the font itself. Im using win32 (I guess.. its not MFC).... Does anyone know how to do this in c++.... Thanks... Vince

Software Development c++
Member Avatar for Tight_Coder_Ex
0
316
Member Avatar for koolguysj

[CODE]/* 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) { unsigned long int count = 1; unsigned long int result = 1; while(count <= …

Software Development c
Member Avatar for Dave Sinkula
0
128
Member Avatar for Jankos

Hi, i just started c++ programming in college this semester, and i have a project that i have no idea how to do. Im sure it will be extremely simple to all of you experts, but i just cant think of a way to do it. Maybe some of you …

Software Development c c# c++
Member Avatar for Narue
0
103

The End.