All Questions

3
answers

Entity Framework - Update nested lists

I have the following schema in my DB MySql: Modelshavealistofstandard_imagesandeachstandard_imageshasastandard_regionslist.IneedtouseEntityFramework5.0.0.Ihaveatemplatewith3standard_imagesandeachonehas4standard_regions.Ineedtodoanupdateonthis...
asked on 10.06.2014 / 14:08
2
answers

How do I put the Y-axis inverted (descending) on the R?

I'm trying to present graphs on coefficient of uniformity, but usually in this type of chart, the Y axis is organized in descending order, from 100 to 0. I would like to know how to do this. It can be for the function plot and / or for...
asked on 31.08.2016 / 01:48
2
answers

How to separate words from a string?

How do I separate words from this string into separate variables with PHP? I'd like to do something like this: $frase = "O + rato + roeu + a + roupa + do + rei + de + roma"; for(i=1; i<=**numero de palavras**; i++) { $palavra + i...
asked on 11.11.2016 / 17:24
4
answers

How to know the size in Kb of a string?

I have a string that will be saved in xml file , and this file can not be larger than 500 kb . How can I identify the size of string that I will save in xml file ? When string is saved in the xml file, it can chan...
asked on 25.03.2014 / 19:29
2
answers

How to insert a set time into a function

The function of this code below and after I click on a submit of a form it redirects to another page this works now only need it only redirects to another page after, 5 seconds someone knows how to do this very little javascript handling? $(...
asked on 16.01.2017 / 23:42
1
answer

How to make an interface in C ++?

Java, C #, and other languages have the interface concept, which is very useful in some circumstances. How to make an interface or the closest to it in C ++?     
asked on 07.05.2016 / 01:15
2
answers

gets () function for float value

I wanted to use the gets() function for a float value, or a similar function.     
asked on 15.05.2016 / 12:16
2
answers

How does "new" and "virtual" work in C #?

Can you explain to me how they work in C #? When I create a parent class and it has a teste() method and I want to rewrite this method in the child class, I need to use virtual and new ? If I create: class Veiculo {...
asked on 06.09.2016 / 00:13
3
answers

How to get the user's IP via Javascript?

I have three commands that together return the user's IP. I wanted to turn them into a single command with the command return . Like this: return userip; How do I? Here is the code: <html> <body> <script type="t...
asked on 07.12.2016 / 14:56
1
answer

Code to calculate 2nd degree equation returns "NaN" as roots

I tried to create a program that calculates the two roots of a second-degree equation. When I execute my code, it asks for the values of a , b and c correctly, but at the time of displaying the result, it always returns "NaN"...
asked on 10.11.2016 / 23:23