Interesting questions
-
0
votes0
answers28
viewsVBA System User Input
Good afternoon, my friends. I arose a demand here in the company in which I do not understand much that would be in VBA I am sql programmer and went to learn a bit of vba to be able to automatically…
-
1
votes1
answer128
viewsCalling multiple methods in the same instance of a PHP class
I wonder how I can do that: Class::methodA()->methodB()->methodC()...; I have a View class (MVC) in which I step parameters to create variables (assign). Currently it looks like this:…
-
1
votes1
answer255
viewsStruct and matrix, how to relate?
I’m doing a code for a college paper and a question has arisen about how to assign values to a matrix of the type struct. struct posicao { int x; int y; }; struct posicao inimigo_val[5][15] = {…
-
0
votes0
answers369
viewsHow to divide the cart into 2 or more packages?
As my e-commerce will only work with the post office, I need the cart to be divided into more than 1 package, today I use the Post Office plugin created by Claudio (excellent plugin), where the same…
-
0
votes1
answer143
viewsCSS for A and B messages
I have the following span with messages exchanged between a user A and a B. How can I configure these spans to appear each on your line. The way I got the style of span it overwrites messages on the…
cssasked 10 years, 9 months ago David Concha 539 -
0
votes1
answer61
viewsinsert names neatly into a list, I’m not aware of this
//function of inserting there; there only does it with the 3 first names, the others it does not order Aluno *cad(Aluno *aluno) { Aluno *aux; while(1) { aux = aluno; if(aux->prox == NULL) { Aluno…
-
-2
votes1
answer35
viewsWhy doesn’t the console return anything?
Hello, I’m creating a pro Chrome extension to activate some functions via checkbox. As an example for testing, I put that if the result was true, I would have to show checked in the console.log, the…
-
0
votes1
answer438
viewsAdmob - advertising videos
Guys, I’m thinking about creating an app whose monetization form is those ads in videos that the user watches to win something in the app, know the videos Rewards like the Angry Birds, actually, I’m…
-
0
votes0
answers53
views -
1
votes1
answer4652
viewsChange color of a given cell
I have a DataGridView which has 8 columns (days of the week) and x rows (hours of the day). I need to paint just one cell, getting like this: how could I do that? I already have the following…
-
19
votes2
answers2430
viewsUsing && e || instead of "if" and "Else"
Lately I’ve seen some codes that use && and || to replace if and else , and even to do checks with less code. I’m using this technique quite smoothly so far. Follow an example code: const…
-
1
votes2
answers105
viewsMore appropriate way to name a list
Hello I would like to ask a question about attribute names. What would be the most appropriate way to name a list? Let’s assume that I have an attribute which is a list of Ufs. What would be the…
-
4
votes2
answers299
viewsData Modeling: Integrity x Performance
In the company that I work for, there’s a data architecture that I’ve never seen before, and I’d like to know if this is common, or if it’s a new market trend. Just to mention the bank is Oracle.…
-
0
votes1
answer33
viewsGraph is generated but does not show data, matplotlib
I’m a beginner in Python, I’m not finding the reason for the graph to be generated blank. How can I declare this for plt?…
-
1
votes2
answers1288
viewsTurn string into integer in PHP
I have two classes communicating. One of them returns a getter with the month typed in the form, and the other class receives this getter within the cal_days_in_month() function. The problem is that…
-
0
votes3
answers136
viewsProblems with result accuracy
I’m having a problem where I did a program to calculate a student’s average, where the condition is: MEAN = NOTA1 + NOTA2/2 (the result should be >= 7 for the student to pass) The program is…
c#asked 9 years, 2 months ago Luciano Brandão 21 -
0
votes1
answer94
viewsHow to import CSV files from a same level folder (and/or above) in Python?
I have already searched several topics here, unsuccessfully however. So, if there is already an equal question, please forgive me and indicate a solution. My project is articulated as follows:…
-
1
votes1
answer360
viewsHow to format minutes using Java Localdatetime
I am beginner in Java and my doubt is in class LocalDateTime. The time is recorded at a certain point in the program. When I have write on the screen, appears like this: And I need you to come up…
-
1
votes0
answers78
viewsOptimization of SQL query time
I have a database that stores precipitation marked by various sensors on certain dates and times over the course of a year. I am making a query, to search all records marked by a single sensor, with…
-
0
votes1
answer82
viewsHow to start Python code correctly
I’m still learning Python and once I saw a guy starting a Python code with something ____init___, with a if ___init___ ... == True. I asked him why he started the code in such a way, he told me that…
pythonasked 8 years, 6 months ago Lucca Gontijo 9