Posts by Renan Rosa • 46 points
6 posts
-
0
votes1
answer32
viewsA: Compile error gmock
After hours of headbanging, I solved the problem by simply changing the CMakeLists.txt at the root of the: cmake_minimum_required(VERSION 3.12) project(Testing) set(CMAKE_CXX_STANDARD 14)…
-
0
votes1
answer32
viewsQ: Compile error gmock
Good evening, I’m practiced testing on c++ used the google gtest/gmock testing library. Everything is working perfectly well with gtest, but I cannot compile in any way when I try to use gmock. To…
-
1
votes1
answer1254
viewsA: Solve family tree with PROLOG
Running the first query got the following answer: ?- pai(jurandir,willian). false. ?- pai(willian,jurandir). true . ?- pai(willian,Y). Y = jurandir . Let’s understand what’s going on before we…
prologanswered Renan Rosa 46 -
1
votes1
answer326
viewsA: How to prove the amount of leaves of this tree by induction?
Good afternoon, there are several approaches to solving this problem. I couldn’t solve it directly, which may have left the answer a little fuzzy (I hope not). I hope it helps you get a better look…
answered Renan Rosa 46 -
-1
votes1
answer1890
viewsQ: How to resolve ERROR 1452 (23000) in mysql
I’m trying to popular the following database: DROP DATABASE IF EXISTS library; CREATE DATABASE library; USE library; CREATE TABLE AUTHOR ( NAME VARCHAR(50) NOT NULL, COUNTRY VARCHAR(50) NOT NULL,…
mysqlasked Renan Rosa 46 -
1
votes0
answers143
viewsQ: Error while trying to compile aspect in Intellij
This is my first question on this site, I will try to be succinct. I’m working with aspect-oriented programming, already working using Eclipse. However, while trying to do the same using the…