All Questions

2
answers

Is there a function to display the defined variables?

Is there a way to give a "var_dump" in all variables instantiated in that context, without having to put each one inside var_dump ()?     
asked on 27.12.2013 / 11:39
4
answers

The input string was not in an incorrect format.

Hello, I'm a beginner in programming and I'm trying to show the user how much RAM is being consumed at the moment, I'm using the following code which is not pointing nor an error compiling only when I give Start it says:   An unhandled excepti...
asked on 12.11.2015 / 18:57
2
answers

How to force .txt files to be downloaded [duplicate]

I have a page, but I do not want it when I click on files of type .txt to download, instead of displaying them. I'm developing this page in PHP. I have seen some script on the WEB, however it is forcing the download of .txt files without it...
asked on 24.04.2014 / 14:17
4
answers

Is it a bad practice to make this comparison?

To compare two values with a single, I can do as in the example: if(foo == "abc" || foo == "54") { ... } But as I need to add more conditions, this gets tricky: if(foo == "abc" || foo == "54" || foo == "23A" || foo == "3xe" || foo == "123...
asked on 25.09.2017 / 18:43
2
answers

What is the name of the operation when we make an ajax request to the internal server that in turn takes information from external?

I always do this, but I do not know what the technical name is. When I need to make a request, where I get information from an external content (for example facebook), I always use my server (via PHP) and I capture this request, only to captu...
asked on 14.10.2015 / 15:30
2
answers

What two keys mean in JavaScript

I understand the "===" that tests value and type, different from "==" that tests only value, however I did not understand the double key, type: {{alguma_coisa}} , for example in a JavaScript that I own, has something like this: mozL10n.g...
asked on 03.11.2015 / 11:57
2
answers

Is there any way to run a java (.jar) program from a C or C ++ program?

I want to know if there is a way I can write a program .jar , and write a C / C ++ program that calls the JVM to execute the .jar file. It's possible? If so, can you give me an example code or an instruction how to do this?     
asked on 25.07.2016 / 03:26
3
answers

Creating your own header file

Would anyone know to explain the utility and how to create the header file in c with an example?     
asked on 01.02.2014 / 03:46
4
answers

Is there any alternative to system ('cls') in PHP Console?

I'm using PHP (5.7) on the console (Windows 10), but I'm not able to clear the screen. I give system('cls') and only appears a square with a question mark, without cleaning the screen. I'vedoneitthisway:for($i=0;$i<50;$i++)echo"\r\...
asked on 26.12.2016 / 23:14
4
answers

What would be the best way to do a CRUD for a framework in the most generic way possible?

I am studying to do a CRUD for a framework but I am trying some problems to be able to do this in the most generic way possible. For example: I have a class Pessoa() I want to do CRUD passing only the Person object to another class...
asked on 05.02.2014 / 21:04