132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for speterson

I am having another problem with a new project for my programming class. We have to create an ATM that the user enters the account and pin number to get to a main menu. The program consists of a form for each type of activity(logging on, the main menu, withdrawal, …

Software Development data-structure vb.net
Member Avatar for iamthwee
0
79
Member Avatar for whitemoss

Hi All, Need our expertise out there regarding the above mention error and below are the codes: [code] /* send SQL query */ bzero(query1, sizeof(query1)); sprintf(query1, "select a.CreateDate, a.MobileNumber, b.BillName, b.CorrName, b.ICNew, b.ICOld, b.Passport," "b.Addr, b.Addr2, b.Addr3, b.Addr4, b.Postcode, b.CountryCode from Register as a, Profile as b" " where a.MasterNumber …

Software Development c
Member Avatar for whitemoss
0
469
Member Avatar for sparkid

I need immediate help in writing a function program. I have to write a program in functions and use array to store them. I am not familiar with functions and i tried to create it but i fails to run, However, i simply created this program in arrays and it …

Software Development c++
Member Avatar for sparkid
0
86
Member Avatar for shadowmoon

ok im trying to make a video game for school medterm.. problem is it runs the females and male selection when it shouldnt... is this a syntax error or code error.. what can i do to fix it?? [code=cplusplus] #include <iostream.h> #include <iomanip.h> #include <cstdlib> main() { char gender; char …

Software Development c++ video
Member Avatar for shadowmoon
0
122
Member Avatar for Salaam

Hello Members, I am developing application in vb.net. We have multi store in various location. I want my application show stock in hand,Sales , Purchase information for all the stores. Should i need centeralised server like WAN or every day data transfer. I need to know the Table design. Normalisation …

Software Development database-design vb.net
Member Avatar for Ancient Dragon
0
156
Member Avatar for farook ahammad

[B]How to run a java program without main function.[/B]

Software Development java
Member Avatar for jwenting
0
83
Member Avatar for Barefootsanders

Hey everyone. I have a project to work on but for some reason I cant get my basics to work. Im trying to read in from a file and just printing what I read in from file to an outfile but its not working. The output looks like this: 3.30504e-039 …

Software Development c++
Member Avatar for Salem
0
104
Member Avatar for JRM

...for spaces! This is another thing where I beat the code into submission. I just want someone to tell me if this is "good programming practice"- or have i gone off on a tangent. Is the use of the member access operator OK? All this program does is take a …

Software Development c++
Member Avatar for WaltP
0
267
Member Avatar for bala24

Hi all, I got this problem after reviewing aznballerlee's problem posted some time back and the replies to it. I need to design the same function but with only one parameter i.e remove_S(char *p) I cannot take any local variables within the function. main looks like this ... [code] int …

Software Development c
Member Avatar for JRM
0
153
Member Avatar for Haze

when i say basic i mean basic it doesnt store the encrypted string in a file or anything it just prints out what it would be and all i intend it to do is swap a for b, b for c and so on then turn the string round backwards …

Software Development encryption os-x python
Member Avatar for jrcagle
0
2K
Member Avatar for JoBe

Hello ladies and gents, I'm trying to copy two words, for instance test and word into an array of characters and have this: [CODE]#include <iostream> int main() { char word[10]= ""; char *wordArr[10]; for(size_t i = 0; i < 2; i++) { std::cin >> word; *(wordArr + i) = word; …

Software Development c
Member Avatar for WaltP
0
349
Member Avatar for sweety0

dear all i am sending a code i want a code which will multiple three numbers given in three text boxes without using multiplication operator. and show the answer in the fourth text box Private Sub cmdbutton_Click() Dim BOX1 As Integer 'Declaring variables Dim BOX2 As Integer Dim BOX3 As …

Software Development visual-basic
Member Avatar for aparnesh
0
126
Member Avatar for mattyd

Concerning Python Indentation Syntax: I have researched this and read some reasoning behind indentation-level enforcement. My question is: does this exist simply to ensure consistency when dealing with nested statements, a precaution against sloppy composition of code? I am not complaining about this, and actually I somewhat like this, but …

Software Development python
Member Avatar for jrcagle
0
244
Member Avatar for mattyd

I have been working on a somewhat small Python GUI for a few weeks now primarily focusing on the GUI and not giving much in-depth thought to the logic of what is to be a simple card game. I assumed the logic to be in my head and in general …

Software Development first-post gui python tkinter
Member Avatar for jrcagle
0
322
Member Avatar for nanodano

Hi, I'm trying to write a simple Queue class, but I'm having trouble using it. It tells me I have undefined references to the functions I call in main. [code] // main.cpp #include <iostream> #include "queue.h" void main() { Queue<int> myq; myq.push(10); std::cout << myq.isempty() << endl; myq.makeempty(); std::cout << …

Software Development c++ queue
Member Avatar for Narue
0
150
Member Avatar for mc_reload87

Hi, I have overcome my program with the DLL files, but now have a slight problem with my progress bar. Part of my program loads an external spreasheet and exports data to it for printing. Whilst my VB program loads the spreadsheet, thewre is a pause of about 7 seconds …

Software Development visual-basic
Member Avatar for mc_reload87
0
95
Member Avatar for hjc

i am sure that i am way off but i will attach the problem and hope someone can point me in the right direction. thanks in advance for any help given. i am trying to created a program that will write a grading program for a class with the following …

Software Development java java-swing
Member Avatar for jwenting
0
121
Member Avatar for anti_genius

Hi, I want to do that i have a fixed center point in a frame. when i enter raduis in textbox and click replot button, i want that lines are drawn originating from that center point in such a way that their end points form a circle. (As children draw …

Software Development java
Member Avatar for s_khardenavis
0
140
Member Avatar for zouyu1983

Hi, guys. i'm a newbie in java world,now i confront a question about the inherite classes. [code] class Base { void f() {....} } class Derive1 extends Base { void f() {....} } class Derive2 extends Derive1 { void f() {....} } [/code] i know that if i want to …

Software Development java
Member Avatar for farook ahammad
0
108
Member Avatar for yanz

I am doing a remote controlling to external devices. I already have a VB6 coding. I wonder if it is possible to download into the 68HC11 microcontroller to help me control external device such as on or off lights? Hope that you can help me out. 10z:cheesy::?: As we all …

Software Development visual-basic
Member Avatar for yanz
0
139
Member Avatar for JRM

Hello all, This is some code that another poster put up a while ago. Just for the heck of it, I tried to compile his solution, but i can't get the poiner syntax on the bubblesort function to work. I modified the call in main() to take a ref instead …

Software Development c++
Member Avatar for Narue
0
128
Member Avatar for millanskie

Hi, do anybody knows how to connect in sql mdb2 in Visual Basic 6 I only know how to connect in php... this is my sample connection in php.... #======================================# $mdb2 = connectdb(); $sql = "SELECT <fieldname> FROM <tablename>" $results = selquery($sql,$mdb2); closedb($mdb2); #======================================# do anyone knows how to do …

Software Development sql visual-basic
Member Avatar for millanskie
0
188
Member Avatar for JS1988

Could somebody please me get this to compile and run [code] #include <iostream> #include <iomanip> #include <fstream> #include <cmath> using namespace std; // global constant declaration const int MAX_SIZE = 50; const int NUM_RANGE = 25; void getNumbers( int numbers[ ], int& size, int MAX_SIZE ); void printResults( float mean, …

Software Development c++
Member Avatar for JS1988
0
127
Member Avatar for Savage221

Hello. Ok, so for this program I have to read in an html file, gather all html tags ( ie: <html> <font> </i> etc.. ) and add them to a queue in which they will be printed out later. Opening the the file is easy, it's after that I'm a …

Software Development c++ queue
Member Avatar for Savage221
0
89
Member Avatar for anti_genius

Hi, Someone has an idea if we can draw a line between two points with multiple colors i.e. some part of line is red and the rest part is green. Something like that. Regards

Software Development java
Member Avatar for iamthwee
0
80
Member Avatar for the jaguar

I need help making a word frequency counter that also gives percentages of the amount of time the character occured. I am having trouble compiling my program. Thanks. [code]import java.util.*; public class GoodLetterCounter { public static void main(String[] args) { System.out.println("\n-This program will show how many times" + " the …

Software Development java
Member Avatar for Dukane
0
392
Member Avatar for itchap

[COLOR=black]hi again!! I did this question:[/COLOR] [COLOR=black]Create a class responsible for determining whether a string is a palindrome. [/COLOR] [COLOR=#000000]I did the code. but i have some errors that i dont know how to fix.[/COLOR] [COLOR=#000000]these are the errors:[/COLOR] [COLOR=#000000]1- syntax error before `)' token [/COLOR] [COLOR=#000000]2- syntax error before …

Software Development c++
Member Avatar for itchap
0
179
Member Avatar for venomlash

If I create a class called "tree" and inherit from it to classes called "elm" and "oak", can I, using all three header files, create a vector <tree> and use push_back to add an "elm" and an "oak" to that vector?

Software Development c++
Member Avatar for Narue
0
95
Member Avatar for ramgates

hi guys we say that c language is a powerfull language but the use of '^' to represent 2*2*2 as 2^3 is restricted in c language where as the use of '^' is allowed in other simple languages.

Software Development c
Member Avatar for Nick Evan
0
116
Member Avatar for itchap

Hi everyone, Im trying to solve this question: write a C++ program to find a given word in a file. It should display all the line numbers where the word occurs. this is the code that i did so far, the problem is it wont display all the right line …

Software Development c++ ios
Member Avatar for itchap
0
199
Member Avatar for chuck577

Hello guys, I have a Calendar control that I am working on. I am having problems with the appointment portion of it. Everytime you click on a time slot and type, it adds an appintment. Here is the code I use to add the appointment. [code] [COLOR=#008080]Appointment[/COLOR][COLOR=#000000] m_Appointment = [/COLOR][COLOR=#0000ff]new[/COLOR][COLOR=#008080]Appointment[/COLOR][COLOR=#000000]();[/COLOR] …

Software Development sql
Member Avatar for Killer_Typo
0
157
Member Avatar for fortis

I NEED HELP ABOUT C++, PLEASE SEND ME THE CODE IF YOU INPUT A NUMBER IT WILL GENERATE IF IT IS A PRIME NUMBER OR IF IT IS NOT A PRIME NUMBER IT WILL DISPLAY THE CORRESPONDING FIBONACCI. THE OTHER IS ACTUALLY BASIC IF YOU INPUT 6 NUMBER, IT WILL …

Software Development c++ email
Member Avatar for yamurthy
0
86
Member Avatar for Soulstryker

Hi, I have an assignment that I need help finding out how to add the commission rate for salespeople. I'm to use arrays and methods. The commission rates are as follows: $1000 -- 2999 --> 2% $3000 -- 4999 --> 3.5% $5000 -- 9999 --> 4.25% $10000 and above --> …

Software Development java
Member Avatar for Infarction
0
262
Member Avatar for Hello!

helli everyone!!...hope your all in good health...jus wondered if someone could please help me...when i try to compile this code, it says "class or interface expected" for public Bank(String bankName) i have tried, unsucessfully, to fix this but i dont understand what i have to do.... please can someone help …

Software Development java
Member Avatar for Infarction
0
160
Member Avatar for barnyard0581

im a chem major and im required to take c++.. i learned some basic stuff (floating point/2s comp systems, basic programming) but im iffy on whether im getting a C or not.. our instructor gave us a bonus assignment but its super complicated and beyond what i understand.. can anybody …

Software Development c++
Member Avatar for barnyard0581
0
130
Member Avatar for 927mgtepat

Hello all, I am hopeing someone can help me out on this, Yes this is homework and i have been trying to figure it out for the past couple of days and it is due tonihgt, the teacher wont really help any of us.We need to write a program in …

Software Development c++
Member Avatar for John A
0
98
Member Avatar for Fr0z3n999

[COLOR=#000000]Can any1 please help me...[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]i'm really lost in using bash shell scripting...[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]and i got to hand this up on monday...[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]please anyone teach me how to do this assignment... [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Please use basic things because i just learn the program …

Software Development email shell-scripting
Member Avatar for linux
0
192
Member Avatar for clevername

Hey all, newbie programmer here and looking for some help. I have to search for the 3 smallest integers and 3 largest in my 3x3x3 array. I have it loaded with random numbers already. However, I am not allowed to use any kind of sorting, (bubble, insertion). [code=php] #include <iostream> …

Software Development c++
Member Avatar for clevername
0
140
Member Avatar for khwan

hi friends i'm new here i'm trying to write an assembly program that generate random numbers, shuffle them and sort them in ascinding order i tried a lot and this is what i did but still there is problem so anybody who can help i would be more thankful [COLOR=red]#make_COM#[/COLOR] …

Software Development assembly
Member Avatar for Day Brown
0
157
Member Avatar for sgriffiths

Hello all I want to be able to search a string and remove non a-z chars and also search for certain words and then remove them ie. char string[25]="STEPHEN JOHNSON - LTD" So i use isalpha to get rid of the non a-z string i am left with STEPHENJOHNSONLTD LTD …

Software Development c
Member Avatar for mkadwa
0
111
Member Avatar for rocky888

My problem is when my board displays it shows 2's. My enum Player is not working or I just don't understand enum. It is displaying 0,1,2 instead of X, O, and empty. It is also not changing players, again tied to the enum problem I'm sure. Any help would be …

Software Development c++
Member Avatar for ~s.o.s~
0
97
Member Avatar for Electrohead

I have put a tutorial on how to make a C++ Hello World application on my website! :cheesy: [u][color=#0066cc][url="http://www.keefe-interactive.com/community/viewtopic.php?t=3"]http://www.keefe-interactive.com/community/viewtopic.php?t=3[/url][/color][/u] enjoy! :cheesy:

Software Development c++
Member Avatar for Narue
0
182
Member Avatar for Tkassis

[B]I am working on an exercise given in class. I have managed to do most of it but I a a bit stuck on the permutation part. Here is what is required of me:[/B] Subject: Transformers An ideal electrical transformer has an input voltage and current, Vin, Iin and an …

Software Development algorithm c++ file-stream oop
0
66
Member Avatar for degamer106

I've been asked to create a movie data baseusing a hash table (w/ linked-list collision resolution) and a BST. Both of them contain a field that points a given structure (we'll call it *pMovie and its of type MOVIE) in memory. For example, if i'm going to insert "The Matrix" …

Software Development c++ data-structure linked-list
Member Avatar for Narue
0
137
Member Avatar for chetanpbhalerao

Hello, Hope you are doing excellent. I have developed a small commercial application in VB+MSAccess. To make a package I have used, Visual Studio's Package and Deployment Wizard, but it's not fully customized. So, [B]I want a third party FREE-WARE for Package and Deployment. [/B] Please guide me in this …

Software Development visual-basic visual-studio
Member Avatar for chetanpbhalerao
0
93
Member Avatar for Esther

Hi all. Could someone pls tel me whats wrong with my code for adding new records to the db. Nothing is being added to the db and before the form opens up when running it, it brings an error that the file name of my form is invalid. Could someone …

Software Development dataset vb.net
Member Avatar for QVeen72
0
133
Member Avatar for s88

So I need to do a program, that goes throgh an html file and prints all the tags, but not closing tags. I tried the following code but when I run it several arrows appear. Can someone help please? [code = c] [COLOR=#000000]Program one;[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Uses crt;[/COLOR] [COLOR=#000000] [/COLOR] …

Software Development pascal
0
91
Member Avatar for iubike

Ok, so the program takes two inputs name, and grade. I will spare you the details. It works, however I have two issues. The first, I need all input data to display as red... I just have had NO luck getting that to work for me. Also, I need the …

Software Development c
Member Avatar for iubike
0
133
Member Avatar for Hello!

Hi everyone, hope your all well....i was just wondering if someone could pleassseee tell me why this doesnt compile and if they could please correct ti for me??? thank you very much: public class BankAccount { private static int accountCounter = 0; private String ownerName; private String accountNumber; private double …

Software Development java
Member Avatar for Hello!
0
87
Member Avatar for newbie2c++

Ok I have gotten myself started and seem to be COMPLETELY lost from here. I just have no clue as to how to finish this program I've tried but don't know where to go from here. Any suggestions would be greatly appreciated. I am supposed to write a program that …

Software Development c++
Member Avatar for Ancient Dragon
0
181

The End.