Abstract:Based on analyzing the relationship between domains of Visual Prolog and data types of C language, calling conventions of predicates and functions are discussed, a way to program with Visual Prolog and Visual C++ is presented, and a code example for this method is demonstrated in detail.