132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VernonDozier

[QUOTE=schamb;711245]also am curious as to how decimal to hexidecimal would work too just wanting to learn more about programming language and am very in experewienced[/QUOTE] You are going to have to get a lot more specific on these questions. General advice: 1. Read in a number in decimal. 2. Do …

Software Development c++
Member Avatar for VernonDozier
0
109
Member Avatar for Renukavani
Member Avatar for compovet

Hello everyone I want to create Textboxes according to the entered number at runtime but with different names because I want to deal with the the data entered in this textboxes [CODE] protected void Button1_Click(object sender, EventArgs e) { int rows = 0; int cells = 0; int counter =int.Parse(TextBox1.Text); …

Software Development asp asp.net
Member Avatar for LizR
0
146
Member Avatar for blinkliveson

Hey guys, I know you wont give me a direct answer, but that's not what I'm looking for. Here is the assignment: "Procedure: 1. Have the user input an integer between 2 and 19 (inclusive). If the number inputted is not within that range, reprompt the user again until a …

Software Development c++
Member Avatar for Sci@phy
0
180
Member Avatar for rysin

I have the following code (as you will see im using the same template as earlier...:$ [CODE] #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { int z = 1; int x = 2; int y = 3; bool b; b = (x < …

Software Development c++
Member Avatar for Sci@phy
0
98
Member Avatar for kjsalk

1,hi i need to create a program that will repeat the following 14 times.it needs to provide keyboard input that takes in hours worked in a day.after the 14 time it needs to show the hours worked. 2,the rate of pay is 6 pounds 50 pence. it needs to provide …

Software Development c++
Member Avatar for Sci@phy
0
123
Member Avatar for Aus89

I have the following code, the arrays are global variables. [CODE] #define MEMORY 64000; #define NUMFRAMES 6400; int mem[MEMORY]; int frames[NUMFRAMES]; [/CODE] I was pretty sure this should work as I don't see why it shouldn't but I am getting "parse error before ';' token" for both array declarations. Although …

Software Development c
Member Avatar for Narue
0
121
Member Avatar for peter1121

I need to know how to do the this assignment. moveTo(shape, newCenter) shape is a graphics object that supports the getCenter method and the newCenter is a Point. Moves shape so that newCenter is its center. Use your function to write a program that draws a circle and then allows …

Software Development python
Member Avatar for Ene Uran
0
206
Member Avatar for ttano173

I am currently trying to design a decision support system application that will help students register for classes in given a semester by displaying classes they are eligible for based on prerequisite courses and semester hours they have already taken. The program initially gets the semester hours the student has …

Software Development java
Member Avatar for javaAddict
0
192
Member Avatar for Chris11246

Im new to C# and im trying to create a simple RPG game. Im trying to show stats like health and exp but I dont know how to draw a line to show them.

Software Development
Member Avatar for toraj58
0
458
Member Avatar for Sheryl99

Hello. I am writing an application that displays photos. I need to be able to stop the SlideShow when the user presses the "Stop" button. Right now, what's happening when the Stop button is pressed, is a public variable, bStop, is set to True. It works sort-of, and it also …

Software Development vb.net
Member Avatar for selvaganapathy
0
173
Member Avatar for mowhawk

Hey, Im writing an interest program for in java and i ahve a question about an easier method to obtain the user input. I have to get the amount the user wishes to input, the % interest, the annual rate (36 months, or 2 years ) and the compound rate …

Software Development java
Member Avatar for stultuske
0
100
Member Avatar for scream2ice

I'm trying to write a program in java...it's actually the famous game of "Knight's Tour" - I guess you're all familiar with it- just for a brief explanation what I have to do is to get from the user the row and the coloumn of the square on the board …

Software Development java
Member Avatar for scream2ice
0
261
Member Avatar for dtakis

I try to create a Windows Service which listens to UDP port 514, i install it using installutil.exe and i get the following error message: --------------------------- Services --------------------------- The SyslogService2005 service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other …

Software Development
Member Avatar for LizR
0
1K
Member Avatar for champ80

please tell me algorithm or code for following character sorting (Ascending) problem. For example Text file contains following data: 001, PSTR, abcdef, h.no.222 abcdefghik lmnopq rstuv, student, A-level 002, MKTO, abcdef, house. 2 abcdefghik lmnopq rstuv, student, rtv 003, LORR, abcdef, h.number.210 abcdefghik lmnopq rstuv, student, O-level 005, ASMP, abcdef, …

Software Development algorithm c++ data-structure file-system
Member Avatar for emotionalone
0
586
Member Avatar for biran

Dear sir, i am really beginner of assembly low level language. so, please help me. how to program this example. program to evaluates 4*(x^2)+3x+7 if flag==1 or evaluates 9x+3 if flag==0. assume x is a 16 bits unsigned integer. waiting your prompt. bir

Software Development assembly
Member Avatar for ufg123
0
145
Member Avatar for sanushks

I'm a C novice, require help on parsing text files and storing in an array or another text file: Below is the data which are partly pipe delimited values and part of it are name-value pairs, for instance the "cma{PL}Ind{1}man{6}gal{0}cif{}" mentioned below cma is the field name and PL is …

Software Development c
Member Avatar for sanushks
0
130
Member Avatar for DemonGal711

I thought I had this program licked and moved on to fixing the next problems, then ran it again and found out my while loop isn't doing anything. It goes into my loop, stops, and doesn't do anything else. If there was one item, it should move on to the …

Software Development c++
Member Avatar for DemonGal711
0
52
Member Avatar for Kerry

[COLOR=Blue][SIZE=2][FONT=Times New Roman]Hello, my name is kerry and i just sign up .Well, my question is how do reverse a number input by user using recersive function.Thanks for the help. [/FONT] [/SIZE] [/COLOR]

Software Development c
Member Avatar for c0ld sn1ff3r
0
509
Member Avatar for schamb

i am writing a binary to decmal conversion program in c++ and am so lost just wondering if anyone out there could lend a hand to a lost soul also am curious as to how decimal to hexidecimal would work too just wanting to learn more about programming language and …

Software Development c++
Member Avatar for minigweek
0
133
Member Avatar for srivtsan

Can someone tell me how the series is to be implemented in c 1,1,1 2,1 2 3,1 2 3 4 5, 1 2 3 4 5 6 7 8 here is my code but i am not able to get the answer [code] #include<stdio.h> int i,n1=0,n2=1,n3,n; void main() { printf("\n …

Software Development c
Member Avatar for Aia
0
97
Member Avatar for ae012

i have a machine problem to do. it should compute for the average grade of N scholars. N will be entered on the keyboard and the Student No. and Grades of the Scholars in *8 Subjects will be entered. sample output of program should be like this. STUDENT NO. S1 …

Software Development c++
Member Avatar for emotionalone
0
263
Member Avatar for Kainan54

When using visual c++ does code that would work in other programs work as well?

Software Development c++
Member Avatar for Ancient Dragon
0
158
Member Avatar for Robert72

I'd like to write a shell script that'd parse data from a pipe and then ask the user questions. ie: [code]echo "Ann Bob Charlie" | checkuser.sh checkuser.sh starting Ann is OK. Bob is not in the system. Add Bob? (y/n): [/code] I know a couple ways to read from a …

Software Development session shell-scripting
Member Avatar for JeoSaurus
0
155
Member Avatar for Sheryl99

I created a new Class Library, and want to use the MessageBox.Show function within a procedure in the class. Maybe this can't be done? I tried adding "Imports System.Windows.Forms" to the top of the class module, but it won't allow me to use that, either. Here's a simplified version of …

Software Development vb.net
Member Avatar for Sheryl99
0
4K
Member Avatar for mrrko

Hi guys. I will explain the problem I have in my own words. I have to make a program using the Fibonacci numbers, in which the user inputs a number of days and the original size a green crud population, and every 5 days the population changes by fibonacci numbers. …

Software Development c++ ios
Member Avatar for mrrko
0
409
Member Avatar for jeffrey16

can anyone here plz help me with my porblem.. im using VB6, i want to display a message whenever the user will close the window..] can anyone teach me how to code it..

Software Development visual-basic
Member Avatar for abu taher
0
128
Member Avatar for JackDurden

Say you have a class called example: [CODE]class example { int one; int two; };[/CODE] and you use this to get numbers from the user: [CODE]example number; cout<<"enter numbers"<<endl; cin>>number.one>>number.two;[/CODE] and then you call one function to manipulate the numbers and another to do some more manipulation. How do you …

Software Development c++
Member Avatar for Ancient Dragon
0
107
Member Avatar for emotionalone

Hello, I'm trying to simply copy the text from one .txt and create a new one and copying it to a new txt. I'm actually adding more text to that new file but that's not the part I'm having problems with. I could go through the entire .txt with this …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
512
Member Avatar for SitiSlicker

Hello DaniWeb, I am new and I have a problem thats driving me nuts, i'm sure its very simple to an experienced CS but I'm attempting to execute a couple conditional statements. basically, i am trying to write a program that determines the amount of shipping costs to inform the …

Software Development python
Member Avatar for sneekula
0
2K
Member Avatar for padawan

Hi everyone, I have a problem with debugging a dll file. I'm trying to convert the epanet2.dll (EPANET: a free source-coded water resource program) into a 64-bit dll file for my project. When compiling, errors coding LNK2001 and LNK2019 occurred many times. error LNK2001: unresolved external symbol ... error LNK2001: …

Software Development c++ linked-list storage visual-studio
Member Avatar for Dave Sinkula
0
305
Member Avatar for scottlpool2003

Hi guys... I'm a student having a bit of trouble with my assignment. The assignment is to make a program for a phone company to calculate call durations, costs, discounts etc... I need the user to input call start time in 24 hour style... and end time. In order to …

Software Development c++
Member Avatar for emotionalone
0
123
Member Avatar for Se7Olutionyg

[code=cplusplus] // file celsius to F // calculate from c to f in the depth st #include <iostream> using namespace std; float celsiusAtDepth (float); float CtoF (float); int main () { float depth; float tempF, tempC; // get depth cout<< " Enter depth in Km " ; cin>> depth; //calculate …

Software Development c++
Member Avatar for skatamatic
0
91
Member Avatar for Andymoore88

I was wondering if anyone out there had a good suggestion on an Installer program. I have a few friends that are interested in how I'm doing in my programming self-education, so I'd like to send them examples of what I've done. Now I've managed to use py2exe to create …

Software Development python
Member Avatar for Andymoore88
0
105
Member Avatar for xb211

Hi All, I'm currently working on my project (which try to perform degree reduction for a Bezier curve). I've spent a long time trying to find library or useful class to help me perform matrix inversion. For example degree reduction in Bezier's curve (let's say from degree 3 to degree …

Software Development c++ matrix-multiplication opengl
Member Avatar for xb211
0
145
Member Avatar for serkan sendur

i am pretty new to assembly language and i wonder what is difference between the final binary output of the same program written in c and written in an assembly if they do exactly the same thing. if the binary output is the same then why use assembly language? if …

Software Development assembly c c# c++
Member Avatar for Ancient Dragon
0
333
Member Avatar for cam875

I am getting a windows error when I run my assembly program. It only happens when the user enters what is supposed to be entered, which in this case is the character 2. I am using FASM x86 architecture. [ICODE]include 'win32ax.inc' .data inchar DB ? numread DD ? inHandle DD …

Software Development assembly operating-system
0
143
Member Avatar for vrga

I need help deleting from a vector. My program is about the josephus problem. It has to delete soldiers. It does deletes the first one but then it stops. Thank you!

Software Development c++
Member Avatar for Sky Diploma
0
126
Member Avatar for Devlan

A real simple one, just a question of understanding the python syntax I suppose. I won't waste your time by throwing the whole program at you, I think my question can be boiled down to this: [ICODE] a = ["cat"] b = ["bark"] wordinsa = input("Word: ") a.append(wordinsa) wordinsb = …

Software Development python
Member Avatar for Devlan
0
168
Member Avatar for joed13k1941

This is my program: There is a secret government organization called PIB which only accepts recruits who fit their criteria (shown below). If you fit any of the combinations of criteria, then you can apply to work for PIB. Write a program which asks the user appropriate questions (ask all …

Software Development c++
Member Avatar for Sci@phy
0
87
Member Avatar for Panithuli

[COLOR="Green"][B] have to do this The constructor for the class should set the initial fuel level to 0.0 L (assume all fuel amounts are in litres). You'll need to use a Private Double class field. " [ICODE]Private FuelLevel = 0.0 As Double[/ICODE]........when i do like this i that error message.....[/B][/COLOR]

Software Development visual-basic
Member Avatar for Panithuli
0
81
Member Avatar for Trekker182

I have this project where I have push characters onto a stack from phrase until either one of the characters in encrypt1 is encountered that's also in the the phase. Then, it is supposed to stop and pop and print off the characters in the stack until it gets to …

Software Development c++
Member Avatar for Trekker182
0
137
Member Avatar for IKnowNothin'

If anyone has an idea for a program written in Java please reply. This is about my degree in cs so I would like to hear many ideas. I've seen many projects and haven't find something :-/ Thanks in advance Alex...

Software Development java
Member Avatar for IKnowNothin'
0
288
Member Avatar for rysin

Ive began a book to learn c++ and in the first chapter I ran across my first question(thats never good...). In the book it says I should use this same template in every single c++ program I EVER make. The template is [CODE] #include <cstdio> #include <cstdlib> #include <iostream> using …

Software Development c c# c++ python
Member Avatar for rysin
0
104
Member Avatar for laspal

Hi, I am having the problem in nested list. Here is the code : [code=python]data1= [['Contacts',company.contacts.count() ], ['Notes', company.notes.count()], ['Met by', ], ['Industry', industry], ['Financial Investors', '31']] for item in metlist: data1[2].insert(1,item) [/code] Basically I am trying to insert the value for Met by in [ 'Met by', metlist->value] I …

Software Development python
Member Avatar for vegaseat
0
296
Member Avatar for gangsta1903

a generalized list structure can be declared in C as follows: [code=C++] typedef struct element{ bool sign; union{ char data; element* link; }; element* link; } [/code] as you see in this approach an element can have either "data" or "element* link"(the last link is included in every element) and …

Software Development data-structure java
Member Avatar for gangsta1903
0
1K
Member Avatar for bops

Hey everyone, I was just wondering if there is a method as part of the JTree class that would accept a parameter such as an instance of DefaultMutableTreeNode and change the content of the tree with that tree node as the root. I am looking for a method of doing …

Software Development java
Member Avatar for Ezzaral
0
142
Member Avatar for lastmoh1989

i am doing HND in computing and i need to develop a software project; the problem that i have no idea what can i develop. actually if i can find a real world case or areal customer ,i will develop it for him for free; but he should not be …

Software Development java
Member Avatar for stultuske
0
174
Member Avatar for Andymoore88

Okay, continuing on with my little System access project I've been working on. Now I've gotten three different Python files in this Project. I'm using a main menu .py to offer option for the user to select from. Each option then opens one of the other two .py files and …

Software Development python
Member Avatar for Andymoore88
0
201
Member Avatar for wqzerboom

The requirements are actually simple, just asking to sort a few, say 10, 20 or so, intergers in ascending order. However, array and pointers are not allowed to be used, and just the fundamental knowledge about flow control are permitted. The hints are as follows: 1. Initialize a variable F …

Software Development c++
Member Avatar for rhoit
0
187

The End.