132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ccube921

I don't know why my compiler didn't like my for loop [CODE]#include <iostream> using namespace std; int main() { cout<<"Please enter an integer.\n"; int intege; cin>> intege; cin.ignore(); cout<<"Please enter it again." for ( int inte = 1; inte = 1; ) { cin>> integ; if (intege==integ) { inte=0 cout<<"Thank …

Software Development c++
Member Avatar for Stefano Mtangoo
0
73
Member Avatar for jlancaster954

hi everyone, i'm looking for some help please! i'm in an intro to java class and i cant figure out what i'm doing wrong.i am getting an error message that says: Ch3_PrExercise1.java:29: ';' expected String inData.; like i said i just starting out so any help or advice is greatly …

Software Development java
Member Avatar for Stefano Mtangoo
0
384
Member Avatar for jrhitokiri

Hello, I have this code that supposedly imitate a DTR for a homework. I've made the preliminary code, but I'm kinda surprised at the output since it's not what I had expected. Here's the code: [CODE] int login() { int id; char* name, log_time; time_t lt; lt = time(NULL); printf("\nPlease …

Software Development c
Member Avatar for jrhitokiri
0
237
Member Avatar for cortez716

Here's what Im trying to do... Write a program that asks the user to guess the next roll of a six sided die. Each guess costs $ 1. If they guess correctly, they get $ 100.00. The player will start out with a $10.00 bank. Each time he (or she) …

Software Development c++
Member Avatar for Akill10
0
180
Member Avatar for alleybye

i got this! [CODE]Option Explicit Public con As New ADODB.Connection Public rsTally As New ADODB.Recordset Public Sub Connect() con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Aianski\Desktop\Cliente ko\SGO_Tally.mdb;Persist Security Info=False" rsTally.Open "select * from tbl_Tally ", con, 3, 2 End Sub [/CODE] i think its right. but when i run it i get "syntax …

Software Development open-source visual-basic
Member Avatar for AndreRet
0
100
Member Avatar for danilomayojr

Dear Programmer i am having problem developing simple reading and sending data via rs232.. can anyone help me by sending me a very simple module with comments with regards to reading and sending data.... Thanks in advance good friend!!! Danilo Mayo Jr., Philippines

Software Development visual-basic
Member Avatar for AndreRet
0
163
Member Avatar for hell_tej

:) Hi Masters, I m creating a project of VB to Access conectivity. I need that i want store data in server, there is 5 PC server-client networking.[B]How can i write Program in VB to STORE DATA IN SERVER[/B].I m totaly blank for this problem. :'( Please Help me to …

Software Development client-server visual-basic
Member Avatar for AndreRet
0
233
Member Avatar for fourty

Hi Pals could anyone show me how to code an active clock window Thanks in advance fourty

Software Development visual-basic
Member Avatar for AndreRet
0
182
Member Avatar for nativeoak

I am trying to pass a two dimensional array to a function and modify it. I understand that two dimensional arrays are automatically pass-by-reference parameters so that solves half of the problem. However, when I try to compile the code: [code=c] #include <cstdlib> #include <iostream> using namespace std; int x, …

Software Development c++
Member Avatar for Greywolf333
0
146
Member Avatar for Olliepop

Hey guys i have a real issue I want to do these 3 things from an applet: ________ 1) Load an URL into a frame inside the browser and 2) Insert data into a form which is inside a frame in the users browser, and then submit the form using …

Software Development html-css http-protocol java
Member Avatar for Olliepop
0
126
Member Avatar for cortez716

I've writen a simple calculator code it is pasted below. What do I need to change in order to make it loop using a "while" statement until, the user inputs the letter ("Q" upper or lower), casuing it to exit the program instead of a function such as(/,*,-,+).. please help... …

Software Development c c# c++ programming-construct
Member Avatar for VernonDozier
0
126
Member Avatar for I_am_barrage

I'm working on this project and I'm REALLY close, I'm just gettin a C2059 error and I have no idea why? [CODE] #include <iostream> using namespace std; int main() { int guess; int die; float total = 10; char ans; cout << "Welcome to Dice Roll!" << endl; cout << …

Software Development c++ visual-studio
Member Avatar for I_am_barrage
0
211
Member Avatar for kerimabdullah

#Hi friends I want to shorten these codes I must control at least 100 space and delete please help[CODE] for i in range(mylist.count('')): mylist.remove('') for i in range(mylist.count(' ')): #delete 1 space mylist.remove(' ') for i in range(mylist.count(' ')): #delete 2 space mylist.remove(' ') for i in range(mylist.count(' ')): #delete …

Software Development python
Member Avatar for TrustyTony
0
126
Member Avatar for rodel~

how can i make a basic calculator on turbo c++ that the result is can be used again and again to any operation

Software Development c++
Member Avatar for prvnkmr449
0
85
Member Avatar for cogitoergosum18

i can see the light at the end of the tunnel after working on this thing for 6 hours strait but i am faced with a last few errors. First here is the code: it is really long. the error statements are: 'seriesParallel' : undeclared identifier seriesParallel' : undeclared identifier …

Software Development c++
Member Avatar for prvnkmr449
0
245
Member Avatar for kumar_k

Hi, Iam in the process of creating a program for converting words in a file to numbers. Am struck at the input file selection gui script. i want to create a GUI to open a file from the open file dialog box and to read the words in the file …

Software Development file-system gui python
Member Avatar for kumar_k
0
143
Member Avatar for ezkonekgal

i have declared [CODE] char arr[10][10]; [/CODE] and did this: [CODE] for(i=1;i<=n;i++){ arr[i] = (char)i; } [/CODE] but it wouldn't work.. i want to put the number inside the array.. y does this error?

Software Development c++
Member Avatar for prvnkmr449
0
114
Member Avatar for PierlucSS

I have this list of object: [CODE]public List<XHTMLError> Report = new List<XHTMLError>(); [/CODE] Which is defined this way: [CODE] public class XHTMLError { public List<string> Errors = new List<string>(); private string _errorType; public string ErrorType { get { return _errorType; } set { _errorType = value; } } }[/CODE] I …

Software Development xml
Member Avatar for sohelelite
0
124
Member Avatar for codeamazon

I have a form which is primarily pulled from Table1. Table1.fieldA is an integer representing a project phase. In the current Access display the form displays not the integer, but a String stored in Table2 that holds integer/String pairs representing all the phases. I'm trying to figure out the best …

Software Development display vb.net
Member Avatar for codeamazon
0
173
Member Avatar for choover12

I like to use pop out panels that would just slide but sometimes it looks bad. is there a way i can fix it to make is as smooth as possible? here is the code i use [CODE] dim pp as new point Private Sub Form1_Load(ByVal sender As System.Object, ByVal …

Software Development vb.net
Member Avatar for codeorder
0
190
Member Avatar for Techguruwanabe

I am a student and my assignment is to write a change calculator program.I have got to go from Dollars down to pennies (not to much work) but I lost my notes (Kinda stupid of me) and I dont know how to fix my program.Please help [CODE]print 'Hello please enter …

Software Development python
Member Avatar for cghtkh
0
2K
Member Avatar for dpirtle83

import java.util.Scanner; public class Compute{ public static void main(String[] args){ Scanner input = new Scanner(Scanner.in); System.out.println("Enter three numbers"); double.int= v0=5.5; double.int=v1=50.9; double.int = t= 4.5; System.out.println("5.5-50.9/(4.5)"); } } i am having trouble with writing this program, what am i missing to finding the average for this , or is it …

Software Development java
Member Avatar for brandonrunyon
0
131
Member Avatar for liamzebedee

I am getting System.IndexOutOfRangeException everytime I try to compile my program. This is where the error is happening. [CODE] public static string findlinks2(string source) { char quotes = (char)34; //sets the char variable to quotes since you can't use it in a string normally string searchstring = (quotes + "fmt_url_map" …

Software Development regex
Member Avatar for liamzebedee
0
173
Member Avatar for ehrendreich

I have a windows form that references two tables with a foreign key constraint issue. This form uses detail views for both tables. The tables are tblContact and tblMembers. The relation is based on the ContactID that is in both tables. The parent is in the tblContact table. I am …

Software Development vb.net
Member Avatar for ehrendreich
0
1K
Member Avatar for jr042684

Hello all. I am new to programming. I have been working on this address book program for the past we ek and can not seem to get it to work out. I know I am pretty close. This is my final exam which is due tomorrow. I have been pulling …

Software Development
Member Avatar for jr042684
0
156
Member Avatar for jorgempaz

The program at work now will end up in a drawing third dimension editor. I draw in the window but when I touch a window's control (a menu option, maximize, minimize buttons, other window, etc...) the image at window disappears, do I have to redraw everything? if so, which controls …

Software Development c++
Member Avatar for jorgempaz
0
161
Member Avatar for 4824hbk

Here are the two functions that I'm trying to get to work together. Anyone know how to call my overDraft function into my withdraw function if statement? Thanks. bool withdraw(double amt, int pin){ if (amt <= bal) return true; if(amt >= bal) return ????; //Need this to call my overdraft …

Software Development c++
Member Avatar for mike_2000_17
0
100
Member Avatar for SergeantJoKer

Hey everyone. I could use some serious help with a Java method that I have to construct for my CMIS class. Basically, I have to develop a static method that has two arrays in it, one a String array that has values of colors; the other, a Color array that …

Software Development java
Member Avatar for NormR1
0
184
Member Avatar for Peram

For some reason, it works when I just do the entering the name part it works fine, but with the rest of my program I'm having a problem. I'm trying to have the program make it where they enter a password to get in the program (Which I got to …

Software Development c++
Member Avatar for Peram
0
152
Member Avatar for cogitoergosum18

I am trying to write a function that relates a color; for example, brown with a number, say 1. so when the user types brown 1 will appear, etc. [CODE]int colortonumber (int x) { int nka; switch (x) { case 'brown': nka=1; break; case 'red': nka=2; break; case 'orange': nka=3; …

Software Development c++
Member Avatar for VernonDozier
0
304
Member Avatar for jimmy9pints

Total new question here - and I know [URL="http://www.daniweb.com/forums/thread76747.html"]a similar question[/URL] has been asked before - but I've done a bit of work on this and I'm stuck, so I'd appreciate some help. The exercise I'm stuck on is this: [QUOTE]Write a function that implements Euclid's method for finding a …

Software Development python
Member Avatar for jimmy9pints
0
126
Member Avatar for visual.c

Hi I am trying to write an application for connecting to JABBER chat server,something like a chat client.i know there are many ways to do this like using agsXMPP library or jabber-net library,i wanna know can someone help me and tell me how can i use Winsock (mswinsck.ocx) to do …

Software Development c# client-server
Member Avatar for visual.c
0
143
Member Avatar for kakaliki

Write a program that illustrates the growth of the world's population using as input: the start year the initial population size the annual percentage increase of the population the end year. You may assume that the input is valid. Output the year, the size of the population and the population …

Software Development algorithm c++
Member Avatar for VernonDozier
0
573
Member Avatar for praky

I am writing a code for arithmetic compression. But my problem is i can't open the file 2nd time for reading. code is: [CODE] #include<iostream> #include<fstream> #include<stdio.h> #include<math.h> using namespace std; #define MAX_SYM 255 struct node { char ch; int count; /*public: node() { //cout<<"constructor at work. \n"; count =0; …

Software Development c++ file-system ios
Member Avatar for praky
0
91
Member Avatar for chinchan

hii all , I need to assign either 1 or -1 randomly to an 3 dimensional array where 1 corresponds to orange and -1 corresponds to blue can someone help me in C++ code Thank You, chin

Software Development c++
Member Avatar for Colezy
0
204
Member Avatar for lse123

[url]http://portals.apache.org/jetspeed-2/[/url] how can help built my towns web-index?

Software Development apache java
Member Avatar for NormR1
0
85
Member Avatar for ceyesuma

MusicSys:unsolved: Hello Could someone tell me which (if any combination of code to use to put a date in a derby db using a JFormattedTextField? [code] createBooking ...etc ..., book_date DATE, ...., ... [/code] here are the many tries I have so far [code] if (i == 3) { //I …

Software Development java
Member Avatar for ceyesuma
0
625
Member Avatar for convoluted

Hi all, Just started using Python a week or so ago, really enjoying it so far, but stuck with a project I'm working on. I'm trying to create a in-dash display system which uses Python to communicate with a piece of hardware and uses an HTML page to display the …

Software Development flash gui html-css python
Member Avatar for SoulMazer
0
186
Member Avatar for plasticfood

[CODE]double wholeCost = kb.nextDouble(); double markupPercent = kb.nextDouble(); double markup = markupPercent/100.0; double retailT = calculateRetail(wholeCost, markup); System.out.println(retailT); public static double calculateRetail(double num1, double num2){ double markupPrice = ((num1 * num2)+ num1); return markupPrice;} [/CODE] i've been staring at this and can't figure what is wrong with it. the compiler …

Software Development java
Member Avatar for plasticfood
0
77
Member Avatar for rocky4everurs

how to calculate columnwise total in excel sheet in java using HSSFworkbook

Software Development java
Member Avatar for masijade
0
1K
Member Avatar for Defensor

Hello everyone. I am trying to copy data from a file stream into a char*. I know there are ways to do it with std::string and getline, but I have an assignment where I have to have a class that will take a char* into one of its constructors (which …

Software Development c++ file-stream
Member Avatar for Defensor
0
207
Member Avatar for kezkez

Hi Everyone, I have to add a static method Account consolidate(Account acct1, Account acct2) to an existing Account class that creates a new account whose balance is the sum of the balances in acct1 and acct2 and closes acct1 and acct2. The new account should be returned. (only accounts with …

Software Development java
Member Avatar for vaibhav1983
0
1K
Member Avatar for bmos31

So I'm having trouble performing a linear search of a linked list class. The inList() search function is supposed to recieve a value for an element and search for that element, return a bool value based on whether or not the value is in the list or not. Below is …

Software Development c++ linked-list
Member Avatar for bmos31
0
1K
Member Avatar for Little Bunny

A question was asked to me which is as follow: There is a class Fruitlist which has a sub class apple and there is a class Fruit which has a sub class orange FruitList uses Fruit (* not sub classed, only uses it) and Apple uses Orange Is there something …

Software Development apple java
Member Avatar for vaibhav1983
0
126
Member Avatar for avani20391

Hi,all. I'm B.sc computer science student.I am searching a project in vb.net.I want to make cybar cafe management system but not so clear about this system.Can anyone help me?

Software Development vb.net
Member Avatar for TsadokBlok
0
164
Member Avatar for algarmon

I migrated a c application using the cc compiler from AIX version 5 to Solaris 10. First, I compiled my application with cc compiler using Solaris 10. I did not use special compilation options and compiled without error. Then, I run the application and found the first buffer overflow, then …

Software Development c
Member Avatar for N1GHTS
0
205
Member Avatar for reemhatim

Write a program that reads a string from the user and generates a histogram for the characters encountered in this string. A histogram is a representation of how many times each character appears in the input string. Use function Histogram that takes the string as input and displays its histogram. …

Software Development
Member Avatar for reemhatim
0
84
Member Avatar for ryan.devine

I am new to visual basic. I have an internship at a real estate company and my project for the next couple months is to create a database for real estate. The overall project consists of a application that each agent will log into and will be able to search …

Software Development vb.net visual-basic
Member Avatar for TsadokBlok
0
125
Member Avatar for gaurav_13191

Hi, I have the code to add elements at the end of the linked list using recursion. [CODE] //Adds an element at end using recursion #include<stdio.h> #include<conio.h> #include<stdlib.h> struct node { int data; struct node *link; }; void addatend(struct node **,int); void display(struct node *); int main() { struct node …

Software Development c linked-list
Member Avatar for N1GHTS
0
559
Member Avatar for noniterum03

I am having trouble with tkinter and python on my Mac, I'm running Leopard.I did a port install of python2.6, numpy, scipy, matplotlib, but when I try and import matplotlib.pyplot, I get the following error. I think there is a conflict with the pre-built version of python that comes with …

Software Development python tkinter
Member Avatar for woooee
0
160

The End.