Przeglądaj źródła

example: Use correct arthimetic display

Ole Krüger 10 lat temu
rodzic
commit
313b7a2c2b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/stack.cpp

+ 1 - 1
examples/stack.cpp

@@ -25,7 +25,7 @@ int main() {
 	std::cout << "c = " << Value<double>::read(state, 3) << std::endl;
 
 	// ... which is a little cumbersome. Instead we might apply a fitting function to our stack.
-	std::cout << "a + b + c = "
+	std::cout << "(a + b) * c = "
 	          << apply(state, sum3)
 	          << std::endl;