Posts by Cayo Eduardo Silveira • 107 points
6 posts
-
3
votes1
answer118
viewsQ: Compiling an inherited class in C++ gives constructor error
I need to create a class for chess pieces. I created the class Peca and her derivative, Bispo. When I try to compile the bishop class, the compiler returns reset error. How can I resolve? #ifndef…
-
0
votes1
answer260
viewsQ: Problem with bootstrap
I recently made a page using Bootstrap, and hosted it at Hostgator. When I see the live preview in Brackets or enter the hosted page, they are equal and no problem, this on my pc. However, when…
-
4
votes2
answers2210
viewsQ: How to concatenate a char into a string?
I’m trying to copy the char E for the component char of my struct No: void push(Pilha* p, char E) { No* novo = (No*)malloc(sizeof(No)); strcpy(novo->simbolo, E); novo->prox = p->topo;…
-
1
votes0
answers47
viewsQ: Problem with Pilha
Good night, you guys! I’m trying to do a 2011 OBI exercise. Here’s the link to it: Exercise OBI 2011- Expressions and found some problems to accomplish it. In short, the exercise provides you with a…
-
1
votes2
answers263
viewsQ: Problem with Php and mysql - Simple login
Good night! I’m making a simple website, in which appears a user box and password that will be sent by form through the method post for the page valida.php. When comparing the user and password…
-
1
votes1
answer35
viewsQ: Problem with a string attribute of an object
Hello! I’m having a problem with a member of the string type of my object. When I do the object.word assignment = "some word", the program even compiles and runs, but when I print the content, it…