132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for terzenta

I'm stuck on a homework problem. Just not sure where I'm going wrong, I think my code should work and it doesn't, and I'm not sure why. The assigned problem is: Recursive Multiplication: Write a recursive function that accepts two arguments into the parameters x and y. The function should …

Software Development c++
Member Avatar for mrnutty
0
402
Member Avatar for NinjaLink

Hi, I created an array of numbers which converts into letters through a number generator. I need help sorting my array letters[j] so that the output can be printed in alphabetical order. After, I am storing it in a Linked List and printing it out. So far, it just prints …

Software Development c++ linked-list
Member Avatar for mrnutty
0
238
Member Avatar for BeyondTheEye

I'm having trouble getting the right operator to be accessed using polymorphism. The code below is a simple representation of the problem, but it should get the point across. [CODE=CPLUSPLUS]//Horse.h #ifndef HORSE_H_INCLUDED #define HORSE_H_INCLUDED #include <iostream> #include <string> class Horse { public: Horse() {} Horse(int age) : itsAge(age) {} virtual …

Software Development c++
Member Avatar for BeyondTheEye
0
125
Member Avatar for flit07

Hi, I'm trying to change the button backcolor once the Done event is completed. But it didn't work.. [CODE] Public Event Done() Private Sub checkinput() 'Port = ReceivedString.Split("&") 'For i = 0 To UBound(Port) 'Debug.Print("Port: " + Port(i)) 'Next i RaiseEvent Done() End Sub Private Sub changecolor() Handles Me.Done RD6.BackColor …

Software Development vb.net
Member Avatar for flit07
0
106
Member Avatar for TaP1227

Ok, so basically I am supposed to "Write a program that uses the Monte Carlo sampling method to estimate the average number of bottles of Boost someone would have to drink to win a prize." I know that I am supposed to First, work on the part that conducts trials …

Software Development java
Member Avatar for TaP1227
0
71
Member Avatar for lloydsbackyard

what is the code in inserting picture in a java window. can you give me a sample java code showing a window and a picture with it...i want to create a photo gallery using java.swing

Software Development java java-swing
Member Avatar for Ezzaral
0
207
Member Avatar for seakayaker

Hi, I have searched the internet high and low but all posts I have found on this topic have been confusing to me... It is quite clear that there is something basic I am not getting... please help... My applications are written in VC++ 2008 Express and all source code …

Software Development c++
Member Avatar for vmanes
0
190
Member Avatar for tux4life

A roman to decimal converter, no validity checking, so inputting an invalid roman number will certainly just yield a wrong result.

Software Development c++
0
308
Member Avatar for redpython

I have a text file (tackles.txt) that contains basic stats on high school football players - so far it is just last name and number of tackles. For example: Jones 2.3 Smith 4.6 Dillon 7.8 How can I read that file and come up with the average number of tackles …

Software Development python
Member Avatar for redpython
0
191
Member Avatar for navinkumar

When we run a program and if the program is having a error...then we a popup message saying that there is a error in ur program.... The error message has a option of "Dont Show this message next time" I have enabled the Dont show me error message next time. …

Software Development vb.net
Member Avatar for navinkumar
0
109
Member Avatar for fauzanf

Hello My Friends, I have a question... How can i add a photo/picture into SQL Server 2000....? Need advice please.

Software Development image sql visual-basic
Member Avatar for vb5prgrmr
0
173
Member Avatar for power_computer

I have two arrays both have a defined sized for each element that was filled when reading from a file currently but have a max size of 50 I have array 1 [4] I have array 2 [2] However, my main point is I have to process these two arrays …

Software Development c++
Member Avatar for VernonDozier
0
111
Member Avatar for Todd88

I am writing a project with two classes: 1 factory class and 1 "fragment" class. The factory class creates fragments from a given input file. For example, if there was a file that was 100 bytes in size, the factory class would create 10 fragments of 10 bytes each. The …

Software Development python
Member Avatar for vegaseat
0
127
Member Avatar for Skwerlz

This may seem like an easy question, but I am new to vb and though I have searched and searched I have come up empty. What I am trying to do is create a piece of software that will give users access to certain things based on their level. almost …

Software Development mssql vb.net
Member Avatar for Skwerlz
0
179
Member Avatar for NinjaLink

Hello I am trying to figure out how to create a number generator to generate a number between 65-90 (ascii capital letters) and 97-122 (ascii lowercase letters). I need to convert the number to a char and then put the char in the linked list in order while ignoring duplicates. …

Software Development c++ linked-list
Member Avatar for VernonDozier
0
115
Member Avatar for yorro

I received this error whenever I update an int(3) type field. [B]Error: 438 public member close on type integer not found[/B] This is my code [CODE=vb] conn.ConnectionString = "server=localhost;user id=root;password=;database=test" SQL = "UPDATE testTable SET int = 1 WHERE Name= 'Bob'" Try Dim myData With myCommand .Connection = conn .CommandText …

Software Development mysql vb.net
Member Avatar for yorro
0
175
Member Avatar for patman50

i have to write a c++ program that will calculate the weekly pay for the employees of a company and the total amount of the payroll. input for the program will be the employee number number (int), status of the employee-exempt or non exempt (int).(Exempt employees receive pay for a …

Software Development c++
Member Avatar for Grn Xtrm
0
124
Member Avatar for ITfav

Basically what I want is to have the timer be reset back to 3 sec once the [COLOR="red"][B]Reset button[/B][/COLOR] is clicked. Preferably, I want the code to be in the same sub as the timer, though any better ideas are most welcomed. I've already put in comments where i want …

Software Development gui vb.net
Member Avatar for TomW
0
328
Member Avatar for willgr

Hello, I am new to C++ but I have built an indexing app over the past 2/3 weeks using C++ Standard Library. This went very smoothly but I now want for the first time to bring in an external library called libcurl. I have attached a Build log which seems …

Software Development c++ windows-vista
Member Avatar for Ancient Dragon
0
247
Member Avatar for Smalls

the idea of what i want to do is to display the cpu temperature in a label that will refresh through a timer. i have search several sites including this one that do have the code and how to do it, but then my problem is that several items are …

Software Development motherboards-cpu-ram vb.net
Member Avatar for Smalls
0
2K
Member Avatar for =OTS=G-Man

Hello, I am witting some software to interact with a mail order manager. Issue is they use a strange date/time format that they store as text in the DB, from what i guessed its YYYYMMDDHHMMSSNNN right now im using this function to get it into C# as a standard date. …

Software Development
Member Avatar for Geekitygeek
0
359
Member Avatar for dmmckelv

I am new to C++. This is a homework problem. So if anyone gives up their time to help me it is greatly appreciated. I have perfect number program, I can get it to run if all my code is in the main. The assignment requests that I use a …

Software Development c++
Member Avatar for Nick Evan
0
1K
Member Avatar for benkyma

I'm trying to connect to the twitter streaming api. At the moment I'm just trying to grab the incoming data stream, keep the connection open and write the data to the console. I can do this easily from a terminal using curl. The following code however runs, throws no errors, …

Software Development api json open-source
Member Avatar for VinayRok
0
930
Member Avatar for bhaskerlee

Hiiiiiiiii Can any one help me to find an idea for my final BTECH project. My project duration is 2 months and I decided to do it in C#.NET. I am preferring windows application......can any one help me............. Thanks in advance..........................

Software Development
Member Avatar for sknake
0
129
Member Avatar for jralexander137

I was wondering if anyone would care to share any links to information on Linked Lists and Doubly linked lists implementation. Thanks!

Software Development java linked-list
Member Avatar for vamsi310
0
99
Member Avatar for jrosh

I want to open a folder when i click a button .. What is the command for that?? plz help... (thing is i jst don't wanna complex thing like file chooser ..jst want to open a paticular folder given by a path.)

Software Development java
Member Avatar for masijade
0
103
Member Avatar for tkud

hello, can somebody help me in learning file i/o in c++? i would be very grateful

Software Development c++ file-system
Member Avatar for dkalita
0
194
Member Avatar for jralexander137

I'm trying to take a string of a number i.e. 123456 of any size and then convert each int in the string to an int to be added to a linked list. I.E. read 1 convert to int then add to linked list, read 2 convert to int then add …

Software Development java linked-list
Member Avatar for BestJewSinceJC
0
121
Member Avatar for GibbsJeremyS

So I've been beating my head against a wall for the past few days trying to get this to work. I've tried countless samples from the net and even the MSDN sample. I just can't get it to work, Explorer NEVER seems to call my DLL. I recently created another …

Software Development visual-studio
Member Avatar for GibbsJeremyS
0
146
Member Avatar for helloshurite

i want a travel management system which has following details: ABC ltd. is a travel agency provides the services of reservation and cancellation of tickets for buses, trains and airlines. They require a travel management system to store the information regarding reservations and cancellations done by the passengers through them …

Software Development visual-basic
Member Avatar for abu taher
0
78
Member Avatar for scantraXx-

Hey guys. These functions are not working together correctly because of the true/false statements. Can someone please show me how I can fix the empty() function to work simultaneously with my other function provided? :S My getSmallest() function will not return the value due to the empty() function.. [code] bool …

Software Development c++
Member Avatar for dkalita
0
122
Member Avatar for Der_sed

Ok I need help on this Freshman year project-( so it should involve loops, arrays/strings,fstreams and functions only) A CSV file contains airport info: [QUOTE]ABZ,"Dyce","Aberdeen","Scotland, United Kingdom","GB",57.200000,-2.200000,493,\N,"Aberdeen",2657832,2638360 EDI,"Turnhouse","Edinburgh","Scotland, United Kingdom","GB",55.950000,-3.350000,493,\N,"Edinburgh",2650225,2638360 BXE,"Bakel","Bakel","Senegal","SN",14.916667,-12.908333,569,"Senegal",\N,\N,2245662 MFV,"Accomack County","Melfa","United States","US",13.633333,39.133333,67,"Verenigde Staten",\N,\N,6252001 ADK,"Adak Island Ns","Adak Island","United States","US",51.878056,-176.646111,67,"Verenigde Staten",\N,\N,6252001 LIT,"Adams Field Airport","Little Rock, AR","United States","US",34.729444,-92.224444,67,"Verenigde Staten",\N,5035199,6252001 ADS,"Addison Airport","Dallas","United …

Software Development c++ file-system
Member Avatar for vmanes
0
114
Member Avatar for khaos64

Ok, I'm pretty new to Python.... What I need to do is set up a couple tuples like so: [CODE]users = ('user1','user2','user3') passw = ('pass1','pass2','pass3')[/CODE] I then am asking the user for their username and password to compare to the tuples. The only way I could think to do that …

Software Development python
Member Avatar for khaos64
0
273
Member Avatar for qwertymk

This will go faster if I show you what I want to do. [code] class matrix { public: double *x; int clms, rows; matrix(int unknowns) { rows = unknowns; clms = unknowns + 1; x = new double[rows * clms]; } matrix operator = (double a[]) const { matrix tmp(rows); …

Software Development c++
Member Avatar for qwertymk
0
105
Member Avatar for F.Jor

Hey all, I'm a computer Eng. student. I do seriously need a graduation project idea so I can start working on it! I've taken these courses: C++ Object Oriented Programming Data Structures Computer Architecture Microprocessor 8085/intel Computer Interface Hardware what I like the most: c++, microprocessors & Hardware. Any ideas …

Software Development c++
Member Avatar for Ancient Dragon
0
117
Member Avatar for cbreeze

Hello, I am terribly confused on how to start my most recent programming assignment. I am to use an abstract class (shapeO) to create a child class (animShapeO). The program is supposed to create rectangles and moving them (hypothetically as there are no graphics involved) across the screen and when …

Software Development c++ data-structure
Member Avatar for VernonDozier
0
201
Member Avatar for leroi green

hey all, i'm working on a code that i want to start creating new classes with but i want to know if there's a more direct way to send the variables used in the form to a new class for storage. for example i've got this on a form... [code] …

Software Development storage vb.net visual-studio
Member Avatar for leroi green
0
150
Member Avatar for Atove

Hi all; I'd be really grateful if someone could assist me with this problem. What i am trying to do is create a query that pulls information from two different tables: tblBooking and tblConcessions. tblBooking holds the ID number of tblConcessions as a ForeignKey. What i need within my statement …

Software Development listview vb.net
Member Avatar for TomW
0
116
Member Avatar for keekee

Could someone check my program, I cannot figure out what I am doing wrong. [B]I did this part and the program ran just fine[/B] - Part 1; Create a product class that holds the item number, the name of the product, the number of units in stock, and the price …

Software Development java
Member Avatar for keekee
0
289
Member Avatar for .11

Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …

Software Development api gui image java
Member Avatar for .11
0
130
Member Avatar for gferrie

I have two interfaces, MyapiA and MyapiB with 2 methods each. Two classes - SortA does all the sorting routines and SortB defines the arrays and generates random numbers. In the main class, Sort I have the following code which produces the expected results using a default argument of 6 …

Software Development java
Member Avatar for Grn Xtrm
0
838
Member Avatar for wallance

Hi, I am creating an Excel 2007 add-in using Visual Studio 2008 and I have a Windows Form that allows a user to select a date. What I want to do is store that date in the Workbook that the user saves so that the plug-in can reference that date …

Software Development vb.net visual-studio
Member Avatar for TomW
0
135
Member Avatar for reese27

This is my code below. If i were to enter 2 3 2 3 3 5 4, i were to get 0 0's 0 1's 2 2's 3 3's 1 4's 1 5's 0 6's 0 7's 0 8's 0 9's #include "std_lib_facilities.h" int main() { int num; vector<int> group; …

Software Development c++
Member Avatar for Grn Xtrm
0
102
Member Avatar for MxDev

Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance

Software Development
Member Avatar for sknake
0
110
Member Avatar for JustAnotherJoe

Following the example of 'cx-freeze hello.py', I'm getting the error message below. I put all of the error keywords into google and found no hits. Some people in various posts have said to use Python 2.5 but a lot of my code is using Python 2.6 features. Can you telling …

Software Development python ubuntu
Member Avatar for xav.vijay
0
196
Member Avatar for 54uydf

Hey everybody! I'm having a hard time finding a solution for my problem- I have a dynamic array that holds structs of Person type..now I want to delete one specific person so I need to move all the ppl after that person one block down in the array and then …

Software Development c
Member Avatar for manutm
0
113
Member Avatar for andoris

Hey, Im new to this forum, and I have a keylogger. Everything works fine except for the ftp upload function which doesn't work, meaning that the program records the keys etc. but doesn't send the log to the ftp server. Any ideas why? [CODE]#include <windows.h> #include <Winuser.h> #include <string> #include …

Software Development c++
Member Avatar for William Hemsworth
0
116
Member Avatar for ulcimd1

I am learning about code auditing, and I have a question relating to the argc/argv[] variables. I think that the argc is an integer type, so would enough command line arguments overflow the buffer? I know that it's a stretch, but I am looking for the third vulnerability in our …

Software Development c
Member Avatar for Tom Gunn
0
116
Member Avatar for frank.zappa

I'm working on a school assignment and I'm having trouble with radio buttons. I want something like this: [IMG]http://i43.photobucket.com/albums/e395/frank_zappa77/vb04f06.gif[/IMG] Where at least one radio button from each frame (in that example, the frames being 'Processor' and 'OS') can be selected. I've set up my application to look somewhat like this …

Software Development visual-basic
Member Avatar for frank.zappa
0
172
Member Avatar for vladdy191

Hello I'm trying to copy a character pointer into another character pointer. I currently have [CODE]static char *my_kstrdup(const char *buf) { char *ptr, *ret; ret = ptr = kmalloc(strlen(buf)); if(ptr = NULL) panic("kmalloc returned NULL"); for(; *buf != '\0'; ++ptr, ++buf) *ptr = *buf; *ptr = '\0'; return ret; }[/CODE] …

Software Development c
Member Avatar for Dave Sinkula
0
74

The End.