199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for quickster12

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 …

Member Avatar for vmanes
0
92
Member Avatar for helixkod

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 …

Member Avatar for helixkod
0
126
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
198
Member Avatar for simon_wagstaff

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 …

Member Avatar for InfiNate
0
118
Member Avatar for sisey

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

Member Avatar for Jx_Man
0
85
Member Avatar for pranavdv
Member Avatar for BC_Programming
0
116
Member Avatar for bob on whidbey

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 …

Member Avatar for bob on whidbey
0
312
Member Avatar for -EquinoX-

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 …

Member Avatar for Duoas
0
81
Member Avatar for newbieGirl

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 …

Member Avatar for Ezzaral
0
86
Member Avatar for pelusa

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 …

Member Avatar for waynespangler
0
145
Member Avatar for darklich13

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 …

Member Avatar for darklich13
0
104
Member Avatar for akhiero

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 …

Member Avatar for Ezzaral
0
203
Member Avatar for Slate2006

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 …

Member Avatar for Lerner
0
96
Member Avatar for ferhatkuskaya

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; …

Member Avatar for Duoas
0
175
Member Avatar for ferhatkuskaya

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. …

Member Avatar for Duoas
0
84
Member Avatar for sathishkumar.e

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.

Member Avatar for Duoas
0
134
Member Avatar for Loyen

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 …

Member Avatar for Loyen
0
148
Member Avatar for web developer

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 …

Member Avatar for shaulf
0
1K
Member Avatar for anirban1234567

can anybody tell how to make discussion forum in asp.net... I need it immediately...

Member Avatar for shaulf
0
142
Member Avatar for Villanmac

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 …

Member Avatar for Lerner
0
125
Member Avatar for choudhuryshouvi

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?

Member Avatar for sandeep_chalke
0
70
Member Avatar for mikeandike22

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 …

Member Avatar for mikeandike22
0
672
Member Avatar for zizimetalique

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 …

Member Avatar for ithelp
0
109
Member Avatar for dssn

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 …

Member Avatar for ithelp
0
71
Member Avatar for kaly12

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 …

Member Avatar for ithelp
0
93
Member Avatar for skelly16

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 …

Member Avatar for skelly16
0
188
Member Avatar for nick0123

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 …

Member Avatar for CertGuard
0
187
Member Avatar for mrityunjay22

my jsp and servlet are in Z: drive and i want to configure eclipse for application server plz tell me how to do it

Member Avatar for lookof2day
0
140
Member Avatar for scottrdj

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 …

Member Avatar for CertGuard
0
197
Member Avatar for Barefootsanders

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 …

Member Avatar for Barefootsanders
0
95
Member Avatar for mrsmoke

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 …

Member Avatar for schoolsoluction
0
119
Member Avatar for kings

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"] …

Member Avatar for nav33n
0
301
Member Avatar for ice_tea_lemon

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 …

Member Avatar for Salem
0
161
Member Avatar for aot

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 …

Member Avatar for aot
0
109
Member Avatar for ricnyx

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] ------------------------------ …

Member Avatar for ricnyx
0
132
Member Avatar for SNN

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 …

Member Avatar for Ancient Dragon
0
121
Member Avatar for edek

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 …

Member Avatar for edek
0
72
Member Avatar for john_mark386

Hello, any tutorials in how to use bubblesort, selection and insertion? Help is greatly appreciated. Thank you.

Member Avatar for peter_budo
0
112
Member Avatar for andy38

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.

Member Avatar for Simran_Jha
0
102
Member Avatar for rickster11

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 …

Member Avatar for rickster11
0
755
Member Avatar for borgster

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 …

Member Avatar for guru511
0
104
Member Avatar for cameron.kay

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 …

Member Avatar for WaltP
0
102
Member Avatar for pedro martinez

How can I create a C program to delete the internet explorer history file? How can I create a path?

Member Avatar for WaltP
0
92
Member Avatar for Jacky1

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() …

Member Avatar for Jacky1
0
181
Member Avatar for AbhijeetChavan

I need to develop a Tool to compare 2 XML files using Perl. Can any one give me a start up for this?

0
70
Member Avatar for tinggg

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" …

Member Avatar for SheSaidImaPregy
0
146
Member Avatar for TOROOOLOLOOLO

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; …

Member Avatar for choudhuryshouvi
0
142
Member Avatar for deraj8

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 …

Member Avatar for vmanes
0
112
Member Avatar for adrive

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, …

Member Avatar for adrive
0
141
Member Avatar for ssjad05

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 …

Member Avatar for WaltP
0
426

The End.