132,726 Archived Topics
Remove Filter ![]() | |
Hi friends, My problem definition is as follows: Creating a class name called "Kangaroo". 1] An __init__ method that initializes an attribute named pouch_contents to an empty list. 2]A method named by creating put_in_pouch that takes an object of any type and adds it to pouch_contents. The following is the … Software Development python | |
Need some help. I have an assignment that calls for the sorting of two arrays. One is an array of doubles, the other chars (two dimensional). I cannot figure it out for the life of me. Here is the whole program. [CODE]#include<iostream> #include<iomanip> using namespace std; //Function Prototypes double sumRain(double[], … Software Development c++ first-post | |
Hi all! I have just started learning c++ and i have a lil' problem compiling one of my programs (ADT). I havent finished it yet and started partialy verifying it, if it's correct or not, but i just met an error and i have no idea what the hell is … Software Development c++ | |
wHAT IS THE DIFFERENCE BETWEEN CRYSTAL REPORT AND DATA REPORT IN VISUAL BASIC Software Development visual-basic | |
Hey people, just a quick one here, as its getting quite annoying. Basically i want the form to only be closed when a correct password is entered using the form closing event. i have tried the following methods but they all seem to crash... any ideas? They all start with … Software Development vb.net | |
Hi, Guys Here's an important problem I have been facing lately. My idea is to partition an array on basis of an element such that, this element has all the elements smaller than it before it and all the elements greater than it after it ... ( Similar to pivoting … | |
hello everyone. im a newbie at working with c++ and i have just got my assignment and it is to create a piece of software to analyse images of coins. can someone help me? i just need help starting it off then i can get the rest done. never done … Software Development c++ | |
hi to all the experts here, i am facing a minor problem..... i ady established the connection from VB6 via ODBC to MySQL and all the data needed has been passed to MySQL perfectly. But then how do i actualli retrieve the date from MySQL and show in VB 6.0? … Software Development mysql open-source visual-basic | |
Guys i want to make a system that can access a mysql database through the internet. Does this mean that i going to assign the IP address of my database server to the IP given by the provider? like for example 110.92.221.70.. is this valid as the ip address that … Software Development mysql visual-basic | |
ok here are my questions, first of all ill ask the shorter one first, ok with vb can you make bots for games (my game being diablo 2 LoD) and if you can, how would i go about doing that, and yes, i would like it to be a bot … Software Development client-server vb.net windows-server | |
[quote]Reposting from another forum as i didnt get many suggestions there[/quote] Hi Guys, In my project the user will enter the name of the organization and it's floor map has to be displayed. the maps have to be made by us and need not be complicated at all. what i … | |
I was wondering if what I have done is correct or not. Here's what my book says to do: [I]"Write a function template that accepts an argument and returns its absolute value. The absolute value of a number is its value with no sign. For example, the absolute value of … Software Development c++ | |
Anyone know where I can find a good tutorial on windows forms timer? All I need is a sample of something that is similar to a count down timer. Any suggestions? Software Development | |
I have my code to the point where I see the information on the print preview, but when it prints it is only printing the last line of the page. Any ideas of what I need to fix to get it to print all the information contained? I am new … Software Development vb.net | |
i am trying to display the output in jlabels for this shipping cost program i have coded. I have created individual jlabels for the package ID, weight, and shipping cost and tried to display them with the mainPanel. I had no problems making labels for the input in my designFrame … Software Development java java-swing | |
For our class, we're supposed to simulate a moon lander program. For a given starting value for the height (200 feet above the surface), amount of fuel (100 pounds of fuel), and velocity (0 ft/sec), we're supposed to simulate a ship landing on the surface of the moon, depending on … Software Development c++ | |
Hi everyone. I'm trying to create an array of distinct random numbers. This is what I have so far. [CODE] std::vector<int> randomNumberVector; randomNumberVector.resize(10); void CBlah::Randomize(void) { int randomNumber; int length; int i; BOOL isTaken; length = randomNumberVector.size(); for(i = 0; i<length;i++){ while(randomNumberVector[i] == NULL){ randomNumber = GenerateRandomNumber(); isTaken = CheckRandomNumber(randomNumber); … Software Development c++ | |
Dear c++ guru: In c++, normally we will call a function as shown below: [code] int funct () { ...; } void main() { funct(); } [/code] main will call the function "funct()" which is defined within the same file. However, in my case, i wish to have the "funct()" … | |
Hey Guys I am trying to get a basic program to work with dynamic memory allocation. I have a problem with a overload operating my stream operator...<< On my previous program i used this: [code] ostream& operator<<(ostream& output, const Vector& p) { output << "(" << p.x << ", " … Software Development c++ operating-system | |
Hi, I wish to read an input file 5 times. I am able to read it once but when i try to read it second time i am unable to do that because the file pointer is stuck at EOF. Can anyone suggest a small sample code of how to … Software Development c++ | |
[B]The problem:[/B] Given a list of imployees, create a simple program that allows the user to insert, delete, display and search an employee. The prog. shall display 10 imployees as default. Also a list of menu should be display. The menu names are insert, delete, dsplay and search. [B]My questions … Software Development c++ | |
Hi everyone, I just started C and I'm trying to understand some conceptual things. If anyone can help me with any of my questions It would be appreciated! I just want to hear it from something other than a book. 1. So, if macros can hold arguments, why would you … Software Development c | |
Hi everyone! What is the code if I want to connect to MS ACCESS or SQL SERVER using C++? Is there a special compiler for c++ for that database code? Thanks | |
i have been having problems inputting some data from a file and i am clueless as to why i keep getting the output i do. This is a partial part of my code but as you can see from my output for some unkown reason I am not inputting an … Software Development c++ | |
I would like to open a access database using VB.NET. However i want to be able to connect to a Access database at runtime and have this appear in the datagrid. how do you do this? I would also like to create a database using VB.Net and have fields weight,comment … Software Development vb.net | |
![]() | I'm making a program that reads in data from a file into 2 different arrays (one is an int array and another is a char array). And they are parallel. These are songs and song types (hip hop, jazz...etc). I want to print the songs as a playlist then I … Software Development c++ ![]() |
I have been reading the posts on radix sort here at DaniWeb and at [url]http://www.cubic.org/docs/radix.htm[/url]. I have already created the code for the counting sort which will do the rest but I do not understand how to do the radix part. I guess what I am asking is if you … Software Development c++ | |
Hello, I am new here so Hi to everyone. My name is Debbie and need help writing a pseudocode for the following program as Im a little confused, heres the program for code: write a program that can be used to calculate the cost of a phone call. a call … Software Development visual-basic | |
hey guys, I want to create 6 different random numbers without repetitions and this what I have done. I just wanted to make sure if this logic makes sense. [CODE] for(int n=0 ; n<6 ; n++) { randomInt[n] = generateRandomInt(0,20); cout << randomInt[n] << endl; } for(int i=0 ; i<6; … Software Development c++ | |
I made a library (.lib) with VS2005. Is there a way to convert it to a .a linux library without moving the code and setting up a project and compiling in linux? Thanks, David Software Development c++ | |
I am trying to get the current date in a tdbdate textbox and am having no luck. I am currently using: [code=vb]TDBDate1.Text = Now()[/code] But it is still only showing what is in the Properties Text box. Is their something within the properties menu that I need to change in … Software Development display visual-basic | |
I am writing a applet-based mini-game. Whenever I open up the HTML document with Internet Explorer to test what I have so far, it just says "Java Applet Load failed".When I do the same with the AT&T browser, I get a blank web page with a big grey rectangle (or … Software Development html-css java web-browser | |
guys, i have been trying to do this for 4 days straight... i'm not getting anywhere... i really need ur help. i can do the formulas and the action listener and all that, but the only thing that i seem to be having a problem is with the layout of … Software Development java java-swing | |
hai i am nireekshan; i am using Mysql 5.0; it was instaling C:\Program Files\MySQL; i am write code Bellow see and --save c:\ "Mysqlcon.java " in this program run-in commend Fromt> javac Mysqlcon.java It was NOT Any Errer; >java Mysqlcon ERRER ACCERED.......CLASS NOT FOUND EXPATION //I AM COPY Mysql.jar file … | |
![]() | Hi ! I am new to C. I am developing C for an Assembly and C combined code for a project. I need to display simple messages to the Hyper terminal using C. To be specific, (See attached snippet of code which I am trying to run on Keil toolset) … |
Hi, I have multiple text files (.txt) which is a table like input:- Column1 Column2 Column3 Column4 1 5 10 15 5 10 20 40 .......... This is just one of the .txt files and I want to insert these txt files into separate worksheets in excel workbook. Any idea … Software Development shell-scripting | |
Hi gys how are you, I really need your help to understand the idea for putting some parameters with main function, it is like this ( int main ( int a , int b , char* c) ) what is this and when we use it and how!!! ... I … Software Development c | |
the purpose of my assignment is to create a program using arrays and strings, with functions and parameter passing. i'm sort of having trouble with it anyway, but i'm currently stuck on the "load" function that i'm supposed to write. i've already written the isFull and addMessage (which i'm not … Software Development c++ encryption | |
Can anyone help me write a program that will print a sentence using 5 different words that are in 6 different array's based on a random number generated by the computer. Right now my code will print 5 sentences using each elimate from each array, but it doesn't pick the … Software Development c | |
Hi, i need help with my c.w i know this is not the right place to ask but i have no other choice ! I had a friend who was suppose to help me to do this but went to holiday and now i have till 3rd april to submit … Software Development c++ | |
Okay so I have have been beatting my head againest the wall and I can not get this to work right. I have asked my insttor and she does not know why it will not work righ either. I read in numbers as characters and then I place them in … Software Development c++ | |
/tmp/ccSx0L0H.o: In function `employee::getdata()': multi.cc:(.text._ZN8employee7getdataEv[employee::getdata()]+0x31): warning: the `gets' function is dangerous and should not be used. Software Development c++ | |
Hi everyone, I generate in a for loop: 1- An array made of random numbers 2- Add the elements of the array and store the result in a number S 3- finally write in a .txt file the number j(number of time that the for-loop has been executed) and the … Software Development c++ | |
I am using ASP.NET(web form) with C#. [CODE]using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Data.SqlClient; namespace Simpleweb { /// <summary> /// Summary description for WebForm1. /// </summary> public class WebForm1 : System.Web.UI.Page { protected System.Web.UI.WebControls.Label Label1; … Software Development asp.net web-server | |
hello all..... i was asked to perform a program of a calculator using stacks........ so i'll be so glad if any one have any simple ideas that helps...we need to read equations from the keyboard or files with no spaces in between, we must separate the numbers from the operators … Software Development c++ | |
hi there ..... would like to know how would be the coding for password generation of different sets of characters... thanks u Software Development c | |
Hey I hope someone has seen this before because I have spent way too long in failing to solve it. I am using VWD 2008 express edition. I am trying to add a reference to the Microsoft Word 10.0 Object library. I won't work. I get this strange error: A … Software Development assembly microsoft-office vb.net | |
i wrote this code originally with "command1" as a string and it worked fine but when i changed it to a char the "if (command1 == "open")" and other checks stopped testing true... any idea or hint would be appreciated... program just checks input against a list of "if" statements … Software Development c++ | |
hi.could you please help me to write a code in python that can convert written texts into speech. i am using nokia N70 to develop the program . thanks Software Development python |
The End.