All Questions

3
answers

Format a list in Python?

I have the following list in Python, which can be changed according to the user's data: Dialer = [1,9,2,'.',1,6,8,'.',0,'.',2,6] When I print the list I get this:    [1, 9, 2, '.', 1, 6, 8, '.', 0, '.', 2, 6] How can I format the lis...
asked on 10.11.2016 / 00:46
1
answer

Creating my "mini shell" - Error: Segmentation Fault

I am developing a mini shell for a university practice and I run into an error that I have not been able to solve since according to what I have understood, searching in Google for my error, it is an error that can come out of several causes. Le...
asked on 09.11.2016 / 13:50
1
answer

C Error: Dereferencing pointer to incomplete type

Good, I am stuck with the error of the matter. I'm trying a simple code, but I do not realize where the error is. The Error is in the printf struct nodoLinea { char Caracter; struct nodoLinea *Siguiente; }; typedef struct nodoLin...
asked on 07.11.2016 / 18:35
1
answer

How to pass the entered data of a structure to upper case

I want the data entered from the "Books" structure to be directly capitalized. I know we have to use the toupper () function but I do not know how to apply it when I work with structures. #include<stdio.h> #include<string.h> #inclu...
asked on 14.11.2016 / 12:27
2
answers

Hover does not work on button

I'm making a web page. I have entered a dropdown-button , but it gives me problems. In the menu, if you put the mouse over a button, it becomes light blue, but in the Multimedia button ( dropdown-button ), the hover does not w...
asked on 10.11.2016 / 10:48
1
answer

Doubt about pointer to structure in TCP / IP connections

I have the following code: // IPv6: struct sockaddr_in6 ip6addr; int s; ip6addr.sin6_family = AF_INET6; ip6addr.sin6_port = htons(4950); inet_pton(AF_INET6, "2001:db8:8714:3a90::12", &ip6addr.sin6_addr); s = socket(PF_INET6, SOCK_STREAM,...
asked on 17.05.2018 / 22:51
2
answers

how to change the icons of the notification bar on android

I want to change the color of the icons of notifications in the status bar and I do not know which property the color changes.     
asked on 14.05.2018 / 20:30
1
answer

fstream c ++ error

I have this piece of code, void saveGame(vector<Usuario *> vector) { fstream file_obj; file_obj.open("users.dat"); for(Usuario *u: vector){ string auxName,auxPassword; auxName = u->getName(); auxPa...
asked on 12.05.2018 / 22:28
1
answer

How can I calculate the center of a polygon with the Google Maps API [closed]

How can I calculate the center of a polygon (Polygon) with the Google Maps API?     
asked on 11.05.2018 / 22:48
1
answer

Import of variables from one file to another with FROM

The intention is to access from a file (called, say, " index.py ") to the variables defined in another (for example, " config.py " ). That is, import, to one file, the variables of the other. Ok, these are the contents of the f...
asked on 16.05.2018 / 12:45