All Questions

1
answer

How does one method work within another? E.g: service.metodo (arguments) .execute ();

I am not understanding this method within another method does anyone explain me this? Another example of my question: ImageKeywords keywords = service.getImageKeywords(image, forceShowAll, knowledgeGraph).execute(); It has a method that...
asked on 27.06.2016 / 16:26
1
answer

How to disable (permission) mode of the file in GIT?

I'm working with GIT here at the company where I work, along with two other programmers. Every time I make a git pull , whose changes were sent by these two programmers, I always have a problem with the permission of the file or...
asked on 31.05.2016 / 16:24
1
answer

Enter X number of characters in SQL Server field

Hello, I have two banks BDMCOM1 and BDMCOM1_V3_ALEA, both of which have a table named ProductDrive and the field called CodigoProduct, in the database table BDMCOM1, theProductDocument has 5 digits, in the table of the other bank theProductDocume...
asked on 07.07.2016 / 21:40
1
answer

error in mysql_result () [closed]

I'm looking for help to understand an error given in a call to mysql_result (), that I can not resolve this error:    Warning: mysql_result () expects parameter 1 to be resource, object   given in C: \ wamp \ www \ I do not know what para...
asked on 22.09.2015 / 21:59
1
answer

Difference class and interface [duplicate]

What is the difference between class and interface and when should I use one or the other?     
asked on 22.06.2016 / 03:35
1
answer

Why do errors in PHP scripts run via the command line do not appear in the apache error log?

It is important to note that errors occurring in PHP script execution via browser are registered without any problem in the file: /var/log/apache2/error.log . The problem only happens when scripts are executed via the command line. T...
asked on 03.07.2016 / 02:15
1
answer

C menu that moves with the arrow keys?

I once saw an algorithm in C where in the menu selection had a "mini navigation" if I can call it that way, where I used the arrow keys to navigate the menu and enter to select the option, I was curious to know how do that, can someone show? Tha...
asked on 15.06.2016 / 21:32
2
answers

Reading HTML pages with .NET Core

Next, I have a code that reads a particular web page: private string GetCodePage() { WebRequest request = WebRequest.Create(URL); WebResponse response = request.GetResponse(); StreamReader reader = new StreamReader(response.GetResp...
asked on 28.06.2016 / 16:30
1
answer

Is there a difference between GCC C ++ and Visual Studio C ++?

I have already programmed in C ++ compiling with GCC and when I started using Visual Studio I noticed that it has support for C ++, however the implementation is geared towards the .Net platform. Is there a difference between these two versio...
asked on 02.08.2016 / 07:50
2
answers

Quick search for a string or part of it in an Array

I have the following array : images = %W( droido 7midias vigilantes sebrae_mei dpe_saed websat ferpamweb dpe_chronus dpe_plantao promocast lolitaface dpe_intranet cha_bar clinica_sorriso droido_mascote bom_sabor ) What I want is a...
asked on 24.06.2016 / 20:21