132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for liphoso

[QUOTE]A. PROBLEM The purpose of this project is to equip students with skills of manipulating an array as a data structure to store and process information, using the C++ object structure construct: struct. The problem is poised as follows: create a data structure to hold a term of a polynomial …

Software Development c++ data-structure
Member Avatar for Etniespr101
0
108
Member Avatar for Slate2006

For a class I am taking I need to produce 1000 random numbers and store them in an array. I am totally lost and need some help. If someone can get me started on the program it would help me. Also, i need to write a function to find the …

Software Development c c# c++
Member Avatar for Etniespr101
0
86
Member Avatar for dasani

I need help wirting a program that will count from 100 to 150 but in six lines, i have it were it contiues to count on one line, i dont know how to six lines using one single loop. i have this so far: Can some one help! thanks for …

Software Development c++
Member Avatar for dasani
0
100
Member Avatar for jrice528

Ok, i have been working on this program for a LONG time and i need some major help with the main.cpp file PLEASE. I have to design a function that Designs and implements a function void getJudgeData() that asks the user for a judge's score, stores it in a reference …

Software Development c++
Member Avatar for zandiago
0
179
Member Avatar for plusplus

when user selects a cell, I want to highlight the whole row, how do I do this?

Software Development visual-basic
Member Avatar for QVeen72
0
107
Member Avatar for sgk26p10p07

I Need help on how to write the full opcode of the above x86 codes. i saw like for sgdt it is 0F 01 /1. the problem is i dont know the full opcode will it be 0F01[01-this is what am not sure][then the 48 bits] FASM cannot compile the …

Software Development assembly
Member Avatar for sgk26p10p07
0
900
Member Avatar for Pieter

I'm new to visual basic, and after writing my first few programs I decided it's a nice language for database front ends :-) just like VBA. Everhing is working out fine, but there's one thing I can't figure out, how do I pass arrays between private subs without declaring them …

Software Development vb.net visual-basic
Member Avatar for waynespangler
0
125
Member Avatar for kahaj

I'm having some issues getting this coding ironed out. I know there's something I'm not doing right, but cannot figure out exactly what the something is. Here's the html code: [code] <!WMS Temp Conversion> <html> <head><title>Washington Middle School Temperature Conversion</title></head> <body> <h3>Use the form below to convert the temperature of …

Software Development perl
Member Avatar for KevinADC
0
130
Member Avatar for n.aggel

hi, i want to begin socket programming and interprocess communication but i don't where to begin....can anyone suggest some sources?? thanks in advance, nicolas PS:: sorry if the question is vague, but it isn't easy to be more specific....

Software Development c socket-programming
Member Avatar for stupido
0
191
Member Avatar for rowly

hello guyz iv got problem with [COLOR=#0000ff]void[/COLOR] pointers i cant work [COLOR=#0000ff]this[/COLOR] out ! i[COLOR=#800000]'m trying to read from a binary file using a struct and pass this struct arrays to class object and push them to stack and display them on screen while poping them out ! [/COLOR]but the …

Software Development c++
Member Avatar for summu
0
159
Member Avatar for garc2541

I'm trying to figure out the avg of the sum of squares which I calculated by making a function in my program. The only problem is I dont how to count it. I think I can use the sq variable and divide it by the count, but I dont know …

Software Development c++
Member Avatar for vmanes
0
102
Member Avatar for Duki

Is there any reason to check for self assignment, if you're not using array's or pointers, when overloading the = operator? For example, if the only datatypes in Vehicle are int cylinders and string manufacturer, do I really need to check before assigning? If so, what's the point?

Software Development c++
Member Avatar for vijayan121
0
88
Member Avatar for tphuynh

Hi, I don't under what I'm doing wrong. In my line of code I have 2 outputs: The first outout returns a value, however, when I try to output the second ConsoleLine I get a value of "0"?? I'm thinking it has something to do with Converting a string to …

Software Development c c# c++
Member Avatar for JerryShaw
0
165
Member Avatar for mqueene7

I'm struggling with my code and was looking for a tutor. Does anyone know of a tutor available? Thank you!!

Software Development c c# c++
Member Avatar for WaltP
0
84
Member Avatar for winky

Hey guys. I am trying to take a normal queue and change it into a cyclic queue, which basically means that the enqueue operation will make the elements shift to make space if the rear pointer is pointing at the end of the queue. I am getting an error about …

Software Development c++ oop queue
Member Avatar for winky
0
190
Member Avatar for turkgames

I made a program in C for my school work but i cant make it work.Piglatin means cutting the first character of a word and adding it to the end and finally adding an "a" to the end.For example teacher -> eacherta. Can you help me finding the problem? [code=c]/***************************************************************************************/ …

Software Development c
Member Avatar for WaltP
0
101
Member Avatar for fishsqzr

I'm using C# Express and SQL Server Express. I can connect to sample databses I have downloaded to the default location (..\MMSQL.1\MSSQL\DATA) but I cannot connect to a new database I create using SQL Server. The error is "You don't have permission to open this file. Contact the owner or …

Software Development mssql sql
Member Avatar for JerryShaw
0
425
Member Avatar for java_starter

I am getting this error message please help me solve it [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:19: ';' expected account deposit(500.0); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: not a statement cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:27: ';' expected …

Software Development java
Member Avatar for Ezzaral
0
139
Member Avatar for Pareshja

Hi Guys, I have completed a vb6 application that uses sql2000 database. I have sql client installed on my pc. I want to install the application on a machine that does not have sql on it. Will it work or do I need to install sql on the clients machine. …

Software Development sql visual-basic
Member Avatar for Cruize_Invades
0
92
Member Avatar for pointers

Hi, My project is related to Hand Held device. We are using emulator. The total code is written in C#. There is some data of 83,000 records, I have to upload the data into the emulator. After uploading some 50,000 records it is showing some error like "Storage memory is …

Software Development storage
Member Avatar for pointers
0
82
Member Avatar for ceyesuma

Credit card(parent)Debitcard(child). At the file menu if you choose "credit"+"new Account" the parent works fine. At the file menu if you choose "debit"+"new Account" the child does not work. I am haveing trouble creating a new object which is the debit class which uses its super (credit class) Can any …

Software Development gui java java-swing
Member Avatar for ceyesuma
0
160
Member Avatar for Ryen_Lee

I want to write a program to keep my CPU Usage to 50%.How can I do it? I just can't find the API I need to use.Anybody can help? (PS: My OS is WINXP)

Software Development api c++
Member Avatar for Ancient Dragon
0
106
Member Avatar for dilip_singh3

How many tables we can create in a single MS Access database ? I m going for a multiuser project . I dont know how many tables I will have to make.

Software Development visual-basic
Member Avatar for QVeen72
0
145
Member Avatar for RohitSahni

i am getting this error : "../incl/GDS_Thread/Thread.h", line 141: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*). "../incl/GDS_Thread/Thread.h", line 221: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)() in call to pthread_once(_once*, …

Software Development c++
Member Avatar for Salem
0
189
Member Avatar for vassup

I'm trying to determine if the data in a string field is found in a list of possible strings. It needs to be an exact match. I can use a bunch of 'If' statements obviously, but is there a better way to search for a match, and then keep a …

Software Development visual-basic
Member Avatar for venkatramasamy
0
72
Member Avatar for plusplus

Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me [QUOTE]With gridMieter .Cols = 5 .TextMatrix(0, 0) = "Frist_id" .TextMatrix(0, 1) = …

Software Development sql visual-basic
Member Avatar for QVeen72
0
102
Member Avatar for Randika

I'm an aprentice to VB,but have a little knowledge and interested in doing experiments. What i want to know is,how to get the time difference? text1.text includes the 1st updated time and text2.text includes the 2nd updated time.text3.text must be the difference between two times. please teach me to do …

Software Development visual-basic
Member Avatar for venkatramasamy
0
142
Member Avatar for Grub

Hi I am making an vending machine application. Now the vending Machine takes 5, 10, 20, 50 pence and 1 pound coins. Now I create a String object and use this to read input from the user i.e. read the denomination (Money e.g. 5 or 10 pence) the user enters. …

Software Development java
Member Avatar for eranga262154
0
86
Member Avatar for Duki

I have a class called Person. I also have a class called Truck, inherited from class Vehicle. I want to overload the iostream operators for all three classes so that I can do statements such as: Person a ; Vehicle b ; Truck c ; cin >> a ; cin …

Software Development c++
Member Avatar for John A
0
93
Member Avatar for scottb2

Everything I read says that the academic edition should have "edit and continue" but when I try to enable it with the following instructions right from the HELP, [INDENT]To access the Edit and Continue page, click the Tools menu and select Options. In the Options dialog box, expand the Debugging …

Software Development vb.net
Member Avatar for scottb2
0
96
Member Avatar for catdieselpow

All functions compile except the max function where i am trying to get it to find the maximum number in the matrix. The error message says overloaded function with no contextual type information Please tell me why. [code] #include <iomanip> #include <iostream> using namespace std; const int ROW = 3; …

Software Development c++
Member Avatar for WaltP
0
209
Member Avatar for bcm

I have created project in [B][COLOR="Red"]VB.NET2005 [/COLOR][/B]for reading app.config. Now I want the text boxes to validate input values and then store that values in child nodes Astrology,Cricket,ForeignCurrency,Jobs respectively please help!!!!! :'(

Software Development app-store vb.net
Member Avatar for bcm
0
95
Member Avatar for Brent720

Hi. I'm a newbie at this forum. I've been using Delphi 3.0 for a long time, but have run into some problems I just don't know how to handle. I'm looking for some coding tips on how to do certain things in Delphi ObjectPascal. First of all, is Delphi 3.0 …

Software Development delphi pascal user-interface
Member Avatar for Duoas
0
465
Member Avatar for coolbreeze

I am trying to do a basic program that reads from a txt file and ouputs the results in a specific order on the screen. Its a salary type program. Here is my salary.txt file [code=C++] Randall Jones 25645.88 1999 Jim Johnson 56709 1992 Carol Troth 42387.05 2000 Briannal Deweyage …

Software Development c++
Member Avatar for chizy2
0
140
Member Avatar for HLA91

Hi all I am a noob to C++ and I want to make a program that copies a file from wherever previously specified to the location of where the program is running from, I looked on google but I cant find anything I can understand can somebody please point me …

Software Development c++
Member Avatar for John A
0
202
Member Avatar for dukedoc

I'm having a lot of trouble designing a switch statement that can take a string value I have to read from an input file and matching it up with an enum value using a switch statement so I can process the string using a function. Complicated, I know. Here's the …

Software Development apple c++
Member Avatar for Salem
0
236
Member Avatar for sgk26p10p07

Im coding on vesa mode 116h, i knw its properties like banks windows and resolution, my only problem is that i dont knw how to switch banks and dont know what the windows refer to. I also want help on the vesa service that provides the pointer to bank switch …

Software Development assembly
Member Avatar for Duoas
0
209
Member Avatar for babyfrostie

need help with the GUI of my program... i want it to be like this: [URL=http://img256.imageshack.us/my.php?image=faceeq9.jpg][IMG]http://img256.imageshack.us/img256/8919/faceeq9.th.jpg[/IMG][/URL] but this is what it shows.. hehe [URL=http://img440.imageshack.us/my.php?image=caym9.jpg][IMG]http://img440.imageshack.us/img440/8486/caym9.th.jpg[/IMG][/URL] im having a hard time with the GridLayout coz i think ie. GridLayout 3,4 doesnt appear to be 3,4.. thankss... [CODE]import java.awt.*; import java.awt.event.*; public class …

Software Development gui java
Member Avatar for babyfrostie
0
313
Member Avatar for majestic0110

Hi all, Just wondering if you could help me out here. bought a copy of c++ for dummies today and the first program in the book converts fahrenheit to celsius. Now I have some C and Java experience (I am a recent graduate of a software design degree) but have …

Software Development c c# c++ user-interface
Member Avatar for iamthwee
0
208
Member Avatar for rishiraj_bayerd

Hi all, I want to appear for the SUN certified Java exam. But I have no idea about it. Please help about it. How i prepare myself for this exam... Please help.... Wating for reply rishi

Software Development java
Member Avatar for Ezzaral
0
210
Member Avatar for cygnusX

When i search for certain words in RichTextBox i want to highlight them(if there is a match).That's ok but the problem is that i don't know how to set their default color back.I mean like the searching function in Firefox,all founded words are colored in yellow,then user can remove the …

Software Development
Member Avatar for iamthwee
0
141
Member Avatar for tragicallylost

Hi. I am taking a c++ class and I have to write a program that manipulates polynomials. The assignment requires that you have a largeInteger class from the STL list class. I have the code, but when I go to run it, I am having some problems. I went to …

Software Development c++
Member Avatar for iamthwee
0
114
Member Avatar for Jesi523

I am writing a program where I need to capitalize the first letter of each word in a text file. Example of information in the text file would be: this is the first line this is the second line this is the third line I have written a code that …

Software Development vb.net
Member Avatar for iamthwee
0
184
Member Avatar for perl21

Hello, I am new to c++ I am trying to write a program that reads the keyboard input while running in the background. I am on Linux. It is not easy for me because every example I find makes use of a library I do not have. When I google …

Software Development c++
Member Avatar for Salem
0
94
Member Avatar for Barefootsanders

Hey everyone, I was wondering if you could help me with something. I am attempting to set up VS C# EE on my comp but I would like to use it to make ASP/.NET web pages. I have VS C# EE installed but there is no selection for ASP web …

Software Development asp asp.net c#
Member Avatar for scru
0
116
Member Avatar for scru

Hi, say I have an app running in the background from startup. Now say I added an option to the explorer context menu to launch the app by right-clicking a file (how would one pass that filename in as a parameter by the way?), I would only want one instance …

Software Development
Member Avatar for JerryShaw
0
108
Member Avatar for uonsin

hi, i just want to get some opinions on a queues homework project. i haven't written any code yet, but just want to know if it is possible to create an array[16] items and then that each item has an array[1][3], i have to work independently with each item of …

Software Development java
Member Avatar for Ezzaral
0
75
Member Avatar for aus_fas1

Hi I am reading a file with number of frames. frame 1 distance [3072] intensity [3072] amplitude [3072] w_amplitude [3072] frame 2... Now I want to read the data in structure form so that I have:- frame[0].distance[0] frame[0].distance[1].... ... frame[0].amplitude[0] ... frame[1].distance[0] and so on. My code is below and …

Software Development c++ data-structure ios
Member Avatar for Lerner
0
99
Member Avatar for bujoldea

my intro to comp science teacher gave me an assignment to: 1) enter two different dates with the use of stucts 2) use a swap function to arrange each date in order from earliest to latest 3) use functions to calculate the number of days between the two dates 4) …

Software Development c++
Member Avatar for bujoldea
0
93
Member Avatar for maheen

hi i m new to this forum actually i ve joined this forum coz i m havin problems in c++ i m a student of telecom will any of u plz help me in writing a code for the following programs: 1.write a program that take 5 digit number input …

Software Development c++
Member Avatar for vmanes
0
124

The End.