199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sydneyrustle

hi all, just looking for some help with setting up an array of items for a stocktake program. i have an item class that works, and now i need to create an array to hold an array of the items. the item class code is class Item { private String …

Member Avatar for yassar
0
120
Member Avatar for liliafan

Hi All I am hoping someone can help me out since this is driving me nuts. On my site I have 3 columns: [code] |sidebar| content |sidebar| [/code] What I want to do is have the height of the 2 sidebars controlled by the height of the content. So instead …

Member Avatar for liliafan
0
215
Member Avatar for t3bruce

[code]using dice std; # include <cstdlib> int dice( ) { int. random_ interger = rand ( ) cout << random_ interger << end 1 }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][co[u][/u]de][/co[u][/u]de][/url] tags >> . Write the member function definitions for each function listed: 1. Object Type: a pair of dice Knows: The …

Member Avatar for Dave Sinkula
0
180
Member Avatar for hzuniga4

For some reason the code is not printing the error string in the output screen of the operating system. Go figure? This code is directly out of the book. [code]#include<iostream.h> #include<fstream.h> #include<stdio.h> #include<stdlib.h> #include<conio.h> ofstream fileout; ifstream filein; void main() { char file[20]; //you must type in filename and extension …

Member Avatar for Catweazle
0
127
Member Avatar for Funktar

omg i need help so bad. I've been working on a school project for what seems like an eternity and i'm close to deadline. Using FIFO's (i ahve to) to communicate between parent and child proc's. Right now I'm stuck on a read/write. fifomsg is a struct with int length …

Member Avatar for Dogtree
0
175
Member Avatar for silicon

Hi everyone, I am still having a few issues with my program. It definitely runs but it just seems to run poorly. I think my problem lies within the following 3 sections Quicksort, Partition, and Insertion I've written comments next to each line of code just to make sure that …

Member Avatar for Dogtree
0
130
Member Avatar for vex

What is the difference between grammar and syntax in a language? Thanks in advance

Member Avatar for frankcs
0
100
Member Avatar for dave_s

Hi, Using Dreamweaver I have created a form that submits data to an sql database using PHP. I have a number of questions that I hope you can help with. 1. Why are some fields on the form a different colour when the background on all fields are set to …

Member Avatar for dave_s
0
161
Member Avatar for Killer_Typo

I was wondering if someone could aid me in this. all help will be duly noted in the script itself. Here is what i am trying to achieve, a realtime editor of the CSS attributes of a given page. I have the page i am using and the CSS table, …

Member Avatar for Killer_Typo
0
136
Member Avatar for sinrtb

HAving trouble with my pointer arithmetic, any ideas appreciated My orgional code [code] Activity p[51]; for ( int i = 1; i <= n; ++i ) { // Read the activity records. pert >> p[i].i >> p[i].j >> p[i].pt >> p[i].prt >> p[i].ot; pert.getline(p[i].desc,21); [/code] converted but wrong [code] Activity …

Member Avatar for Dogtree
0
456
Member Avatar for JoBe

Good evening everyone, This next exercise, I have to do the following: Write a ClassTemplate for a linked list. Demonstrate it by using two linked lists. The datafield of the first type is int, the second one is double. What Ive got sofar is this: [code] #include <iostream> #include <vector> …

Member Avatar for Dogtree
0
228
Member Avatar for M.Rodz

Hi. I have to write a program that will return the amount of all the vowels on a string.. I already did it, but it freezez during the execution :sad: . Any suggetions are welcome. ps.I must say that I am a begginer on this... :o Here is the code: …

Member Avatar for Dogtree
0
210
Member Avatar for tyczj

ok im stuck how do u print to the screen in the main file from a class? this is what im doin [CODE]ostream &operator <<(ostream &outs, const Point &p) { outs << "(" << p.getX() << ", " << p.getY() << ")"; // print out the value of the point …

Member Avatar for Dogtree
0
231
Member Avatar for SquirrelProdigy

Why is it that a major class should be defined in a header file, then given a source file to define it's functions?

Member Avatar for Dogtree
0
165
Member Avatar for M.Rodz

[COLOR=Blue][FONT=Arial Narrow]Hi. I am a begginer :cheesy: on the programming area and I am currently taking a course on C++. I have doubts :o about how to use the strchr function. Can somebody give me some hints? :?: Thanks.[/FONT][/COLOR]

Member Avatar for vegaseat
0
194
Member Avatar for RustyShock

Hello all: I'm creating an image gallery that opens in hidden divs. Here's my javascript code: <script type="text/javascript"> <!-- function popupSwitch(szDivID, iState) { if(document.layers) { document.layers[szDivID].visibility = iState ? "show" : "hide"; } else if(document.getElementById) { var obj = document.getElementById(szDivID); obj.style.visibility = iState ? "visible" : "hidden"; } else if(document.all) …

Member Avatar for tgreer
0
173
Member Avatar for AhmedHan

I'm using GNU Pascal. For my homework (due to next Friday) I have to learn how to set up the cursor position, and how to change text and background colour. And how can I learn more about such commands?

Member Avatar for AhmedHan
0
194
Member Avatar for yonscun_lie

Dear all, This is my first post :). I am an undergraduate student of an IT university. Now I start to making a thesis as final project for undergraduate. My thesis is about to build a simple article manager. This project must to build with a good Object Oriented Analysis …

0
134
Member Avatar for pomahony

Hi, I have an application (a web browser control within a vb6 form) which shows users their weekly schedule. At the moment they have to input their user id to see the schedule. What I want to do is have their schedules automatically appear according to their network login. I …

Member Avatar for Comatose
0
415
Member Avatar for Scuuba

Hi, sorry I'm posting so much all off a sudden, but I recently found these forums, and they've been a lot of help. I'm have to read into the program from a file and output into another file. The problem is in function calculateGrade. When I output, I get a …

Member Avatar for Scuuba
0
124
Member Avatar for madt

can someone help me with this, or just help get me started. write the definitions of the functions to overload the increment, decrement, arithmetic, and relational operators as a member of the class rectangeType. write a test program that tests various operations on the class rectangleType

Member Avatar for Dogtree
0
169
Member Avatar for fareen

Hi all, I'm fairly new to Perl I am confused ? I will try to explain it. What i am trying to do is we have 26 branches and our central office generates data files like for income files (003.inc010105,003.inc020105,) /sales(003.sal010105) and many more reports on dialy basis in text …

Member Avatar for fareen
0
688
Member Avatar for dakkar

Hi! I've a HTML form I've a function with some parameters that checks the value of each field (it's called within a onBlur event). This function check the type and other restrictions about that field. I must create a function that checks that all required fields (or options or other …

Member Avatar for Duches77
0
301
Member Avatar for Auron

Hey everyone. I am not sure of any of you are familiar with the term MUD (which is Multi User Dungeon, a text-based game). If not feel free to go over to [url]www.mudconnect.com[/url] to check it out. Anyway, back to my post. What I am currently planning on doing is …

Member Avatar for Libertate
0
293
Member Avatar for apcxpc

Hi all I've programmed a relay chat system in Java. Just having two GUI-related problems with the chat client itself. [B][U]Problem #1[/U][/B] : I can't get the chat windows to scroll as new text appears in them. The scroll bar [i]does[/i] appear when it needs to, but it remains at …

Member Avatar for jwenting
0
394
Member Avatar for MrConfused

I use VB5 and I have a form which has very close to VB 5's limit of 255 controls per form which is starting to concern me. Can someone tell me if the limit for VB6 was increased and let's not forget VB net if possible (although changing the code …

Member Avatar for Comatose
0
319
Member Avatar for nathanj99

Hi Im using C++ builder 6 and need to print off some text. The text will be in the form of strings. I guess I need to use TPrinter. Can someone point me in the right direction on how to print stuff out from C++. I need to be able …

Member Avatar for vegaseat
0
180
Member Avatar for tricia

I need to show three frames consecutively for 500 msecs on a form then move to a new form. I have tried calling a sub procedure to do this but it doesn't work. Can anyone help please?

Member Avatar for Comatose
0
228
Member Avatar for MrConfused

1. With VB5 you can either create an EXE file while you are running VB, or use the separate setupwiz utility to create a .EXE file. The setupwiz way results in a smaller EXE file. Is this the only advantage? Also the setupwiz way results in the program doing something …

Member Avatar for Comatose
0
294
Member Avatar for tat2dlady

I know you use strcmp() with strings and that if it is equal to zero, they match. But, how do you see if one string is less than the other? I want to compare SSN's to see if 12345620 is less than or greater than 123456708. Thanks for any input.

Member Avatar for Dogtree
0
1K
Member Avatar for vhinehds

Hi to everyone... Just for clarification and added information...can someone please explain deeper what are VB RUNTIME Files and its use or benefit if i dont have VB software. Your response would most likely help me before i start programming in VB, thanks a lot.

Member Avatar for vhinehds
0
379
Member Avatar for idris

hi,, the program i made is soppost to reads 3 integers from user and solve the average, the maximum, the minimum and their median value..the problem with the program is that the median section is not working, can u please have a look at it.. [code]#include<stdio.h> main( ) { int …

Member Avatar for idris
0
234
Member Avatar for shelly121

hey ppz! im havin problems wiv my code on vb.net! it dopesnt recognise the "ADODB connection()"-it says its not defined?? i have added the data adapter and connection, so why doesnt it work??? [PHP]Imports System.IO Public Class frmClients Inherits System.Windows.Forms.Form Dim CN As New ADODB.Connection() Dim RS As New ADODB.Recordset() …

Member Avatar for Robert Walker
0
286
Member Avatar for pdomja

Apologies if this is a simple query, I only get to use Oracle on the odd occasion so I tend to get a bit rusty. At present I am attempting to create a view that gathers data from 4 tables, this information will then be queried by an external application. …

Member Avatar for pdomja
0
170
Member Avatar for ross_player1

im a beginner in C++ and require help in developing a program that converts the price of a list of items from a text file from £ to euros. i am supposed to be able to edit this program so that there is a). GBP/Euro conversion rate. b). Data to …

Member Avatar for ross_player1
0
135
Member Avatar for mister

Hello, thanks for taking the time to read my query. I've basically got a page (dark grey) with a panel that sits in it (light grey).. this fills the screen, except for a 16px gap around the edge which allowed the dark grey (from the body tag) to show through. …

Member Avatar for DaveSW
0
131
Member Avatar for augie0216

I'm trying to learn asp.net in vb.net. I have a form to order hats online because I'm learning only one hat at a time may be ordered. I have two listboxes one displays the size and the other the color, I have a checkbox which if checked adds a logo, …

Member Avatar for NPH
0
342
Member Avatar for bluesmiley

Can someone please help me with this program? it is supposed to ask user to input ten integers which are part of an array and then output that array and then output the numbers in ascending and descending order in an array. can you repair this program? thanks. import java.io.*; …

Member Avatar for NPH
0
149
Member Avatar for nabil1983

hello everyone. ok i got a program (see below i know its long but just copy and paste and it will work),, my only problem is i need to include a search method (i.e. where i enter CDName and it prints out the rest of the details of the CD.) …

Member Avatar for NPH
0
114
Member Avatar for moonduke

Please Help my code for this program is listed below what the program is supposed to do is also listed below. I can't get it to work. The problem Write a program to compress a message consisting of the ten symbols A, B, C, D, E, F, G, H, I, …

Member Avatar for NPH
0
152
Member Avatar for Scuuba

ok, so I'm supposed to write a program which allows the user to input 5 candidate names and the number of votes they receive. The program should the spit out the names, number of votes, percentage of votes received, the total votes, and the winner of the election. This is …

Member Avatar for Scuuba
0
173
Member Avatar for <<J_M_K>>

Fellow designers, I am currently in the process of designing a software program that, from my research, does not exist. The program will basically function as a combination of, at least, 3 existing programs...MS Word, PPT, & Media Player. The end result is a program installed on a PC that …

Member Avatar for Dogtree
0
219
Member Avatar for Mr.

Hello, I have a small app that uses pipes to do some basic client / server communication, just for testing purposes. Well, when the server is run before the client, it works fine. However, if the client is run before the server, there are problems. To solve this I wanted …

Member Avatar for Mr.
0
211
Member Avatar for Robert Walker
Member Avatar for ESHbyESH
0
193
Member Avatar for server_crash

I can can use a BufferedReader to open a Streamat the command line, like this: [Code] BufferedReader br = new BufferedReader(new InpuStreamReader(URL.openStream())); [/Code] Once I try to use this same statement inside of my applet, I get an AccessControlException. I know it's something to do with security, but how do …

Member Avatar for Phaelax
0
143
Member Avatar for Wenshere

I would like to design a program to implement a string of operation, such as: 1+3/4+5*5-(454*23-34) Then, it returns a correct answer. And what's the exact algorithms?

Member Avatar for vegaseat
0
110
Member Avatar for krayek

Hello, I am new here looking for some advice. I belong to a programming group that intends to simulate hearing loss via software that we are creating. At the moment, we are looking to see how are we able to obtain sound from sound cards. What we intend to do …

Member Avatar for vegaseat
0
111
Member Avatar for tristan

Hello, I am having a members search page, where you can look up members by searching on e.g. age, interests, country etc. If the user does not specify e.g. an age range, then all ages should be included in the search. But if a specific age range is specified, then …

Member Avatar for sarahk
0
221
Member Avatar for pranavjec

hi guys, i need some help. i need one c program about a file called segy. hve to extract some information from its header(trace header) & stored it in another file to view.The information i have to extract from the trace header are inline,crossline,x coordinate & y coordinate. i wanna …

Member Avatar for Dogtree
0
202
Member Avatar for kramer147

here is the sequence i'm using for my arrow keys [code]#include<stdio.h> unsigned char keyin main() { if(square==1) {//start square putimage(285,440,ste,COPY_PUT); while((keyin=getch())!='\r') {//up arrow key if(keyin==72) {//hit up arrow keyin=getch(); square=2; }//hit up arrow }//up arrow key }//start square do {//game from start square on if(square==2) {//on square 2 putimage(285,400,ste,COPY_PUT); }//on …

Member Avatar for Dogtree
0
396

The End.