150 Topics
|
|
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 … |
|
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 … |
|
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 … |
|
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. … |
|
[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: … |
|
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 … |
|
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 |
|
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 … |
|
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 << " … |
|
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 … |
|
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 … |
|
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; … |
|
This function I did to improve calculator program by eliminating problems with Pythons problem of dividing integer with integer and giving integer division result. |
|
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. |
|
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 … |
|
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 … |
|
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 … |
|
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; … |
|
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 … |
|
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 … |
|
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 … |
|
|
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). |
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 … |
|
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, … |
|
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 +,*,-,/ … |
|
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 … |
|
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! |
|
Here is the second piece of code. The parser tries to interpret the tokens it gets from the scanner. |
|
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. |
|
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 … |
The End.