132,726 Archived Topics
Remove Filter ![]() | |
[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++ | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
[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++ | |
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 | |
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++ | |
can you give me thesis title??? i am a IT student \tnx!!!! Software Development visual-basic | |
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... | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
i need the c program code for controlling trafic signal using graphics can any send the program Software Development c | |
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++ | |
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 | |
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! | |
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 | |
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 … | |
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.. | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
Hey guys, is there something special I need to do to access the RS232 port in Linux from C#? Software Development | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … |
The End.