Posts by zepolik • 127 points
6 posts
-
3
votes1
answer36
viewsQ: If the class ofstream is to write to files, ifstream to read and fstream to both cases, why not always use fstream at once?
Even if we wanted to read, write, modify, create, delete files, or other operations, we could no longer use the class fstream? What problems could they generate if you don’t use those specific?…
-
2
votes1
answer39
views -
0
votes1
answer74
viewsQ: I’m trying to understand these codes, but it’s not making sense to me. Can anyone help me? I’m a beginner
The idea is that the Javascript code communicates with the Python code calling a function and providing arguments, but exactly how it works does not understand very well. Javascript code: set_wheels…
-
0
votes0
answers49
viewsQ: How could I provide a set of values of a function in Javascript for a while from Python?
The idea is that while running a while loop in Python code, it will receive a value array of a function in Javascript and will work on those values. Example: In the Python file (in this case, the…
-
0
votes2
answers21
viewsQ: Problem using loop addeventlistener
After creating a series of tags <button>, the idea was to change the color button if the user hovers the mouse on any of them. The problem is that it doesn’t work and I don’t know why. Can…
-
5
votes1
answer62
viewsQ: Copied objects stay at different addresses?
When I have for example: $abc = new ZZZ(); $mno = $abc; The object $mno is the same as $abc? That is, do they have "memory addresses" alike? How do I print this "memory address"?…