199,114 Archived Topics
Remove Filter ![]() | |
Ok im one of those people that are just completely unable to pick up C++. Im forced to take this class and i have no prior programmin experience but at least theres only a few weeks left of this. Anyway, I just want help with this assingnment. I'm not lookin … | |
Here is the error: [CODE] cannot convert parameter 1 from 'int *' to 'int *[]'[/CODE] here is my code: [CODE=cpp] #include <iostream> using namespace std; void findMode( int *, int, int); void selectionSort(int *[], int); int main() { int *numbers; //dynamically allocate an array int elements, //holds the number of … | |
So here's the problem [QUOTE]Write a program that asks the user to input a set of floating-point values. When the user enters a value that is not a number, give the user a second chance to enter the value. After two chances, quit reading input. Add all correctly specified values … | |
Ok, I want to say in advance that I am simply looking for insight right now. I regret to admit *lol* that I'll probably be back asking about something else soon after. I need to write a program using binary trees that functions, essentially, like a concordance. I simply need … | |
when a user logs in i want assign a particular form to him depending on the user name he entered. that means different forms for different users.im using oledbdataadapter to connect to sql. i will appreciate your help.thanks | |
Hello, i want convert amount in text to amount in numbers in vb6. please help me | |
I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the RC.EXE file. Also, do I need to make changes in … | |
So I am asked to write a function called parens that will allow me to do this. Say that I have a string (a + (x) * (6 + 14) - q7), then I will get: (x) (6 + 14) (a + (x) * (6 + 14) - q7) the … | |
Just curious... I've got a snippet of code I'm trying to put together, and what I'm trying to get it to do is to print out the word "yes" exactly when i ends in the digit 4, or j ends in the digit 7, or both. I know my if … | |
hi i would like to know how can I checked the name of a file and then retrieve only the first 6 characters. the format of the file names is: dd1234_10x2.xsl i need to get just the first 6 characters up to the underscore, but if the name of the … | |
I have a problem where the user enters in their grades from their homework and exams and then the program will tell the user what their grade is. I have everything worked out below but I am missing one key aspect. There are 12 homeworks and only the best 10 … | |
I have been working on an inventory program for school and it is all working. What I need help now is making a GUI for it. To display one item at a time with a buttons like First Item, Next Item, Previous Item, and Last Item. Could someone help me … | |
I need to change the AvgGrade2 function to work with what is shown, but i do not know what to edit for it to work correctly. [code] #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; struct ClassList { // Definition of a structure called ClassList // ClassList … | |
I used 3 timer component and I m using one checkbox. And I have three procedures for timer1, timer2 and timer3 and I writed below these in my unit code explorer. Note that band1,band2 and band3 are images that will be animated ordinarily. procedure TForm1.Timer1Timer(Sender: TObject); begin timer1.Enabled:=true; timer1.Interval:=2000; band1.Visible:=true; … | |
Now I want to know how I will short my code lines within one procudures just as sharing of events in only one procedures. for now I have written my program code like that but I want to learn how I will use events for 5 components within IF conditions. … | |
Hi, I'm a newbie to this group. I heard a question in C to swap the two strings using command line arguments but without using the temp. string,pointer or array Can anyone help me how to do this. | |
Okay, I got a school assignment and got a problem here. It says that: D:\Skola\Programmering A\Inlämningsuppgifter\inlupp_2\Inlupp_2.pas:5: parse error before `:=' I know there's wrong with the array, but I want the user to write how many letters his/her name contains so that the array can take each letter out later … | |
Hi all, I am very happpy to return back again to you. This time i have a critical problem about uploading files on the server by asp.net. I choosed the HTML control "File" and Make it run as server control , and got its file name by the statement [COLOR=Blue]string … | |
can anybody tell how to make discussion forum in asp.net... I need it immediately... | |
I know you cant do my work for me but could someone give me some guidance as to how I should approach this to get me going. Im going to need the For loop but Im not sure how? Question- Write a function that displays at the left margin of … | |
When I'm trying to update information in the database vb6 is fetching me the following error:- [B]"Row cannot be located for updating. Some values may have been changed since it was last read."[/B] what is the cause and remedies for the above error? | |
Hi im trying to take a .dat file with just a list of integers separated by lines. The program has to allow for whether or not the list is an even amount of numbers or not. im a bit stuck here is what i have so far. [CODE]#include <iostream> #include … | |
can you help me writing a code for this please i am confused St. Habakkuk of the Abacus is the patron saint of software engineers. He was a public scribe and money-changer (an honest one) in the late Roman Empire, when all computation was performed on a kind of abacus … | |
I have to write a program that calculates a students final grade. The program should allow the user to input a students name, their exam grades, and their lab grades. using fstream The program should determine averages, calculate the final grade and display the output. For each student generate the … | |
can any1 help me with my cwk.. Mr Joe Brachialis, the proprietor of Joe's Gym wants to modernise his filing system. He currently keeps a card index system but he would like to have a computer application to maintain the records of his clients. The clients are offered two types … | |
Hi Guys I have created a script and everything works but i want my script to sort by the highest count etc. The script counts the amount of times a job fails , for example the output looks like this: u08.joebloggs.ndm has failed 1 times u09joeblogs.rpt has failed 5 times … | |
Hopefully someone can assist me with this, I've searched all over and other than an inkling that maybe a counter is required I've drawn a blank. Basically from an access database comes a list of schools and their details. At the top of the asp page is the list of … | |
my jsp and servlet are in Z: drive and i want to configure eclipse for application server plz tell me how to do it | |
Hi, I have a website that was developed a few years ago for me, site is proburn.com and has been happily running for a few years, however I have had to chnage hosts and I am now gwetting all sorts of errors. latest one is where a customer is trying … | |
I have a doubly linked list and I know it gets created with the proper values. For some reason when I run through my print function it, only prints 1/2 of the list and then gives me this: the instruction at "0x7c93426d" referenced memory at "0x00000000". the memory could not … | |
Hi, I'm trying to make my own sokoban game in java. Sokoban is a top down 2D puzzle game where you move around a level trying to push boxes to the goal area in the least possible moves. I'm already pretty stuck at an early stage. My first objective it … | |
hi when edit link is clicked the form with the filled in fields will get displayed .the user the can edit the content in the fields and then when he clicks update the table will get updaed here is my code... here id is auto generating field in mysql [B][COLOR="Green"] … | |
Hey all, I was wondering if any of you could help me out a little but with my functions which I'm writing for a program. I recently have noticed that I'm simply assuming the person using my program would be someone who also uses Bloodshed C++, so I think I've … | |
I'd like a program that reads through one or more weather web pages and records information from them on a daily (or even hourly) basis. Is this kind of thing possible at all to create with python? (Alternatively, if anyone knows of a program that already does this, or a … | |
fin1 xx.txt -------------------- Paychecks 2500.00 Interest 100.00 fin2 xx.txt -------------------- Car_Insurance 250.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 fin3 xx.txt -------------------- Food 350.00 the output become --------------------- [CODE] Paychecks 2500.00 Car_Insurance 250.00 Food 350.00 Interest 100.00 Cell_Phone 50.00 Cell_Phone 50.00 Book 200.00 Student_Loans 180.00 Rent 950.00 [/CODE] ------------------------------ … | |
Hi, I have a text file that contains data seperated by a tab. I know that there are 26 columns but the number of rows are unknown b/c the file is huge. I need to traspose the data so I wrote the following script. I open the data file 26 … | |
Hi all! I need to create regex that matches everything before some specified (whole) word. Lets say I need everything before 'have' in such text: What ^7^*#/> I @@3->;: have to do with this *~~@}}], hmm...? ...so I would like to have "What ^7^*#/> I @@3->;: " as a result … | |
Hello, any tutorials in how to use bubblesort, selection and insertion? Help is greatly appreciated. Thank you. | |
hi guys, How to display the total amount in a textBox when to supply those values I click on thems. A sample code would help a lot. Thank you Ps: using Vb net (2005) in Window Form. | |
If someone has a second, could you please take a look at this. This is just a small part to a large program I have to write for school. Right now I'm just trying to get the arrays to load. I can't get my two dimesinal array to work (the … | |
![]() | Hello, I'm using the following code in a EXE to open excel with vb6.0 : [code] Sub Main() Dim xlapp As Excel.Application Dim wkbKei As Excel.Workbook Dim Key As String 'Check if file exists If FExists(App.Path & "\Kei.xls") = True Then 'Open file Key="test" Set xlapp = New Excel.Application xlapp.UserControl … |
I have been given the following question in one of my classes, and i know it is probably extremely simple, i am just very thick. Can some one explain to me the steps to work out this problem. "Starting with the following initial values, specify the value of each variable … | |
How can I create a C program to delete the internet explorer history file? How can I create a path? | |
Hi guys I'm trying to generate a radnom float number between 1.2 and 2.3 but when compile I get this error: cal.cpp: In function `int main()': cal.cpp:13: error: invalid operands of types `int' and `double' to binary `operator%' the code: [CODE] int main() { srand(time(NULL)); float num; num = rand() … | |
I need to develop a Tool to compare 2 XML files using Perl. Can any one give me a start up for this? | |
Hi this is my first asp form so please be gentle with me :) I've setup this form and when I test it and 'send' the email isn't coming through. Can anyone spot a problem in the code? Thanks for your help FORM Code [code] <div class="feedback"> <form action="sendorder.asp" method="post" … | |
Hi I am still facing problems after writing the codes for finding a record. A compile error occurs, which says "User-defined type not defined" .I don't understand what it means or even how to go about it. please i need help.The following are the codes i wrote for the program; … | |
i am very new to c++ and have to create a program that will manage the sales of 40 different stores. I was told to use 2 (parralel) arrays(not a two dimensional array). I have no idea how to add the proper data i need becuase the file i am … | |
hi, i understand that the xmlHttp.responseText; attribute would return the server's message, but is there any way to get only ajax object's error messages? see, i have a case. lets say i have two different span on my page. <span id="system"/> <span id="display"/> if ajax's object is throwing an error, … | |
When it prints it does not print the numbers and names in ascending order like its suppose to do and i have no clue why it doesnt. This is for school and this is the book we are using in class: sixth edition-starting out with C++ early objects. We are … |
The End.