This is because of unneeded use of virtual inheritance. Do not use virtual inheritance unless you absolutely need to do so. Even in those cases think about changing your program design first. http://www.cprogramming.com/tutorial/virtual_inheritance.html
read Delegating to a sister class part.
Remove virtual inheritance from all of your classes. Why did you make it virtual in first place? There is many special rules regarding virtual inheritance and it is better to not touch it unless you know exactly what and why are you doing this and what consequences will follow.
--------------------Configuration: Project - Win32 Debug--------------------
Compiling...
Project.cpp
D:\VC 6.0\Project\Project.cpp(414) : error C2385: 'll::creditCardType' is ambiguous
D:\VC 6.0\Project\Project.cpp(414) : warning C4385: could be the 'creditCardType' in base 'creditCard' of base 'masterCard' of class 'll'
D:\VC 6.0\Project\Project.cpp(414) : warning C4385: or the 'creditCardType' in base 'creditCard' of base 'visaCard' of class 'll'
D:\VC 6.0\Project\Project.cpp(414) : warning C4385: or the 'creditCardType' in base 'creditCard' of base 'localCard' of class 'll'
Error executing cl.exe.
Project.obj - 1 error(s), 3 warning(s)
I don't see any way out of it. I'm badly STUCK.
It seems to be necessary to me to use virtual inheritance. How will you do it without virtual inheritance?
Several problems:
first, virtual inheritance in ll class (and another one)
second, you inherit from all classes in ll, which you should never do. It is mark of bad design which will never work. Container classes should not be inherited from objects they contain. In your case it is better to use std::list for that.