Posts by Alexandre Gomes • 321 points
19 posts
-
1
votes1
answer229
viewsQ: Javascript onclick/addeventlistener with no anonymous function
I have a problem with javascript onclick/addeventlistener, I have tried several different ways and no results were found, I wanted my click event to be equal to a function already declared and not…
-
1
votes1
answer138
viewsQ: Javascript Runtime Exception
I’m trying to make a dynamic file call where I have one input that receives a name and is loaded a file with this name in the <source> in js, when the person enters a file name that does not…
-
2
votes1
answer911
viewsQ: Mysql Does Not Connect by getConnection() Netbeans Java
I’ve been trying for a while to get my Mysql database connected by getConnection(). I’ve tried several different ways, to put the name of the bank, I’ve seen several tutorials including tutorials…
-
4
votes2
answers1128
viewsQ: What does an abstract class type variable mean?
Studying Pattern design I saw something that I didn’t understand very well what it means, when we have a variable of the type of an abstract class what it means exactly? Example: ClasseAbstrata…
-
2
votes2
answers1898
viewsQ: Message to user after header change
I have a small problem with PHP, I need to redirect the user, but I wanted to notify you of what happened, I redirect you with the header(), but if I try to send something before the header failure,…
-
-5
votes1
answer105
viewsQ: Mysql not creating the PHP content line
When I try to pass values to my database I don’t find them in it, I’m using php with MAMP. Follows the code: <?php error_reporting(E_ALL);ini_set('display_errors', 1); $host = "localhost:8889";…
-
2
votes1
answer159
viewsQ: Graphic made with imperfection Javascript canvas
Guys I made a normal Cartesian plan here on a canvas, but with a problem, the chart is not perfectly centered and this is bothering me a bit, I know q I can change the position manually in code, but…
-
0
votes1
answer204
viewsQ: Mysql beginner with a lot of difficulty
Guys, I wanted to start learning MySQL, but I’m not getting started, I don’t understand the software or anything, the web tutorials don’t talk about MySQL in Mac, only in Windows. I downloaded the…
-
0
votes0
answers36
viewsQ: Location in php not working
Guys, I was watching a video lesson here very simple, prof put a code in php in html, I put exactly what it is because and it’s not working at all, I’ve tested in other browsers and tbm didn’t work,…
-
0
votes1
answer797
viewsQ: ASCII value for char or Int value for ASCII C
Guys, I need to search for a value found by a rand in a file, I’m having a lot of problems because the rand returns me an integer and to fetch character in a file the fgetc me returns an integer…
-
0
votes1
answer152
viewsQ: Using Unicode in a variable char
Guys like me to use unicode in C? I just don’t know how to store the 2 bytes of one unicode on a char, that’s all, someone knows how?
-
2
votes1
answer153
viewsQ: Removal item in chained list C
Guys I’m having a very annoying little problem, I’m implementing a simple A* . When I move the already checked item to the closed list and move the item from the open list, it is giving undeclared…
-
2
votes2
answers208
viewsQ: Problem with threaded list pointer offset
I’ve had a problem with the shift of pointers in my code for a few days now. I try to make that if the point of my object on the screen is greater than a value, offset this object from memory, but…
-
0
votes0
answers986
viewsQ: Phpstorm, php interpreter is not configured - wrong folder!
Guys I was doing some naughty codes on php and everything was going well, until I started to do integration html with php, I put the file html in the same folder as php, in the right folder of mine…
-
0
votes3
answers1963
viewsQ: Javascript, save the initial values of the variables
Guys, I’m making a little code in JS, in it I need to save the initial values of my html. I have a paragraph field(<p>) that starts in a way, I wanted to save the initial state of this…
-
0
votes2
answers376
viewsQ: How to include "time" library in the compiler?
I am compiling in C on my Mac by terminal, this all a wonder, the only problem is that when I need to call a new library I don’t know what the command to call it by terminal. Ex: #include…
-
1
votes1
answer8204
viewsQ: Cannot execute Binary file: Exec format error
I’m trying to run a code on Linux and I’m getting this message: Cannot execute Binary file: Exec format error I did some research and this could be because of the structure of my pc, but from what I…
-
2
votes2
answers295
viewsQ: Problem with malloc
People, doing a small program that given any number, enter a function that divides the number into a vector and returns the number of decimal places (number of positions) that the vector has. In all…
-
0
votes1
answer253
viewsQ: Problem with Allegro image call by Mac C terminal
Guys have a problem here, I’m playing a game using the Allegro, I am compiling by the terminal and ta ok, there is only one however, when I load an image of the fault when loading the image, the…