132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DrLod

Hi! in a school project, we have the task of building an application to deal with judgments protocol for a dog show :-) I find it difficult to determine how I should implement the business logic, and therefore need your help. The requirements I have thoughts on the following (this …

Software Development
Member Avatar for privatevoid
0
124
Member Avatar for ineedalotohelp

Hi guys, Im having trouble with this code, when i had it working with static variables set, it was fine, now i am using a passed variable, its not working... Might not be anything to do with it, anyhow... [CODE]Public Class frmContacts Dim con As New OleDb.OleDbConnection Dim ds As …

Software Development dataset open-source vb.net
Member Avatar for TomW
0
146
Member Avatar for patriciuuu

I'm trying to make a SMTP Checker using Python. The checker will do the following things: The code will take a list of smtps accounts (ex: host,user,pass) and will try to send an email to a email you will specify in the code. If it's successful (the send of the …

Software Development email python
Member Avatar for nure
0
392
Member Avatar for daviddoria

Consider two classes, PersonClass and LawyerClass. If LawyerClass derives from PersonClass, you can create a PersonClass* as a LawyerClass, like [code] PersonClass* Person = new LawyerClass; [/code] then you can convert it to a LawyerClass* with [code] LawyerClass* Lawyer = static_cast<LawyerClass*>(Person); [/code] However, if you don't know that the person …

Software Development c++
Member Avatar for daviddoria
0
5K
Member Avatar for c#noob

im doing a project and i want to add a record to an accdb using a windows forms application on c# i have got what appears to be code that works i.e. it doesnt show any errors and appears to run however it doesnt add the record il post the …

Software Development c#
Member Avatar for Geekitygeek
0
206
Member Avatar for maria_college

Hello! I wonder if someone can help me. I'm trying to create a Macro that would copy a line of text from one Word doc into a specific position of another Word doc, and then use the content of the clipboard as the Filename. From recording various Macros and researching …

Software Development visual-basic
Member Avatar for maria_college
0
378
Member Avatar for chescarleta18

[code] #include<stdio.h> int m,i,c; main() { clrscr(); for(m=1; m<=10; m++) { for(i=1; i<=10; i++) { c=m*i; printf ("%d\t",c); } printf ("\n"); } getch(); } [/code]

Software Development c
Member Avatar for chescarleta18
0
107
Member Avatar for Medic873

How could I make it where it will take 2 image files .jpg or .bmp and compare them and if they are alike to a point have a if statement of cursor so if 85% like do this { beep } thank you as always your help is great thank …

Software Development
Member Avatar for Ravenheart
0
299
Member Avatar for gunjannigam

I have drawn a cirlce and 2 line which intersects the circle using 2D Graphics. Now I want to draw an arc between the intersection point. The attached pic can show very clearly wht i want. The black portion is drawn. The red part is to be drawn. The radius …

Software Development java
Member Avatar for gunjannigam
0
88
Member Avatar for TYGA

Hay Everyone i'm a new member of this fantastic fourm , and i have some problems with programs i'm really stuck with:'( , so guys i really appreciate any one who can help me with anything, and here is the problem , Write a program using a set of functions …

Software Development c++
Member Avatar for kvprajapati
0
137
Member Avatar for talor

Hi, I searched all over, but can't seem to find a way to submit a username and password in a website. I tried filling in the fields using WebRequest and Post, but that didn't work (or I don't know how to use it correctly... :$). Does anyone know another way …

Software Development
Member Avatar for shamseena
0
130
Member Avatar for DawnOfIkaros

I'm making a text-based RPG (Sure you haven't heard that one before ;)) So I'm trying to randomize the damage that the player deals. I want the damage to be (strength*2) + a random number between the variables mindamage and maxdamage, how do I do that?

Software Development c++
Member Avatar for DawnOfIkaros
0
67
Member Avatar for P00dle

I get a ArrayIndexOutOfBoundsException. The cause is this snippet: [CODE]public static void main(String[] args) { //command line param try { [B]if (args[0] != null) {[/B] if (args[0].equals("printer")) { printToFile = false; } } } catch (Exception oob) { oob.printStackTrace(); }[/CODE] I don't give the program any parameters when I start …

Software Development java printer
Member Avatar for P00dle
0
77
Member Avatar for _dragonwolf_

The section of my code that is commented out is what I need help with. I am wanting to check the user input of binary for anything other than a 1 or 0. Also, it will only accept an input of 10 numerical characters or less. I am wondering if …

Software Development java
Member Avatar for parry_kulk
0
708
Member Avatar for hajiakhundov

Hi everyone. I am creating a small windows form application using Visual C++; and I would need to delay a loop by a second. Sleep() doesn't work.(Not sure why) Is there a way I can use the timer? Any suggestions on how can I do that? Thanks in advance. :)

Software Development c++
Member Avatar for hajiakhundov
0
137
Member Avatar for samarudge

Hi, I'm trying to find a suitable language for developing an RIA to be able to tune an instrument via a website. I.E. what I need is: 1) Live input from a microphone 2) Get the volume level of different frequencies 3) Find the average or loudest frequency 4) Output …

Software Development java
Member Avatar for samarudge
0
84
Member Avatar for facadie

Hi there, I'm doing a camera caliberation program which will detect whether there is stain on the camera lens. i have a program that can detect the stain and display but how do i go about detecting the position and also CIRCLE the position whereby there is stain. any suggestion? …

Software Development c++
Member Avatar for Nick Evan
0
96
Member Avatar for Samyx

I am trying to implement an interface so that the main program would work. Any light? I am having a difficult time trying to understand interface :/ [code] interface ArithmeticOperator { // Returns the result of applying the operator to operands a and b. double operate (double a, double b); …

Software Development java
Member Avatar for javaAddict
0
87
Member Avatar for mymyzzz

i really need help!!! i am a noob, just getting started in c++ and i need help sorting my array. please don't suggest me std::sort because i don't really know how to use those! sorry i am such a noob, but i prefer it the simplest way possible please help …

Software Development c++
Member Avatar for Nick Evan
0
106
Member Avatar for crispusx

Hello, I have an app that use an excel component(ocxt.com). This component have a strange behavior, which I reproduced it with Interop.Excel. Bellow is the functions with I open and close an excel file programatically: [CODE] private ApplicationClass app = null; private Workbook book = null; private Worksheet sheet = …

Software Development c c# c++
Member Avatar for crispusx
0
253
Member Avatar for windermere

Here is the LinkedList.h file: [CODE]// LinkedList.h -- class for a linked list as a data structure template <class DataType> struct Node { DataType info; Node<DataType> *next; }; // LinkedList maintains a current position in list after each function call // If an object of a struct is used for …

Software Development c++ data-structure linked-list
Member Avatar for bamcclur
0
184
Member Avatar for Jfunch

I keep getting a Segmentation fault error when i run my program, i read that this is an error with memory or somthing, i was hoping someone could point out where the problem in my program is. My code is below. [CODE] #include <iostream> #include <vector> using namespace std; class …

Software Development c++
Member Avatar for pecet
0
247
Member Avatar for govindak

would someone help me learn stl ? i am new to c++ and i am learning myself so its getting very hard to understand...... thanx everyone in advance....

Software Development c++
Member Avatar for govindak
0
79
Member Avatar for vtsmokey88

The fact thats it an AVL tree probably doesn't matter. I have a printTree method in my tree class and I'm trying to print the nodes in the form of the tree. I've successfully printed the nodes the correct way but now I'm trying to label the nodes by their …

Software Development java
Member Avatar for vtsmokey88
0
103
Member Avatar for songweaver

Hey guys, I have been working on this problem for a while and wanted to see if you could spot what the problem is. This form is used so I can add a customer to the list which calls up another form for the adding. And also has an option …

Software Development vb.net visual-studio
Member Avatar for phatJacob07
0
106
Member Avatar for AutoPython

I have a limit of 30-45 dollars to buy an editor (with Python support, obviously) . Here's what I would like. Customizable syntax highlighting (like the kind in Notepad++). Auto indent, so it autmatically indents 4 spaces after a ':' character. Good code completetion. A built in IDE. Preferably like …

Software Development ide python
Member Avatar for Gribouillis
0
174
Member Avatar for smithaboby

I want to store multiple usernames and passwords in the oracle 9i and connect with VB. I am new with this. Kindly send me reply. Smitha

Software Development oracle visual-basic
Member Avatar for debasisdas
0
154
Member Avatar for hgftechhead

Hi All, I have an assignment that asks : Write a program that prompts the user for test scores (doubles). The user enters -1 to stop the entry. After all of the test scores have been entered, calculate the average, the highest and the lowest test score. Use the code …

Software Development c++
Member Avatar for jomanlk
0
136
Member Avatar for ramjeev

Difference between Runnable interface & Thread class?Which one to use, though both seems to be same? As per my knowledge,runnable can be implemented in such a case that already it has some hierarchy -Thanks in advance

Software Development java
Member Avatar for ramjeev
0
152
Member Avatar for smohrchi

I've been working with Java for several years now and it's time for me to expand to other languages. I've decided to learn Python and have now just started looking into where to begin. I'm wondering if there is one, maybe two books out there that are considered to be …

Software Development python
Member Avatar for jaux
0
92
Member Avatar for kekekerush

Let's say you have some code in the .data section: [CODE]doodle db "*****,3,*****"[/CODE] Is there anyway to change the ,3, into something else? (Perhaps a smiley face or somesuch.) I was thinking if I had the registers all set up, I could do something like: [CODE] ~~assume there is code …

Software Development assembly
Member Avatar for NotNull
0
98
Member Avatar for leoeroy

I'm trying make a 2 dimensional array. An array of object. I'm trying to make a 126 by 94 array of green SpotInField objects. [CODE]import javax.swing.*; class FarmField { public static void main(String[] args) { int width = 126; int length = 94; } public void FarmField(SpotInField myField[][], int dwell){ …

Software Development java java-swing
Member Avatar for leoeroy
0
648
Member Avatar for vinochick

I have most of the program written, but I'm stuck on the 2 dimensional array. Here is the code I have so far: [CODE]#include <iostream> using namespace std; //function prototype int calcTotal(); int main() { //declare variable and array int total = 0; int sales[6][2] = {{12000, 10000}, {45000, 56000}, …

Software Development c++ display
Member Avatar for vinochick
0
115
Member Avatar for randomized999

how can i execute a loop (a series of natural numbers from 1 to 100) in dos shell ? code:- [ dim a as integer,dim b as integer for b=1 to 100 step 1 for a =1 to 100 step 1 print a,b next a next b ] it is …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
168
Member Avatar for Diamonddrake

I have inherited from a picturebox and modified it to allow a selection rectangle to be drawn. Everything works well, except I would like for it to work in all sizeModes. center is simple, normal is simple. but I cant' seem to get "Zoom" to work. I have used reflector …

Software Development
Member Avatar for Diamonddrake
0
117
Member Avatar for xcorpionxting

I'm working on a small C++ project that requires using classes. I'm supposed to create a super class Animal and the sub classes Fish, Bird and Insect. In the main function, the object of type animal is created. I need that object to 'become' one of the 3 other types …

Software Development c c# c++
Member Avatar for xcorpionxting
0
204
Member Avatar for Kirielson

Hello, I've checked a recent Game of Life thread and unfortunately it did not address my problem. I'm trying to manipulate life based on how many cells have life. I'm assuming that it's the way that I'm doing the counting that is messing up the problem but it could also …

Software Development c++
0
72
Member Avatar for kostasxx

hello dear friends i installed visual studio ( full installation) then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this …

Member Avatar for geek53
0
134
Member Avatar for raigs

N00B here. I need to reuse a function's return in other functions. The problem is that the function's return changes every time it is called. How to achieve this? [CODE]int FUNCTION1(void) { // do stuff return FUNCTIONRESULT; // return to be reused in other functions } int FUNCTION2(void) // <- …

Software Development c
Member Avatar for twomers
0
83
Member Avatar for smurfh

I am attempting to write a vb.net 2008 application that will allow me to send files from a server to a client based on a request. I am going to post the same console application code below. When i run the server and the client on the local machine, i …

Member Avatar for smurfh
0
344
Member Avatar for baskar007

I have a list of part files (that is many parts of single file). I want to append all parts into a single file to make a full file. I used this code: [CODE] import os l = ["home/baskar/1.part","home/baskar/2.part","home/baskar/3.part"] source_file ="/home/baskar/source.file" re_size = 0 buffer = 10*1024 #10 KiB's for …

Software Development file-system open-source os-x python
Member Avatar for Archenemie
0
187
Member Avatar for soapyillusion

Hey everyone, I'm new on the forums and I'm also quite new still too C++ programming I'm taking a course in it in college (to meet my requirements) Its not my major and I'm terrible at math to boot. I have an assignment where the professor wants us to make …

Software Development c++
Member Avatar for soapyillusion
0
144
Member Avatar for mitchstokes225

This is what is asked of me. "Create a flowchart and write a complete C++ program that declares a 2 dimensional integer array of size 10 rows and 10 columns. The program should use two nested for loops to fill the array with the even numbers beginning with 2 in …

Software Development c++
Member Avatar for mitchstokes225
0
1K
Member Avatar for vinsbg

Hi, I have some problems with this code.I must make a add person.delete person or search... I make everything but if i add someone who is added before the program is crash.. Can someone to put new element on the exact place... for example if i have 1 and 10...i …

Software Development c++
Member Avatar for vinsbg
0
101
Member Avatar for deonis

Hello I'm trying to add highlighting to the specific keywords in the text widget. For instance I would like to highlight : Hello World. where is "hello" - will be coloured in red and "World" coloured green. Any Idea ??? [CODE] from Tkinter import * import os import subprocess import …

Software Development python tkinter
Member Avatar for deonis
0
3K
Member Avatar for T-Dogg3030

Hello, part of my project I'm working on needs to have me count the amount of letters in a file. This is what I have so far. Any one help? [CODE] #include <iostream> #include <fstream> using namespace std; int main () { char c ; // start with a blank …

Software Development c++
Member Avatar for T-Dogg3030
0
96
Member Avatar for hookah

Write a multi-module C program to manage an auto-parts database for a manufactory. help translate the bash script into c [code=script] #! /bin/sh #Project 2 CSC 3320 #echo menu test program stop=0 # reset loop termination flag. while test $stop -eq 0 # loop until done. do cat << ENDOFMENU …

Software Development c
Member Avatar for hookah
0
255
Member Avatar for rzhaley

hello i am trying to calculate an interest table and have made my code but cannot get the program to add from the existing principal balance to the new amount to calculate the interest gained over n amount of years. any help would be awesome. heres my code [CODE]using System; …

Software Development
Member Avatar for jonsca
0
123
Member Avatar for sexyzebra19

My code compiles and is working correctly, but I was just wondering if anyone could check over it and suggest any improvements or correct things I've done that are bad in the c++ world...anything at all? Thanks in advance! [code=php] #include<iostream> #include<vector> #include<cmath> #include<iomanip> using namespace std; //Declare functions void …

Software Development c++
Member Avatar for mrnutty
0
96
Member Avatar for confusedndazed

[B]Hello everyone!!![/B] I have the following pseudocode and I'm not exactly sure how/where to plug it into my code. I am still very lost concerning programing so please bear with my ignorance...:) /* pseudocode for Binomial Coefficients */ int binomial(int n, int k) { If (n < k) Then return …

Software Development c++
Member Avatar for confusedndazed
0
97

The End.