All Questions

5
answers

How do I compare two words from two different chains?

I just want to compare the first word of two strings if they do not matter or not ... Example: String1="No puedo comparar" String2="Si puedo comparar" I would have to give false since the SI and the NO are not equal. St...
asked on 06.10.2016 / 03:50
1
answer

Use of quotes or single quote in laravel

I have a question regarding the use of quotes in laravel to explain I put a snippet of code. public function index(Request $request){ $query=trim($reques->('serchText')); $categorias=DB::table('categoria') ->where('nombre','LIKE','...
asked on 02.10.2016 / 06:37
2
answers

Get the coordinates (X, Y) of the last letter of a textarea

I have a dropdown that I want to position in the last character of textarea , but I do not know how to achieve it, I researched how to capture the cursor position of textarea but I have not found anything useful and I have no...
asked on 16.11.2016 / 20:19
1
answer

SVG image is not displayed in IE, Chrome

I'm trying to insert a vectorized image in SVG format, but I only see it in mozilla firefox, for IE and chrome it does not appear. I have searched for some documentation about svg in navigators, in many I see examples where shapes are drawn by p...
asked on 23.09.2016 / 18:31
1
answer

How to detect in Android if the device changed the type of wifi network to data and know the name of the network?

How to detect in Android if the device changed the type of Wi-Fi network to data and know the name of the network? is that I need to get this information from the network to validate and execute a method.     
asked on 23.06.2016 / 03:43
2
answers

Problem when passing a long data to a service on Android

I try to pass a variable of type long to a service which is the time in which it is going to run but it marks me the following error 9-27 00:33:16.364 14153-15553/com.android.controlmovil E/AndroidRuntime: FATAL EXCEPTION: IntentService...
asked on 27.09.2016 / 07:27
2
answers

Insert records with select in insert

I am trying to insert records in a TB_DET_SUSCRIPCION_DOC table but the SELECT returns more than one record. the error is as follows.    Error Report: SQL Error: ORA-01427: single-row subquery returns   more than one row   01...
asked on 27.09.2016 / 22:31
2
answers

Data passing from one pointer to another

In my program you have to create a duplicate function that receives a string and returns a pointer to a new string that is the copy of the previous one. My program "works" the problem is that if the initial string passed as an argument to my dup...
asked on 04.09.2016 / 07:26
2
answers

Contact Form with reCaptcha

I have a contact form and I want to implement reCaptcha but the truth is that I have not been able to, I have tried but I can not get my PHP code to validate that the Captcha is not resolved and does not allow sending the form. Then my PHP and H...
asked on 30.05.2017 / 23:27
1
answer

can someone explain me getchar ()! = EOF?

I do not understand very well how getchar and putchar works, for example: main() { double nc; for (nc=0; getchar() != EOF; ++nc) ; printf("%.0f\n", nc); }     
asked on 03.10.2016 / 07:09