All Questions

3
answers

Pass arguments to executable.exe c #

I created an application in c # very simple. static void Main(string[] args) { Console.WriteLine("Cantidad de argumentos: {0}", args.Length); foreach (string argumento in args) { Console.WriteLine("Argumentos: {0}", argumen...
asked on 20.09.2016 / 05:06
1
answer

Get shell variable from C

This is the code I was testing, but for some reason the output I get is nothing. #include <stdio.h> #include <stdlib.h> int main (int argc,char*argv[], char *envp[]){ FILE *fp; char path[1035]; fp=popen("/bin/echo ${CO...
asked on 28.04.2017 / 17:31
2
answers

Error creating table in MySQL

I want to create a requested table in mysql, and it throws this at me: Executed SQL Statement: Create table 'deliverytrackingdb'.'pedido'( 'id' int(4) NOT NULL AUTO_INCREMENT, 'precio' double(5) NOT NULL, 'descripcion' varchar(200...
asked on 01.11.2016 / 21:42
1
answer

Replace all NULL fields in a table to 0 SQL Server

Greetings to all, I have a table that contains about 97 fields. I know that by selecting the fields and adding functions like Coalense, isnull or null; can be converted to 0. However my question is a bit complex. Is there any way to identify...
asked on 28.04.2017 / 17:51
1
answer

Inventory Management in C ++

The program is an inventory control that captures product information, such as quantity, wholesale and retail prices, date. When the user chooses the Buy option, the program asks for the new product information to be entered, when it reache...
asked on 05.05.2017 / 01:03
1
answer

Send FTP files with phyton

I am sending a file via FTP using Phyton. My code: #!/usr/bin/python import ftplib import os filename = "MyFile" ftp = ftplib.FTP("xx.xx.xx.xx") ftp.login("UID", "PSW") ftp.cwd("/Unix/Folder/where/I/want/to/put/file") os.chdir(r"\windows\fo...
asked on 26.04.2017 / 15:18
1
answer

Delete all occurrences of a character in javascript code

I have a problem with the code that I am working on, what happens is that it has bars that were previously placed for the security of the company. Now we are updating some details of the page but delete one by one the    "\" Is it a bi...
asked on 02.05.2017 / 01:36
1
answer

Best method for activity detail

I have a recyclerview with 10 items and when I click it opens an activity detail for each one of them. What is the best method to create an Activity details for each item? The xml of the activity detail is the same for all only the content of th...
asked on 08.05.2017 / 19:35
1
answer

Get data from a photo taken with Android, I want the exact time taken

I have an application that takes a picture with an intent and I must obtain the exact time when it is captured, the problem is that when I take the picture with intent , I take the time when I give it ok ( onActivityResult() ) to the...
asked on 25.04.2017 / 20:11
1
answer

Corona SDK: Avoid scoring 2 times at the same level

I want to avoid using a sentence, score 2 times at the same level of the game. This script controls access to game levels: local scene = storyboard.newScene() levels = { 1, 2, 2, 2, 2, --1 nivel abierto para jugar (level.png) 2, 2, 2, 2,...
asked on 05.11.2016 / 10:18