132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Se7Olutionyg

[CODE]// file: PayrollFunctions.cpp // Computes and displays gross pay and net pay given an hourly // rate and number of hours worked. Deducts union deus of $15 // if gross salary exceeds $100; otherwise,deducts no dues. #include <iostream> using namespace std; // Functions used... void instructUser(); float computeGross (float, float); …

Software Development c++
Member Avatar for stilllearning
0
213
Member Avatar for Jennifer84

I know how to declare a 1D vector like below but how do you declare a 2D vector ? [code] List<String^>^ Vec1 = gcnew List<String^>(); [/code]

Software Development c++
Member Avatar for Jennifer84
0
169
Member Avatar for nrew

can somebody help me?Im a 1st yr. college student taking up IT. And we have this case study that I cant seem to answer on my own so I decided to join daniweb. The program that Im referring to is a slum book simulating program. Where you need to enter …

Software Development c++
Member Avatar for bhoot_jb
0
138
Member Avatar for dimples09

This is the main of my program all errors have been solved now I need help sorting my array list with a selection, bubble and insertion sort to print out in alphabetic order using the name as key numeric order using the income as key order of nationality in alphabetic …

Software Development java
Member Avatar for Ezzaral
0
107
Member Avatar for Stringman

I receive this error message: "[COLOR="Red"]error C2440: '=' : cannot convert from 'char' to 'char [50]'[/COLOR]" when this statement: [COLOR="red"]name_sel = *name [ name_int ];[/COLOR] or this statement: [COLOR="red"]name_sel = name [ name_int ];[/COLOR] is compiled. The context for this is the declaration of an array of names (character strings) …

Software Development c++
Member Avatar for bhoot_jb
0
137
Member Avatar for JustLearning

First let me describe the program All it does is pull in some chars and stores them in a linked list of stacks. I have the code written to pull them in but when I need to print them I dont know how to go backwards without deleting the node. …

Software Development c++ linked-list
Member Avatar for VernonDozier
0
186
Member Avatar for Se7Olutionyg

[CODE]//file: sticfigure.cpp //Draw a stick figure (main function only 0 # include <iostream> using namespace std; // Functions used ... void drawCircle (); void drawTriangle(); void drawIntersect(); void drawBase(); int main() { drawCircle(); drawTriangle(); drawIntersect(); return 0; } //Draws a circle void drawCircle() { cout<< " * " <<endl; cout<< …

Software Development c++
Member Avatar for Aia
0
157
Member Avatar for intsoda

Hello, I am trying to capture a cd-rom eject request (both soft eject through software or physical button press.... i believe they are the same request) so that I can display a Message Box before the cd-rom tray is ejected alerting the user that an object blocking the cd-rom door …

Software Development c monitoring-software
Member Avatar for intsoda
0
111
Member Avatar for Barvik

Hi, i've trying to make a program that reads data for a matrix and print the data for it. I can get the ostream operator to work, however the istream operator wont work. Any got some ideas to help me sort out the istream operator: This is my header file: …

Software Development c++
Member Avatar for grumpier
0
122
Member Avatar for marjz

can you give me thesis title??? i am a IT student \tnx!!!!

Software Development visual-basic
Member Avatar for ithelp
0
85
Member Avatar for jongskii d pogi

hi, i am a newbie in vb 2005 and i would like to ask for help regarding this problem that i encounter. i have no idea how to fill up my combobox or listbox using dataset. i am accessing data from sql 2000. please help...

Software Development dataset vb.net
Member Avatar for sidh
0
73
Member Avatar for gopi17

can some help me with this datetimepicker problem... btime1 is my datetimepicker(format is time) [code] Dim time559 As DateTime Dim time1001 As DateTime time559 = FormatDateTime("5:00:00 PM", DateFormat.LongTime) time1001 = FormatDateTime("10:01:00 PM", DateFormat.LongTime) If Btime1.Value < time559 And Btime1.Value > time1001 Then MsgBox("Booking Time is only available from 6.00 PM …

Software Development vb.net
Member Avatar for timothybard
0
132
Member Avatar for absu

Hello, I am trying to open a txt file from a link in a gridview. this is code i have, [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" EmptyDataText="No records found matching your criteria" Font-Bold="true"> <Columns> <asp:BoundField DataField="file_name" HeaderText="File Name"/> <asp:TemplateField HeaderText="Open"> <ItemTemplate> <asp:HyperLink ID="Open" NavigateUrl='<%# Eval("file_name") %>' Text='<%# Eval("file_name") %>' runat="server" /> …

Software Development file-system perl
Member Avatar for LizR
0
668
Member Avatar for eddytools

We are facing Run-Time error problem with our product which is developed in Visual Basic 6 and Flash Component for its UI. ([url]http://74.50.1.237/downloads/PMP.exe[/url]) Product was developed four year back and was working fine at that time. but as new updates and survice pack are comming for windows most of our …

Software Development flash visual-basic
Member Avatar for DGULLIVER
0
399
Member Avatar for intel1111

I am currently learning Pascal at school an I'm thought i was getting pretty efficient until i was set work on the repeat until loop. I was working on a program that squares then cubes a number until a rouge value of -9999.99 but it won't! [code=pascal] (* Author: Tony …

Software Development pascal
Member Avatar for MoZo1
0
109
Member Avatar for Craig2231

Ok, im quite new to VB, im making a betting game (out of boredom) but ive got stuck at randomising a winning horse (horse betting) completely pointless i know, but im doing it to practise my skills what i learned in IT at college. There is 7 horses to chose …

Software Development visual-basic
Member Avatar for Drycola
0
107
Member Avatar for ComeAsYouAre

Hello all! I need to write simple game with Forms, Buttons, but by using only!!! .dpr file. I tried to transfer the information from .pas, .dfm files and even has achieved success to compile it, but at start there is an exception EResNotFound ('Resourse TForm1 not found') I shall be …

Software Development gui pascal
Member Avatar for MoZo1
0
463
Member Avatar for Tank50

Below coding part give me exception once i run my program. [CODE] data = D01.Tables[0]; if (C == 0) { expression = "(New_SE_CODE is not null and SE_Code is not null and Shop_Code is not null and X is not null and Y is not null and Shop_Name is not …

Software Development dataset
Member Avatar for LizR
0
165
Member Avatar for jesie0405

hi, we have this assignment in our computer subject in school. we need to create a c program that converts decimals to base(2-9) and vice versa. i know how the coversion works but i cant perfect my program. here's my program... i know the output for the 1st case is …

Software Development c
Member Avatar for jesie0405
0
80
Member Avatar for dulusementara

I tried to write my code, and it looks like something like this (i cut some of them to make it readable). [CODE]class TimeSeriesDatum { public: TimeSeriesDatum(); //TimeSeriesDatum( double = 0, int = 0, string = ""); TimeSeriesDatum( double, int, string ); // getter, setter... private: double value; }; // …

Software Development c++
Member Avatar for Ancient Dragon
0
332
Member Avatar for drameshcbe

i need the c program code for controlling trafic signal using graphics can any send the program

Software Development c
Member Avatar for Denniz
0
95
Member Avatar for happy8899

How for me to create gaussian noise to be put into images where the gaussian noise have several level of noise. Eg) i can select 10% until 100% for the level of gaussian noise to be inserted into the images.

Software Development c++
Member Avatar for dougy83
0
369
Member Avatar for pardeep3dec

Dear Friends, Here i am giving my programme coding and error. file name - MyCanvas.javaimport java.awt.*; import java.applet.*; public class MyCanvas extends Applet { public MyCanvas() { setSize(80, 40); } public void paint(Graphics g) { g.drawRect(0, 0, 90, 50); g.drawString("A Canvas", 15,15); } } When i use command javac MyCanvas.java …

Software Development java
Member Avatar for mangel.murti
0
167
Member Avatar for murderotica

Hello there, I just would like to ask what are the basic needs in order for me to develop a mail library using C#. I've been googling around for good tutorials in developing mail libraries but haven't found any decent one. Thanks!

Software Development c c# c++
Member Avatar for murderotica
0
134
Member Avatar for ymf

I'm trying to get a GUI application to display an image. So far I've got this bit of code: [CODE=java] import javax.swing.*; import java.awt.*; public class DemoImage extends JFrame { public void showImage() { // creates the actual frame with title 'My GUI' and dimensions JFrame frame = new JFrame("My …

Software Development display gui image java java-swing
Member Avatar for peter_budo
0
194
Member Avatar for PoovenM

Hi guys, I'm not really sure how to ask this or what to even search for. I want to write a Java program that can feed data into another program. If the other program had command line parameters then I'd know what to do, but suppose the program I want …

Software Development gui java
Member Avatar for PoovenM
0
127
Member Avatar for happy8899

Can anyone help me by telling me where to find twofish source code other than from scheinier website?? I just want to find a sample source code of encrytion and decrytion using twofish algorithm. Thx a lot for the help..

Software Development algorithm c++
Member Avatar for Salem
0
609
Member Avatar for JackDurden

Im just getting garbage in the output. It outputs the correct number of items but its not the right numbers. Im not sure why it is happening. The text file just has numbers like this: 12 34 56 34 67 23 64 23 [CODE]#include <iostream> #include <fstream> using namespace std; …

Software Development c++ linked-list
Member Avatar for JackDurden
0
87
Member Avatar for plike922

please help... my computer moves wont work. it not an error it a crash or infinite loop. [CODE]#include <stdio.h> #include "strlib.h" #include "simpio.h" #include "genlib.h" #include "string.h" #define size 9 void main() { int rand, x = 0, i, player = 0, turn = 0, row = 0, column = …

Software Development c
Member Avatar for Aia
0
98
Member Avatar for RayvenHawk

Ok I'm doing my final project for my Data Structures class and have a quick question. This hasn't come up in any of my programming classes yet (which now that I think about it, is kind of odd but oh well). What I'm having to do is write an interactive …

Software Development c++ data-structure
Member Avatar for RayvenHawk
0
205
Member Avatar for laghaterohan

hello, i am here again with my strange question.. I have an image (a logo ), however i need to insert this image in the title bar of the project... i MEAN to say where the form name appears i want the image there instead of ne where on the …

Software Development image vb.net
Member Avatar for Teme64
0
772
Member Avatar for Enriel10

Hi everyone! I need some help about one problem with Matlab and C. I need to convert Matlab code to C code. I have seen that there are an additional part of Matlab called RealTime Workshop that made it but is not free and i heard about Octave that probably …

Software Development c
Member Avatar for DavidB
0
103
Member Avatar for JackDurden

How do I get the data from file into the Insert function? Or more general how do you get data from a file and put it into a linked list? [CODE]#include <iostream> #include <fstream> using namespace std; class List { public: void Insert(); void Print(); }; struct node { int …

Software Development c++ linked-list
0
83
Member Avatar for jadedman

hello can anyone tell what header file should i use in making graphics in c++? im starting to make graphics work in my programs and im a newbie... :)

Software Development c++
Member Avatar for jadedman
0
89
Member Avatar for MrDiaz

Hi, I'm wondering how I can accomplish this. Suppose I have the following array [CODE]String[] randomText = {"hi", "hello", "hey there"}[/CODE]; If I want to print the array I only know how to do so line by line. [CODE]for (int num = 0; num < randomText.length; num++){ System.out.println(randomText[num]); }[/CODE] Can …

Software Development java
Member Avatar for MrDiaz
0
191
Member Avatar for bpacheco1227

I am very stuck. I need to write a prog that uses arrays and receives the length and the width of a multiroom building and find the area needed for for the carpet or wood flooring. This is just the first part and thisis as far as I am able …

Software Development vb.net
Member Avatar for timothybard
0
162
Member Avatar for defience

Hi, I found this sudoku solver online and it works good but I was wondering how I could get the answer that's in matrix form, to also print out in a single comma-delimited line, instead of 9 rows of 9? [code] from copy import deepcopy class DeadEnd(Exception): pass class Matrix: …

Software Development python
Member Avatar for defience
0
98
Member Avatar for KDizzle

i need help programming pascal's triangle in C. i looked at the old threads, and none of them really helped. its a simple program, so no getch() or anything special. i started to create an array and give each element values. when i tried to run it, my output it …

Software Development c pascal
Member Avatar for josh2
0
148
Member Avatar for badbloodyeyez

Hi, I would like to know how to determine whater a user has logged off, using a software, the software must run at the background so that the user doesnt know. Basically I want to find out if the user hits the log off button as soon as it does …

Software Development c
Member Avatar for badbloodyeyez
0
69
Member Avatar for blackryu21

I was wondering, how do I put in an index number for n elements. The program provided asks you to enter the numbers and it puts them in descending order, but I need an index number to be put with the values you enter for n to be the same …

Software Development algorithm c++
Member Avatar for ArkM
0
102
Member Avatar for taineechan

Hi All I want to delete records from a table. I'm using the following query: [code] adqdelete.active := false; adqdelete.sql.add('delete from stalls'); adqdelete.sql.add('where stall_name ='); adqdelete.sql.add(edtDeleteStalls.Text); adqdelete.active:=True; [/code] This gives a syntax error. does anyone know what I'm doing wrong? Thanks for your time Tai

Software Development delphi pascal sql
Member Avatar for ennis
0
371
Member Avatar for l_03

hello guyz,,do you know best sites to recommend that has a tutorials on "swing" about: a.) sample writing a file on "text file" b.) the saved text file will be read by the main class in JOptionPane (java file) actually, i has on it on bufferedreader,,but i really like to …

Software Development java java-swing
Member Avatar for peter_budo
0
211
Member Avatar for Duki

Hey guys, is there something special I need to do to access the RS232 port in Linux from C#?

Software Development
Member Avatar for LizR
0
80
Member Avatar for octavia

Hi all, As i'm new to VB 6.0, anyone could help me to find out this issue? how to change the color of text which is in textbox? thanks in advance :cool:

Software Development visual-basic
Member Avatar for debasisdas
0
166
Member Avatar for saat

I want to the format of Dt Picker with link microsoft access. I write in format property dd/mm/yyyy. and the month is show, but this didn't link access . why?. any body help me to how the format link of Dt Picker with access. This project is important for me....... …

Software Development microsoft-access visual-basic
Member Avatar for debasisdas
0
79
Member Avatar for TheNational22

I have a software that use command line arguments to create files. You go to the directory, type posidbfw /alt 1 1, it creates the files. I want to call this from one line. I was using subprocess.Popen, but it doesn't see the arguements, any help?

Software Development python
Member Avatar for sneekula
0
157
Member Avatar for JackDurden

Im trying to find out if something is in this linked list function and if it is to return true and if not return false. How do you find out if ThingType thing is in the list? [CODE]bool Thelist::Search(ThingType thing) const { Node* current; current=listPtr; while(current->thing != listPtr->thing) { } …

Software Development c++ linked-list
Member Avatar for Narue
0
75
Member Avatar for TheNational22

Trying to create a zip file with yesterdays date. I think I got everything, but I am getting module has no object attrib error. Any ideas? [code] import os import zipfile import datetime today = datetime.date.today() yesterday = (today + datetime.timedelta(days=-1)) file = zipfile.Zipfile("CT" + yesterday.strftime('%m%d%y') +".zip", "w") files = …

Software Development python
Member Avatar for sneekula
0
129
Member Avatar for nizbit

I need major help. My program will compile but when I run it I get a segmentation fault. I don't know how to run a debugger with multiple files. Could someone please find when this error occurs? My project is due in 2 hours.

Software Development c++
Member Avatar for Insomniac119
0
162
Member Avatar for tones1986

Hey All - i am currently working on an assignment for a computer science programming class. I have to find and print all the prime numbers from 2 to N (N being a number read in from file). I have some code but i do can not get my mind …

Software Development algorithm c++
Member Avatar for skatamatic
0
430

The End.