Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
subtracting
- Page 1
Re: Something behind array and pointer
Programming
Software Development
10 Years Ago
by rubberman
>
Subtracting
two pointers returns the difference between the addresses, not another address. But
subtracting
an unsigned long integer from an address should result in another address. Whether or not it is a *valid* address depends... :-)
Re: How do I calculate time interval between to dates in js
Programming
Web Development
16 Years Ago
by MidiMagic
Subtracting
two date variables gives the difference between them, but in an internal representation. getTime will then give the number of milliseconds between the two times. Divide that value by 86400000 to get the difference in days. Real division will give days and portions of days.
Re: what method to use to search integers in string
Programming
Software Development
13 Years Ago
by NormR1
subtracting
'0' [B]from[/B] the numeric char What does your code do? '0' - names.charAt(i);
Re: Something behind array and pointer
Programming
Software Development
10 Years Ago
by ram619
>
Subtracting
two pointers returns the difference between the addresses, not another address. But even then here, the difference would be 4 (as its int) ?
Subtracting one array from another.
Programming
Software Development
13 Years Ago
by frogboy77
… carrying over. I have no idea how to go about
subtracting
one from another. Basically i want to do simple calculations…
subtracting lists recursively
Programming
Software Development
13 Years Ago
by jrp370
so i know how to add the numbers in a list recursively [CODE] def ListSum(list): if list = []: return 0 else: return list[0] + ListSum(list[1:]) [/CODE] but how would i go about
subtracting
a list from a list using recursion? does anyone know how/ where i could go to learn how to do so thanks in advance
Re: subtracting lists recursively
Programming
Software Development
13 Years Ago
by griswolf
I don't know what you mean by '
subtracting
lists'. With your[icode]listSum()[/icode]you implicitly start with …
Re: Subtracting a year by using _strdate?
Programming
Software Development
14 Years Ago
by Dave Sinkula
… go with a few standard functions. Then the math of
subtracting
years is pretty simple. [code]#include <iostream> #include…
Re: Subtracting a year by using _strdate?
Programming
Software Development
14 Years Ago
by DavidDan
… go with a few standard functions. Then the math of
subtracting
years is pretty simple. [code]#include <iostream> #include…
Re: Subtracting numbers in two different strings
Programming
Software Development
12 Years Ago
by Nekawa
…] = toint1[0]; --len5; --len1; --len2; } ans[len4] = '\0'; printf("
Subtracting
num1 from num2: %s\n",ans); system("PAUSE…
Private / Public - Subtracting Variables
Programming
Software Development
13 Years Ago
by Mr.B
…' one another. I can write the values in the page,
subtracting
one from another, but in the CODE BEHIND, I'm… [/INDENT] End Sub Something3 isn't working. It's not
Subtracting
the values, I get a 0. I'm used to…
Re: Private / Public - Subtracting Variables
Programming
Software Development
13 Years Ago
by Mr.B
…' one another. I can write the values in the page,
subtracting
one from another, but in the CODE BEHIND, I'm… [/INDENT] End Sub Something3 isn't working. It's not
Subtracting
the values, I get a 0. I'm used to…
Help Subtracting Two Big Ints !
Programming
Software Development
12 Years Ago
by pwnerboy
…;< endl; return 0; }[/CODE] I'm having problems
subtracting
. My
subtracting
function is in the bigInt.cpp file at the very…
Re: Private / Public - Subtracting Variables
Programming
Software Development
13 Years Ago
by rickymartin3
i understand your problem, the problem is while you are declaring the variables you are initializing with 0. then you are
subtracting
something3 = 0 - 0 it gives 0 to you. it is your code problem. if you want more explanation then give your full code.
Adding and Subtracting Via Doubly Linked Lists
Programming
Software Development
14 Years Ago
by jralexander137
I'm adding and
subtracting
two numbers stored in doubly linked lists. I'm not …
Trouble subtracting
Programming
Software Development
14 Years Ago
by Ruffio1981
… division of these numbers. The problem is that I'm
subtracting
in columns but don't know how to add 10…
Re: Trouble subtracting
Programming
Software Development
14 Years Ago
by pac-man
Hi there, Why not just create 2 functions, one for adding and one for
subtracting
? That way, you can add/subtract the relevant number once you do have it. Something like: [CODE] // Assuming you want to return an int... int add(int &value, int addition) { value = value + addition; return value; } [/CODE]
Re: C++ Adding/Subtracting/Multipying/Dividing Two Fractions *HELP*
Programming
Software Development
13 Years Ago
by StopWatch
…. These might help [url]http://patrickjmt.com/fractions-adding-and-
subtracting
/[/url] [url]http://patrickjmt.com/fractions-%e2%80%93-multiplying…
Applet -more than one event handler
Programming
Software Development
15 Years Ago
by Natique
…(""); } } //listener for adding and
subtracting
buttons static class operatorHandler implements ActionListener { public void …;value here ",10); adding.addActionListener(operation);
subtracting
.addActionListener(operation); clearbutton.addActionListener(clearing); add(resultLabel); add…
Large Integer Calculator using linked-list
Programming
Software Development
14 Years Ago
by mimio134
…represent two such numbers for the purpose of adding &
subtracting
them, we need 2 similar linked lists, each list … and store as them into the list. Adding and
Subtracting
Big Integers After you have the two large integers stored…result in new list EndIf End for The algorithm for
subtracting
is as follows: For each object in list do …
What am I doing wrong.
Programming
Software Development
16 Years Ago
by Carwy
…lt;< " = "; sum.print(); } break; case 's': //
Subtracting
them. { NumbersC sum = number1 - number2; number1.print(); cout <<… into total.num[y] //this is done by
subtracting
y from t and putting the result back in … into total.num[y] //this is done by
subtracting
y from t and putting the result back in …
Please some one write this program
Programming
Software Development
18 Years Ago
by shahid
… integer 20 with object using statement: obj= 20 * obj ; 8000
Subtracting
20 from object using statement: obj= obj - 20 ; 7980…
please someone help me urgent
Programming
Software Development
18 Years Ago
by shahid
… integer 20 with object using statement: obj= 20 * obj ; 8000
Subtracting
20 from object using statement: obj= obj - 20 ; 7980…
Re: please someone help me urgent
Programming
Software Development
18 Years Ago
by shahid
… with object using statement: obj= 20 * obj ; > 8000 >
Subtracting
20 from object using statement: obj= obj - 20 ; > 7980… >
Subtracting
object from 10 using statement: obj= 10 - obj ; > -7970…
Although it's not really important...
Programming
Software Development
15 Years Ago
by Alex Edwards
…... it didn't work. I would map out a number
subtracting
from the other to see if there is some kind… without any thorough research. I think I'll try continuously
subtracting
numbers to see if there is some kind of pattern…
c++ test program
Programming
Software Development
15 Years Ago
by jimjohnson123
… added together are: "; cin >> addedTotal; return addedTotal; } //
Subtracting
the two numbers together int Subtract(int num1, int num2…) { int subtractedTotal; subtractedTotal = num1 - num2; cout << "
Subtracting
the first and second number give a difference of: "…
Re: c++ test program
Programming
Software Development
15 Years Ago
by jimjohnson123
… added together are: "; cin >> addedTotal; return addedTotal; } //
Subtracting
the two numbers together int Subtract(int num1, int num2…) { int subtractedTotal; subtractedTotal = num1 - num2; cout << "
Subtracting
the first and second number give a difference of: "…
Re: c++ test program
Programming
Software Development
15 Years Ago
by jimjohnson123
… added together are: "; cin >> addedTotal; return addedTotal; } //
Subtracting
the two numbers together int Arithmetic::Subtract(int num1, int… num2) { int subtractedTotal; subtractedTotal = num1 - num2; cout << "
Subtracting
the first and second number give a difference of: "…
Re: c++ test program
Programming
Software Development
15 Years Ago
by jimjohnson123
… added together are: "; cin >> addedTotal; return addedTotal; } //
Subtracting
the two numbers together int Subtract(int num1, int num2…) { int subtractedTotal; subtractedTotal = num1 - num2; cout << "
Subtracting
the first and second number give a difference of: "…
friend, copy constructor, and destructor
Programming
Software Development
15 Years Ago
by jimjohnson123
… numbers added together are: " << addedTotal; return addedTotal; } //
Subtracting
the two numbers together int Subtract(int num1, int num2…; cout << endl << endl << "
Subtracting
the first and second number give a difference of: "…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC