Hey steemit and steemians.
lets look at hand hand operator Subtraction (-) program.
Using C++
Program Body:
#include <iostream>
#include <string>
using namespace std;
class damon{
int a;
public:
damon(){
a=0;
}
damon(int b){
a=b;
}
void operator-=(int wolf){
a=a-wolf;
}
void depict(){
cout<<a<<endl;
}
};
int main (){
damon vamp(80);
vamp-=10;
vamp.depict();
return 0;
}
Working:
the object of class is Subtracted it is for single one.
Thanks I hope you liked it
I always upvote and comment your post sir, @learnandgrow, and you always upvote me. you are very good
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for Using #promo-steem tag, Promote steemit by inviting your friends and your family!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Mantap post nya
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
didn't get you?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Tak paham saya?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I dont understand your language...can you speak english
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
What does your status mean?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
let me explain.
I am bioinformatics's student ..we are students those have biological skills as well as computational and programming skills..known as bioinformaticians and scientists ..and I am steemian as you can see..
thats all @zaynfauzie
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You got a 1.73% upvote from @upme requested by: @learnandgrow.
Send at least 1.5 SBD to @upme with a post link in the memo field to receive upvote next round.
To support our activity, please vote for my master @suggeelson, as a STEEM Witness
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit