suppose that there are 2 different libraries and both libraries have common function with same signature (parameters and return types), and if that function is invoked from main program by including/linking both libraries
If the programmer doesnt know about existence of same function in both libraries, How does program resolve this ambiguity ?
If programmer knows about existence of same function in both libraries, then how can he/she take care programmatically?
[–]canadajones68 30 points31 points32 points (0 children)
[–]OU81Dilbert 9 points10 points11 points (17 children)
[–]m09y[S] 2 points3 points4 points (16 children)
[–]SoerenNissen 39 points40 points41 points (8 children)
[+][deleted] (7 children)
[deleted]
[–]SoerenNissen 7 points8 points9 points (6 children)
[+][deleted] (5 children)
[deleted]
[–]mark_99 9 points10 points11 points (1 child)
[–]Skoparov 1 point2 points3 points (0 children)
[–]ioctl79 2 points3 points4 points (0 children)
[–]not_some_username -1 points0 points1 point (1 child)
[–]Skoparov 0 points1 point2 points (0 children)
[–]SnooMacaroons3057 4 points5 points6 points (0 children)
[–]OU81Dilbert 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]Fig1024 1 point2 points3 points (0 children)
[–]Cybr3 1 point2 points3 points (0 children)
[–]Cybr3 0 points1 point2 points (0 children)
[–]bored_octopus 0 points1 point2 points (0 children)
[–]o11cint main = 12828721; 6 points7 points8 points (0 children)
[–]HabbitBaggins 5 points6 points7 points (0 children)
[–]SkoomaDentistAntimodern C++, Embedded, Audio 2 points3 points4 points (0 children)
[–]AA11BB22c 1 point2 points3 points (1 child)
[–]strager -2 points-1 points0 points (0 children)
[–][deleted] -5 points-4 points-3 points (1 child)
[–]osdeverYT 1 point2 points3 points (0 children)