Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Apr 2011
Function not Inlined when code is return different files??
Presently i am using linux ubuntu 10.10 version,working with programmin on Netbeans IDE.
I had a piece of sample code,addition of two numbers.
I executed this code in 2 ways.
First writing the whole code in a single file and declared a function as INLINE
Secong i took 3 files main.c,add.c and add.h for the same and decalred a funtion INLINE.
Now the problem is that the functionality of inline works good for the first but not
with tha second way.
I could not fix this and not able to trace the root cause.
can you please suggest me regarding this issue to fix it?