Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to write the function DIV (/) in C???

Status
Not open for further replies.

themavrik75

Programmer
Dec 7, 2001
2
0
0
US
i want to replace the /(division)operator in my code, so that i don't have library function calls. how can i do this in C? does someone have this piece of code??
 
It´s no necessary replace the slash (/) operator, because this operator no need any library. When you use the slash operator to divide two integer numbers the result is an integer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top