Posts by Héliton Martins • 361 points
12 posts
-
0
votes1
answer31
viewsA: How to read and print an entire word in C++
The standard reading form of stdin it’s just with the library <string>: #include<iostream> #include<string> int main() { std::string variavel; std::cin >> variavel; std::cout…
-
9
votes1
answer55
viewsA: What is the default for naming modules (fonts) in Python?
Yes. Python has several style guides called PEP (Python Enhancement Proposals). In particular, PEP 8 brings details on how to correctly name each type of identifier. Reads: Modules should have…
-
1
votes1
answer32
viewsA: Doubt on locating array element
There is a problem at the moment that you are building the array. At this point, you create a new index in the array $valores and, to it, assigns an array. This array, in turn, contains a single…
phpanswered Héliton Martins 361 -
0
votes1
answer14
viewsA: Pygtk + Glade: No handler button fires click another button
I don’t know exactly why, but adding an ID to each button solved the problem. Then the buttons became: <object class="GtkButton" id="um_id_semantico_1"> <property name="label"…
-
1
votes1
answer233
viewsA: PHP - "Notice: Undefined variable"
This is because you are using variables that you are not sure exist (because you only declare them when the $_POST contains the keys you want, but uses them regardless of whether you have declared…
-
0
votes1
answer14
viewsQ: Pygtk + Glade: No handler button fires click another button
Hello, everyone! I am developing a Python application using Pygtk+ 3.0 with Glade 3.22.2 (and Python 3.8.1). Everything was working fine, but suddenly my program started to show strange behavior. I…
-
2
votes1
answer49
viewsA: How to change the contents of a variable every 30 minutes
Good night. I don’t know if I understand this very well, but I believe that you want to implement a kind of shift for the support emails, so every 30 minutes, it’s the other one that goes into…
phpanswered Héliton Martins 361 -
1
votes2
answers91
viewsA: part of my php code is displayed in the browser when I do not open with localhost. How do I resolve?
Hello. This is the expected behavior. A PHP file is a common text file, and should be understood as such by the browser. The fact that part of your code was interpreted when accessed as a file shows…
-
0
votes1
answer108
viewsA: How to make a Submit that Zera an accountant
Do you really need the button to be a Submit? Because you can control the click on any element for that. Anyway, it follows. <form id="btn" method="get"> <input type="submit" name="submit"…
-
0
votes1
answer177
viewsA: Section above the video, using toggle
Hello! In this case, what is missing is probably an instruction as to the order of the content layers on the page. This information is given through the z-index. Try to change the following:…
-
1
votes1
answer236
viewsQ: Control User Agent to call iframe
Good morning!! I was doing some things here and decided to put an iframe on the page, but it was loaded with the User Agent from some other browser. Just to understand the behavior of the site. This…
-
1
votes1
answer102
viewsA: When is the real need to use Javascript?
No, javascript will never be replaced by CSS simply because it’s two different worlds. CSS is not a programming language. Instead of talking, talking and talking here a lot of things and not passing…