mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			417 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			417 B
		
	
	
	
		
			Text
		
	
	
	
	
	
Small example using the c++ bindings.
 | 
						|
To build the example execute
 | 
						|
   make examples
 | 
						|
in the build directory.
 | 
						|
 | 
						|
This command will create the executable cpp_example.
 | 
						|
On Windows, you can just execute it.
 | 
						|
On macOS and Linux, you must install z3 first using
 | 
						|
   sudo make install
 | 
						|
OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (macOS) with the build directory. You need that to be able to find the Z3 shared library.
 |