Posts by baquelo • 43 points
5 posts
-
0
votes2
answers716
views -
0
votes3
answers4033
viewsA: Undefined reference compiling with g++
I was able to solve the problem by modifying include in the infinite-stack.cpp file. In place of: #include "pilha.h" Placed: #include "pilha.cpp" I don’t quite understand why it worked, but it did.…
-
1
votes3
answers4033
viewsQ: Undefined reference compiling with g++
I usually use g++ to compile my code, but now that I’ve started learning template I cannot compile for anything, the following error appears: g++ -c pilha.cpp pilha-infinita.cpp g++ pilha.o…
-
1
votes2
answers211
viewsQ: How to use a global variable for a link
I’m trying to use $_SERVER['DOCUMENT_ROOT'] to facilitate the use of links where you could call the variable in any directory of the site. To use with the include($pagina_inicial) works, but for…
-
1
votes2
answers266
viewsQ: Insertion in Mysql with PHP works for nothing
I am trying to create a registration page and save user data in Mysql, but it is impossible to do this. I’ve searched the Internet, but apparently my code is correct. SQL code: CREATE SCHEMA IF NOT…