150 Topics

Member Avatar for
Member Avatar for chris311fan

Hello, I've been assigned to build a calculator using visual studio 2008 or 2010, and I have both...however, I could really use some help on the code. I major in Computer Science however my specialty is virus removal and things like that, NOT programming. is there any way someone could …

Member Avatar for codeorder
0
114
Member Avatar for aslamdoctor

Hi Everyone, I want to develop a tool in which I will input the following details 1.Total Area of your house roof. 1.Direction of the Roof of your house 2.Average Monthly Power Bill 3.Style of the Roof (wood shake, foam, rolled, spanish tile etc) 4.How steep is the Roof slope …

Member Avatar for aslamdoctor
0
229
Member Avatar for Jazerix

Hey there, so im making a calculator to make my life a little bit easier ^^ so far its working well, I just got one problem o.O! If I enter a number with a comma like 0,5 into one of the textboxes and click calculate it will terminate, what can …

Member Avatar for Lusiphur
0
354
Member Avatar for samuel17

Hi All. Wondering if someone can assist me with this code im trying to write. I have to make a small calculation with random variables but the problem i run into is that i have to pass the calculated variable back to the main method and display it that way. …

Member Avatar for samuel17
0
179
Member Avatar for Anil2447

[TEX]This is a small Program i have written to perform the Basic Operations. Here is my code for it. Please suggest to improve more.................[/TEX]3 [CODE] #include <stdio.h> #include <string.h> int main() { char operator; int num1, num2; //char operation[1]={'\0'}; printf("Enter two numbers and operator to perform calculations!...\n"); printf("Enter the operator: …

Member Avatar for Anil2447
0
113
Member Avatar for jwebb

Hello, I'm trying to create a program to calculate the factorial of variable int input. I am using xcode, and it's giving me an error saying "factorial was not declared in this scope" on the line within the else statement. I have found other programs on the internet, but I …

Member Avatar for jwebb
0
658
Member Avatar for aynamohol

Hello advance, developer. Can you give me an open source CMS link. I need a tax calculator like [url]www.taxmatebd.com[/url] Please, Help me to find one php script or CMS link like above website. Thanks Samrat

Member Avatar for aynamohol
0
151
Member Avatar for Rickay

I am fairly new to programming but have been working on putting together a group of functions into one program. It is coming along nicely, but for some reason I can't get the loop on the divisibility function to work properly. When you prompt it to quit to return to …

Member Avatar for jonsca
0
154
Member Avatar for Member 784453

Hi again, I'm back, with another question about my calculator program (which I got to work, yay!) Why does the following program not work (when the one after it does): [CODE] #include <iostream> using namespace std; float x; float y; char z; int add() { cout << x << " …

Member Avatar for Member 784453
0
136
Member Avatar for Member 784453

I decided to just try and make a program that would identify what KIND of expression you entered, not even evaluate it. Just for it to say: “You entered an addition equation. ” when you enter an equation with a value, a plus sign, then another value … and so …

Member Avatar for Member 784453
0
117
Member Avatar for ppotter3

Hello! My name is Page, and I am learning how to code in Java. I am working on a program, and it was homework at one time, but the assignment due date is passed. I would just like to get it going so I can learn from my mistakes, and …

Member Avatar for NormR1
0
690
Member Avatar for gkaykck

Hi I am trying to make my homework about a command line calculator, and i am trying to divide the entered string into small parts and i am trying to use strtok for this. [CODE] #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> struct var { char name[10]; double value; …

Member Avatar for gkaykck
0
590
Member Avatar for TrustyTony

This function I did to improve calculator program by eliminating problems with Pythons problem of dividing integer with integer and giving integer division result.

Member Avatar for TrustyTony
0
392
Member Avatar for sohanw

I want to compare web map serving tools for response time when serving a variety of maps. Can you direct me to a free or if not proprietary tool to use for the tool comparison.

Member Avatar for articlewriter1
0
112
Member Avatar for songweaver

Hey guys, I am new to C# and Object Oriented Programming, I got this calculator code which was designed in Visual Studio 2008 and I am getting an error with [CODE]isZero == false[/CODE] [I]"Error Only assignment, call, increment, decrement, and new object expressions can be used as a statement."[/I] Also …

Member Avatar for ddanbe
0
175
Member Avatar for x_mysterious_x

I m trying to make simple windows look like calculator in java script. but when i add two numbers the result is zeroy . can anyone take a look on the code and can tell me where is problem? [CODE] <html> <head> <title></title> <script type="text/javascript"> var res=0;var z="0";var o="o";var y=0;var …

Member Avatar for x_mysterious_x
0
116
Member Avatar for juliesyumyum

Hey! I need to program a simple arithmetic calculator. I've done the parser, infix to postfix, etc. Everything's working with no problems except that it only works with one-digit numbers. For example: 10+2 evaluates to 2 instead of 12. Here's the code of the parser: [CODE] package calculator; public class …

Member Avatar for javaAddict
0
201
Member Avatar for !nsane

Hi! I'm just started learning C++ and i tried to do a calculator for fun. I did not succeed :$ There is an error here that i cannot find... Please, if you find it let me know :icon_smile: [CODE]#include <iostream> #include <cmath> using namespace std; int main() { double num1; …

Member Avatar for !nsane
-1
126
Member Avatar for matharoo

I am making a scientific calculator as an assignment in my class. I am using switch case for all the operators like +-*/ , and I am calling them with a single keyword like '+' for addition and so on. The problem is that when i try to use more …

Member Avatar for ajmacca
0
862
Member Avatar for jennystc

I need help creating a grade calculator in C. I am not allowed to use conditional statements. My problem is that I have written code to determine how many total points the student has, but I cannot think of a way to classify those points as an A (90-100), B …

Member Avatar for abhimanipal
0
187
Member Avatar for Chetan_

This is the first big program I'm gonna do and so far, i have really no idea on how to go about it. Basically, I aim to create a C++ program that:- [LIST=1][*]Takes expressions of the form... [TEX](3+4(5*2)+(3/(sin 62))-4)[/TEX] or similar ones and evaluates them [*]Takes equations of the form …

Member Avatar for Chetan_
2
110
Member Avatar for aakaashjois

Can anyone mention all the math functions i require for making a scientific calculator. I am making a CUI version of it (The one which is opened in cmd).

Member Avatar for kdkanishka
0
116
Member Avatar for TenaciousBey

Hi, I need to create a visual basic program that does all the functions of the calculator program in windows. I need to be able to make the program display the keys pressed by the user on the keypad (only the numbers 0 - 9) and it should also still …

Member Avatar for Romil797
-1
2K
Member Avatar for jennwenn25

Hello, I am very new to all of this and I need a little help. I am supposed to create a simple calculator and here is what I have: [CODE]/* Specification: This program is a simple calculator */ #include "stdafx.h" #include <iostream> using namespace std; namespace calculation{ enum menuOptions {Add, …

Member Avatar for jennwenn25
0
132
Member Avatar for snehil_khanor

Hey.. I wanna make a calculator .. which takes input as a string... example: Input : "1 + 2" Output: 3 "1+2" is passed as a parameter which is in the format of a string. The return value is 3 which an integer format. calculator needs only to perform +,*,-,/ …

Member Avatar for snehil_khanor
0
5K
Member Avatar for drabsch

im making a program that gives you the age of the person that enters there date of birth the code i got at the moment is: Private Sub Command1_Click() Dim age As String age = Month(Now) - Text4.Text If age < 0 Then age = 1 Else age = 0 …

Member Avatar for drabsch
0
2K
Member Avatar for ddanbe

This is the last part. This is the code that sets it al together and lets the parser and scanner do some work. Happy calculating!

0
1K
Member Avatar for ddanbe

Here is the second piece of code. The parser tries to interpret the tokens it gets from the scanner.

0
1K
Member Avatar for vegaseat

Just a small Python program to calculate monthly payments and other costs. I have compared it with some of the calculators available from many of the online mortgage companies, and results seem to match.

2
1K
Member Avatar for ddanbe

Hi all, I have made (just to learn C#) a calculator program, which is working OK. I made a Round button class for it, but the edges of the buttons still look "crispy". I set [B]SmoothingMode [/B]and [B]PixelOffsetMode[/B] to [B]HighQuality[/B] but it seems to have no effect. Is this once …

Member Avatar for emarshah
0
861

The End.