132,726 Archived Topics
Remove Filter ![]() | |
I got this code and I cannot get it to work. I want it to show up with the type of attacks you can do which it does. After each time you attack the enemy the enemy attacks you of a damage between 1-10, then its my turn etc until … Software Development pascal | |
I have a project due for my computer programming class on Monday, and though I've completed the majority of the program, I now have to loop it and have no idea how. Here is the program: #include<iostream.h> int add (); int subtract (); int multiply (); int division (); void … Software Development c++ | |
Let us have a complex class with two double data member. If I would like to copy it by reference that means that I have two copy one or two pointers? Software Development c++ | |
I have to write a program which uses 2 classes to load 2 dat files into arrays. I then have to somehow compare the IDs in array1 to the IDs in array2 to get the extra IDs out of array1. These extra IDs then have to be stored somewhere so … Software Development c++ | |
Hey, what i am trying to do is to write a function that inputs a student's average and returns 4 if a students average is 90-100, 3 if the average is 80-89, 2 if the average is 70-79, 1 if the average is 60-69, and 0 if the average is … Software Development c++ | |
The Question is : A store has 6 items. Each item has a price and a bar-code that uniquely identifies it. To simulate such a store, the program offers a menu showing the codes, their corresponding items, and their prices. The user chooses one or several items to buy, and … Software Development c++ | |
Hey, I'm in a class in which the assignment here is to sort integers. We were called on to use two different sorting methods: InsertSort and HeapSort. My InsertSort works just fine. My HeapSort, however, does not; when the HeapSort() function is finished, the integers are still out of order. … | |
[CODE]#include <iostream> #include <cstring> using namespace std; int numberOfDeposit, numberOfWithdrawal; double monthlyInterestRate, monthlyInterest; float totalAmount; double MonthlyServiceCharge; int selections, choices, functions; string name, address, loginID; int idNum, password; class bankAccount { public: bankAccount() { float balance; double annualInterestRate; } float thismonthDeposit; float thismonthwithdrawal; float balance; float getbalance() { return balance; … Software Development c++ | |
i have this program and i'm already done with the data entry, search, display and exit menu.. my only problem is my search and delete and the search and edit...please help me. i've attached my unfinished program here: Programming Assignment: Write a program to simulate a telephone directory. The user … Software Development c data-structure file-system | |
Hello I have an assignment that is due and am in need of some dire help. I would appreciate all the help that I can get. Please bear with me. I am new to Java and Daniweb. I have to create a java application that displays the product number, product … Software Development java | |
I have viewed a lot of threads out there relating to what I am looking for and can't seem to find one that will help. I am reading data in from a file. Even though I already know how many names are stored in the file, I need to write … Software Development c++ | |
Can someone help please! I need to search for a different set of strings like: 'fummy' or 'users' or 'logon' from a directory like this: C:\mycase\Nic..\ A Text document is stored in there LIKE: 544, Text Document, 45, 588 KB Can some help to write a script or python program … Software Development python | |
Ok. So. Who doesn't know how to convert on paper or in their head decimal numbers ==» binary number, or vise-versa? Well. I've successfully programmed a conversion calculator for those who just never took the time to learn, for those who don't care to learn, and for those who've got … Software Development python | |
I've been trying to figure out how to capitalize all the sentences in a string. In the string [CODE]a = "this is the test string! will it work? let's find out. it should work! or should it? oh yes. indeed." [/CODE] I want all the characters after [I]". " "! … Software Development python | |
Hi! I have 5 different functions which all must be connected to main, for example a menu that calls each function. How do I do this? Thanks in advance! Best regards Adam Software Development c++ | |
Hello, I have a problem to add string arrays into the ArrayList. My data is recorded as: {"1","0","a"}, {"1","1","b"}, .... I'm going through the "for" loop and trying to store each of these records into the ArrayList, but, after it stores all records, it appears that all elements in the … Software Development | |
[CODE] ;==================Prompts=============== warning db "Invalid order. The dividend should be greater than the divisor",0 prompt1 db 0dh,0ah,"Please enter a dividend ",0 prompt2 db 0dh,0ah,"Please enter a divisor ",0 Display db 0dh,0ah,"Quotient: ",0 Display2 db 0dh,0ah,"Remainder: ",0 ;==================Variables============= dividend word ? ; Holds the dividend divisor word ? ; Holds the … Software Development assembly | |
I realize no one is going to want to read through this source code but if anyone does and is able to tell me why I'm getting the errors I'm getting I would be extremely grateful and would pay them back somehow. My code is as follows (I just put … Software Development c++ linked-list open-source queue | |
I got this to compile, but it's not popping my Dialog box. The tutorial from [url]www.winprog.org/tutorial[/url] didnt necessarily specify where my AboutDlgProc() is suppose to go ? I assumed it went above the Default but I am unsure... I'm trying to understand why it's not popping my Aboout Dialog when … | |
gives me error on 3rd coded line in search(). [CODE] #ifndef MY_HT_CHAIN_H #define MY_HT_CHAIN_H #include <iostream> #include <vector> #include <list> using namespace std; class my_ht_chain { public: //constructor which creates a table of a certain size my_ht_chain(int initTableSize); //destructor ~my_ht_chain(); //insert a value based on key void insert(int key); //search … Software Development c++ | |
Hello guys. I want to compare two files using a system call to DOS command fc. The problem is that fc does not open the file entered as a command line argument. [code] code = system("fc args[1] ..\\o.txt"); [/code] Does anybody know how to make it work? Software Development c++ | |
I Have a code that fails abruptly after going through several hundred times around a for loop. (The loop is not over yet . I can see that from my printed output) Pinpointing the exact location (line number) and variables at that point of failure can provide me with useful … Software Development c++ | |
Hi, I created simple exe file that contains month calendar control using framework 3.5 in XP machine and run this exe in vista the month calendar control not fully display, i write the following code to check for OS [Code] if (_operatingSystemName.ToLower().Contains("microsoft® windows vistaâ„¢") == true) { QuickCalendar quick = … Software Development display microsoft-windows windows-vista | |
During run-time of a menu driven program, I want the user to see what option the user has entered. Something like this :- [CODE][OUTPUT] . . . Enter Option : [1] <- [I]User given[/I] Press Any Key To Continue ... [_] <- [I]Blinking Cursor[/I] . . . [/OUTPUT][/CODE] After I … Software Development c | |
HI i am making a window aaplication using MS Access data base........ I have three combobox of Class, section and subject on form, now i want that when user first select class ,then he selects any section corresponding to that class and then from the third combo he could select … Software Development | |
I have been given an assignment to design and program a calculator using C++ and Ultimate ++IDE(Integrated development Environment). My code should have a class Calculator as a base class, and another class scientificCalculator which inherits from class Calculator. The Calculator class performs basic arithmetic operations. The scientificCalculator adds more … | |
Here we apply the module difflib to compare two texts line by line and show the lines of the first text that are different from the second text. Software Development python | |
Hello im having trouble understanding between the difference 0 and 1 in C. the way i understood it is that 0 is true and 1 is false. Is this correct??? or is it 0 is false and 1 is true?? Software Development c | |
[CODE]element = {'H': 1, 'N': 6, 'F': 7, 'Cl': 7} i = input("Enter: ") dots = '*' totalDots = (dots * i)[/CODE] Enter: H Traceback (most recent call last): File "D:/Python26/lewisdot.py", line 4, in <module> i = input("Enter: ") File "<string>", line 1, in <module> NameError: name 'H' is not … Software Development python | |
How to change screen colour, font colour, making various shapes , presenting slide shows in c++ Software Development c++ | |
I have a code: [CODE]Private Sub OK_Click() Dim Username As String Username = InputBox("Username") If Username = "Martyna" Then MsgBox "Welcome, " & Username Else: MsgBox "Sorry, access is denied, please Check your username and try again" End If End Sub[/CODE] and it should ask 3 time for username then … Software Development visual-basic | |
One of the requirements in a new project in VB is that 'it should good look'. Naturally the client doesn't have any clear idea about 'good looking apps' but wants it to look 'real good'. I can give it a XP style look using manifest, but I was wondering if … Software Development ide visual-basic | |
1,a,Summarise the rules that apply to naming variables in visual basic b, i.) Define a multi-component user-defined data type called AirHandler having the ff components: colour (string) MachineNo (long integer) Length (single-precision real) Breath (single-precision real) Height (single-precision real) Cost (single precision real) ii)Declare a variable called AC_For_Barclays of type … Software Development visual-basic | |
Hi, When I try to build my code it gives an error "Not all code paths return a value". Please find the code below: public TreeNode FindInstanceNode(string SubContainer,string instance) { TreeNode Node = GetTreeViewClickedNode(); foreach (TreeNode trNode in Node.Nodes) { if (trNode.Text == "SUB-CONTAINERS") { TreeNodeCollection tcSubNodes = trNode.Nodes; foreach … Software Development | |
Hello there. I've put together an Access Database which handles opening hours. However I want to be able to update each day individually, but at the moment it updates the entire week in one go. I know that I'm supposed to add some sort of WHERE in my sql sentence, … Software Development microsoft-access open-source | |
I got a button array of 40 buttons And i handle all the button events in 1 sub . But i need to know what button is pressed. Can someone help me ? [CODE] Private bttonArray(41) As Button Public Sub Hoofdscherm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load … | |
please iwana to ansewr this question todaaaaaaaaaay iwana to help me>>>>>>>>>>> 4. (Combining Class Time and Class Date) Combine the modified Time class of Exercise 9.7 and the modified Date class of Exercise 9.8 into one class called DateAndTime. Modify the tick function to call the nextday function if the … Software Development c++ | |
I want to retrieve only one column from dataset or datatable. the dataset has one table and that table has many column. But I want only one column from that table. How can i do it? And that will be still in a dataSet, not in a string. Software Development dataset | |
this is my code, when I comment all output code(printf cout), the compiler told me "Debug Error!", why? [CODE]#include <stdio.h> #include <string.h> #include <iostream> using namespace std; int main () { char buf[]=" 1 1 1201 1 -0.349200000000000D+06 0.115200000000000D+06"; char* cpr; /* cout<<sizeof(buf)<<endl;*/ /* cout<<(buf+25)<<endl;*/ for (cpr = buf+25; cpr … Software Development c++ | |
Need help with calculating student grades using arrays. If I have the names and subsequent grades listed on notepad input file. eg. Name1 23 43 54 23 43 54 Name2 54 34 65 76 23 54 Name3 97 68 45 68 86 58 How do I setup two dimensional array … Software Development c++ | |
enter 5 nodes if there is a number "3" entered, a number "4" is automatically inputed at the right side of number "3". if there is a number "2" entered, a number "1" is automatically inputed at the left side of number "2". can you help me dudes you see … Software Development data-structure java | |
Hi, i am new to python world my problem is that i am getting a output file from a software which is very messy first i just want to delete first 3 rows and the columns F onwards from the excel file and that i just want to change the … Software Development microsoft-office python | |
Hi everyone I need major help i took a class in c++ and was doing fine until the last challenge, I need help with it in every way, below is what is wanted but I cant understand anything please help me This program will include error trapping with try and … Software Development c++ data-structure | |
I am trying to sort out how to use the traversals in my tree to save to a txt file. Currently it is only ouputting the items stored within the node to the console. The traversals are located at lines 99-128 [CODE]#ifndef TREE_H__ #define TREE_H__ #include <string> #include <fstream> #include … | |
hi everybody!!! I will really appreciate if somebody could help me.... we are working with c and python and the same time and it gets confusing sometimes... I need to write a program in python tha will receive a string and it will print only the number in the string … Software Development python | |
hi guys, i have a problem in crystal report when i am getting a data from database field that field has 30 words i want that in my report that field should be broke in 10 words each line so how can i do this please help me. Software Development vb.net | |
Can someone help me please? I have to do this turkey project, everything is working ok, exept for my oven time. when it prints this line: [CODE]cout << "Put the turkey in the oven on the " << startThawDay + howLongToThaw <<"th " << " at " << ovenTime <<" … | |
Hi how to get wat all buttons are present in GUI window using python here i want to read all the buttons present in a window . | |
Do you guys think this code will function properly? [CODE] public void LoadUser(string UserName, string Password) { try { using (StreamReader sr = new StreamReader("./Users/" + UserName + ".txt")) { string Line; bool passCorrect = false; bool userCorrect = false; while ((Line = sr.ReadLine()) != null) { if (Line.Equals("UserName = … Software Development | |
I am not sure if this is the correct category for VXML but it is very similar to XML; so I am hoping this will fly. Please move to another forum if necessary. I am a Grad-Student and my thesis is working with VXML. I have built my application to … Software Development web-browser web-server xml |
The End.