All Questions

3
answers

Segment Violation

The problem is that when executing the program it produces a segment violation and I can not find the reason why. The goal is to reach the "error detectado en la tabla" line #include <stdio.h> #include <stdlib.h> #define SI...
asked on 13.05.2018 / 01:31
1
answer

SweetAlert confirm delete

I am currently working on this code from an example of a search table, deletion and editing of fields, I want to use Sweetalert to make javascript alerts more visible and although I have managed to display them in my javascript code, I can not g...
asked on 02.10.2017 / 02:13
1
answer

Error in printing data echo - PHP

I am printing a Urls with several data in a single echo the url to print is: http://localhost/prueba/profile.php and the values of the variables are: $ url = http:// $ host = localhost APP-RAIZ = prueba...
asked on 29.09.2017 / 21:30
1
answer

Search for item appearances in fix

The program must ask for the notes of the number of students entered by the user, which can be only between 0 and 10. It must be said how many 0, 5 and 10 have appeared. The entered notes that are not 0, 5 or 10 must also be said. The program...
asked on 01.10.2017 / 10:56
2
answers

Problem using json_decode () (Array to string conversion) php

I'm trying to use json_decode () as follows: <?php //Este es el json $fol ='[{"name":"Taili Silva","screen_name":"taili_silva","id":837254166619770880,"id_str":"837254166619770880","connections":["following","followed_by"]}]'; $str =json_d...
asked on 30.09.2017 / 00:55
1
answer

I need you to give me 2 different letters

I'm trying to make a poker game to play. The problem is that at the time of telling him that he is giving me two cards from the deck, he gives me only one card twice. For example, you give me Q of heart and Q of heart or...
asked on 29.09.2017 / 04:14
1
answer

Algorithm to find the largest of the sums in a list

I need some way to find the best way to find a sum that is closest to an input parameter in a method public int MejorSuma(int numero, int suma, List<int> lista) { .... } I want to create a function with three p...
asked on 22.08.2017 / 09:53
1
answer

error: ISO C ++ forbids comparison between pointer and integer [-fpermissive]

// Liberías #include <stdio.h> #include <stdlib.h> //Tengo el siguiente struct para nuevo1 struct proveedores { int Codigo; char Nombre [20]; char Razon_Social [30]; int Numero_Rut; int Direccion_Postal;...
asked on 01.10.2017 / 22:42
1
answer

How to pass memory blocks (pointers) from C ++ to C #?

I have a small problem that I hope you can help me. I have this code in c++ : __declspec(dllexport) unsigned char* ProcessFrame() { VideoCapture cam; cam.open(0); Mat imagen; unsigned char* result; cam >> i...
asked on 28.08.2017 / 08:50
4
answers

how do I get the correct value to an HttpResponse response = mHttpClient.execute (httppost);

I have a post method. That consumes a Webservice that returns a boolean (ws) (everything is correct up here), as you know, it returns a true or false (which makes it correct) How can I recover this result? This is the code HttpResponse r...
asked on 02.10.2017 / 17:41