Posts by Marcielli Oliveira • 1,597 points
45 posts
-
2
votes1
answer166
viewsQ: Change background color when typing a color via v-bind
I am watching a video lesson of Vuejs and did not understand the link of CSS with the class and how the background turns blue or purple according to what is typed. Example: new Vue({ el: '#app',…
-
0
votes0
answers19
viewsQ: Does Jquery not work within a function of the Unite Gallery plugin?
I’m using the plugin Unite Gallery when click the button, open a lightbox and show a video. Follows the HTML <button type="button" class="btn custom-btn-modal"…
-
1
votes3
answers1189
viewsQ: How to structure React Js folders and files?
I’m starting to learn React Js and I’m intending to create a website on it, but I was left with a question. The React Js is the component base, right? I have the App.js where I call my own…
-
1
votes0
answers238
viewsQ: Use a lot ul/li on bootstrap Nav or use links and style in css?
I’m recreating a menu with bootstrap 4.5 for better learning and I was left with a question. I have the following nav for example. The proposal is to recreate this menu in a responsive way with…
-
4
votes1
answer12340
viewsQ: How to clear/remove ALL elements of the javascript array?
I’m creating a javascript calculator for better learning and am having difficulty in remover todos os elementos do array. Know when you click the button "AC" calculator and it removes everything?…
-
1
votes1
answer191
viewsQ: Why would it be interesting to add or remove HTML element from the DOM?
I am starting my studies in Angular 7 and in a class on Structural Directives, I learned that I can add or remove elements HTML of DOM. I understood that there are 3 main, the ngIf, the ngSwitch and…
-
0
votes0
answers51
viewsQ: Duplicate bootstrap files in Adm folder or just reschedule paths?
I developed a website, now I need to create a "ADM" to control it. These are the files from the main website: I created a folder called adm in the same directory as the other files and thought to…
-
2
votes1
answer331
viewsQ: Save entire CSV file to mysql
Goal: Create a program in python that when taking the file data CSV, save to Mysql and generate a chart. What has been done so far: A python program, where it reads the file and prints the data in…
pythonasked Marcielli Oliveira 1,597 -
2
votes1
answer199
viewsQ: How to transform more than one vector into an array using the php language?
I have a file matriz_caminhos.txt with 20 rows and 20 columns, I need to access it and take the data as an array. So far, I just got it to scan the file and return me 20 vectors. Follows the code: .…
-
1
votes2
answers3657
viewsQ: ERR_CONNECTION_REFUSED - Why can’t your phone find the absolute path of files through localhost?
I’m developing a website with framework Bootstrap During development, I came across the problem related to path (path) of folders, images, pages and etc. I was using include to include the header…
-
5
votes2
answers214
viewsQ: How to get the result of the gdialog menu selection in the Shell Script variable?
I’m creating a script simple learning where the user should: Enter number that will be saved in the NUM1 variable Enter a second number that will be saved in the NUM2 variable Choose from the menu…
-
9
votes1
answer364
viewsQ: Identical sign "===" is only used in PHP? Why?
During my studies in C and Java, I always came across the sign "=" of attribution and the sign "==" being of equality. However, I am studying PHP now and came across the sign "===" of identical. My…
-
0
votes1
answer165
viewsQ: How to replace a string letter when it is masked?
I’m creating a hangman’s game for further learning of programming logic. 1- I masked the textfield with *** so that the user cannot see the word. 2- In my example, I created 3 buttons, being…
-
3
votes1
answer571
viewsQ: How to change the Jtable header background without removing the edge?
I’m trying to change the color of the background header of JTable. With this code I got: public Principal() throws UnsupportedLookAndFeelException { initComponents();…
-
17
votes2
answers319
viewsQ: Why are the other types of variables not replaced by Dynamic in C#?
I was studying C# and I came across a type of variable dynamic, which, as I understand it, accepts any value I enter. Unlike other variables, for example: If I declare how int, I have to type one…
-
4
votes2
answers525
viewsQ: Nullpointerexception in java. Save image in bin folder for the software to run error-free?
I’m developing a project in java and placing images in jLabels, however, every time I run the program, it appears a message "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException"…
-
2
votes1
answer794
viewsA: Which Scene Builder container can I use to make my desktop application responsive?
1° Step: Create the design in Scene Builder To make the application responsive, I created an Anchorpane, inside this Anchorpane I inserted a Pane and put as id="PaneTopoTela". This Pane (child…
-
2
votes1
answer794
viewsQ: Which Scene Builder container can I use to make my desktop application responsive?
I’m starting to study Javafx and I have a question. Which Scene Builder container can I use to make my desktop application be responsive? The only container that came close to what I wanted was…
-
0
votes1
answer852
viewsQ: Close a jInternalFrame before Open another
I’m doing a browser project (where I create the "pages" myself in the netbeans design - All offline) just to learn on vacation. However I am with a doubt, I believe it is simple but as I am starting…
-
2
votes1
answer239
viewsQ: Exception in thread "main" java.lang.Nullpointerexception: Calculator
I started studying Object Orientation and decided to make a simple calculator program. At the moment I just made the sum to see if the way I was doing is right. Follows the code: package…
-
1
votes0
answers216
viewsQ: Is it good programming practice to write a while with true argument so that it runs endlessly?
In a hypothetical situation: Is it good programming practice to write a while that way? So that it continues to run endlessly? while(true){ System.out.println("Por favor, Escolha: ");…
-
6
votes4
answers24789
viewsA: Menu and submenu with bootstrap
I don’t know if it’s what you want, but here it worked like this: <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2"> <ul class="nav navbar-nav"> <li> <a…
bootstrap-3answered Marcielli Oliveira 1,597 -
2
votes1
answer722
viewsQ: Add values within the Two-Dimensional Matrix from the line the user chooses
In the exercise I had to create a two-dimensional matrix and then when the user typed 0, 1 or 2 to know the matrix line, I should add the line values and show the result. I wonder if inside the…
-
3
votes1
answer524
viewsQ: Java Vector Table Testing
I’m having trouble solving the next code table test, someone could show me the output and how to do it? public class Principal { public static void main(String args[]) { int array[] = {1, 2, 3, 4,…
-
5
votes2
answers3032
viewsQ: Test a new theme in Wordpress without losing the previous theme changes
Hello, I recently created a wordpress blog, I liked the theme, until a few days ago, but now I’m starting to think that it is not very blog guy. I’m using the oblique theme. The blog is already in…
-
4
votes1
answer113
viewsQ: How should the perfect backup of wordpress blog be done?
I’ve been looking on the Internet for a while how to backup the theme I am developing in wordpress and database. I use the xampp and the banco de dados in the phpMyAdmin. I found several tutorials,…
-
4
votes1
answer3335
viewsQ: How to change the title of wordpress blog directly in php?
I’m in the final stages of developing my blog on wordpress and a few months ago, when I started developing I put a título, but after many researches I decided to change it, because I found another…
-
2
votes1
answer1638
viewsQ: How to set up github in Ubuntu?
Now that I’ve finished my final project on C and delivered at the end of that first semester. I’m trying to configure and post my project to github. I followed a video lesson and got configurar one…
-
5
votes2
answers513
viewsQ: Is there a difference between compiling from the linux terminal or from the IDE?
I’m programming in C in the linux for a semester now, and I always come across people who call themselves better programmers because they compile and run the program through the terminal. However,…
-
4
votes6
answers73010
viewsA: I installed XAMPP but can’t start apache, Error: Apache shutdown unexpectedly
The same thing happened to me, but as I am without skype I had to look for another solution. For those who don’t have skype and had the same problem, follows the way I solved mine: 1- I opened the…
-
4
votes1
answer1246
viewsQ: Print special characters in c that are in a.txt file with locale library. h
My college late semester program has several screens that print large texts from arquivo.txt, however, as I do in c language, some characters do not appear, such as ç, é, ã...And so on and so forth.…
-
3
votes1
answer12863
viewsQ: Return to code start after a C if or switch case
I have a question regarding if. I’m developing a program for the end of college semester and every time I need to use one if and at the end of if, I need you to go back to the beginning of the…
-
5
votes2
answers606
viewsQ: Determine specific size for console in C
It is possible to set a specific size for the codeblock console (In C language) to open when I run the program? I need it to open at a certain size because I won’t use the whole screen. I saw…
-
5
votes2
answers1763
viewsQ: Comparing user typed variable with file variable
Inside of my file arquivo.txt I keep two strings "nome" and "senha", They lay one on the other. I need to take the name and password entered by the user and compare it with the name and password I…
-
2
votes1
answer3661
viewsQ: Reading and Comparing C File Login and Password
I am programming my system login screen with the help of files, ie save/read the data within a arquivo.txt. So far I was able to register the login and password of the user, but I am dealing with…
casked Marcielli Oliveira 1,597 -
4
votes1
answer592
viewsQ: Large switch case in C
I am developing a system for the college and I would like to know what is the best option, in the sense of optimization of the code, of improving even. I have a switch Menu case, where I have 88…
-
4
votes1
answer12161
viewsQ: Hangman game with C functions
I’m trying to make a game of hanging in C to go learning better, even because I need to learn more functions such. While the game is running, I wanted when the user put a letter, it would appear…
casked Marcielli Oliveira 1,597 -
1
votes2
answers577
viewsQ: how to compare null/null value when type character in C
printf("\nteste -> "); scanf("%i", &opAjuda); /* opAhelp is to receive a whole, but I want to do an if here, saying that if a person writes a character instead of the whole one, it goes to…
-
0
votes1
answer71
viewsQ: Comparing char variable in C
#include <stdio.h> #include <string.h> #include <stdlib.h> int main() { struct cmd1 { char cmd[20]; }; struct cmd1 cmdd; char cmd_ti[3] = "ti"; char cmd_tela1[2] = "a";…
-
4
votes1
answer67
viewsQ: Include a. c file inside a project. c
I am developing a simple program to deliver at the end of the first semester and would like to know if it is possible to create a main project and make the menu in one menu.c separate. Then include…
casked Marcielli Oliveira 1,597 -
5
votes2
answers7523
viewsQ: conio. h library in C language for Ubuntu
I’m programming in C on Ubuntu’s Codeblock. I am trying to add a library conio.h. During several researches I found a site that for the sake of incompatibility in Ubuntu with the conio library. h, a…
-
2
votes3
answers1286
viewsQ: while for number other than 0 in C
I need the program to stop when the consumer number is 0. So I put one of the while saying that as long as the consumer number is different from 0 he continues the program and when the consumer…
-
3
votes1
answer9288
viewsQ: Store data in STRUCT and print data on screen - 3 people
Can anyone tell me what I’m doing wrong? I need to store the data of 3 people on struct and then print. This error is appearing: request for Member ːname' in Something not a Structure or Union|…
-
7
votes3
answers1492
viewsQ: While repeating structure to recalculate in C
I solved this exercise below and thought about putting a structure while repeat, for the person to calculate again. But when I put’s' to return and calculate again, the exercise sums up the values…
-
7
votes2
answers1118
viewsQ: Testing primes in C
I am trying to develop in C a program in which the user puts a sequence of numbers and the same should determine whether the numbers are primes or not. Just follow my code: #include <stdio.h>…