parrot_rabbit4u wrote:
> --- In [email protected], senthil kumar <[EMAIL PROTECTED]> 
> wrote:
>> #Iinclude<iostream.h>
>>   #include<conio.h>
>>   main()
>>   {
>>    int a,b,c;
>>   clrscr();
>>   cout<<"enter the number:";
>>   cin>>a>>b;
>>   c=a-(-b);
>>   cout<<"The add value:"<<c;
>>   getch();
>>   return 0;
>>   }
>>
>> ur program will definetly work with out using '+' operator.
> thanks for ur this idea.

This is fundamental math.  Of the lightweight elementary school 'Algebra 
I' variety.  I still don't know why the OP thought they needed to do 
this...intentionally making math more complex is likely to reduce the 
effectiveness of the C/C++ compiler's ability to optimize code.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to