All Questions

4
answers

Constructing SQL tables - using or not fields with Not Null?

I am having a question regarding the construction of tables and the use of Not Null field. I know that for fields of Primary Key , it must be Not Null , but in other fields, what is the need to use Not Null ? so I und...
asked on 11.08.2016 / 13:26
2
answers

When I type broken number, it removes the comma and sums as integer

static void Main(string[] args) { Console.Write("Digite sua primeira nota: "); double n1 = Convert.ToDouble(Console.ReadLine()); Console.Write("Digite sua segunda nota: "); double n2 = Convert.ToDouble(Cons...
asked on 13.09.2017 / 06:24
1
answer

How to integrate the application with Whatsapp? [closed]

I wanted to know if it's possible to integrate a C # application with Whatsapp?     
asked on 19.07.2017 / 14:48
4
answers

Print arraylist information on the screen

I have ArrayList but I can not print the data on the screen. Follow class: public class Cachorro { private String Raca; private String cor; private String nome; private String nome_dono; private int idade;...
asked on 09.12.2016 / 19:15
5
answers

How to protect PHP code from theft and piracy after deploy? [duplicate]

Well, I'm working on a system SaaP (PHP / CodeIgniter + MySQL). Initially the idea would be to deploy the deploy system to the client's choice hosting. The entire "setup" process would be performed by my team, so it would not have direc...
asked on 30.01.2014 / 14:22
5
answers

Store arithmetic operator in variable

I have the following code: $value1 = 10; $value2 = $value1 + 10; // $value2 == 20 I need the + operator to be variable, ie in my case I need to be + or - . I've tried the obvious but it sure would not work, here's the...
asked on 13.11.2015 / 14:34
3
answers

What is the use of the colon in JavaScript?

What is the use of the colon : in JavaScript, like the example below: function paciente(nome, idade, altura) { var clazz = { imprime: function() { alert("nome: " + nome + ", idade: " + idade); } return clazz; } I kn...
asked on 15.01.2016 / 23:41
4
answers

What is the fastest, most memory-efficient type?

I'm doing a C navet game, so I need to put a large number of projectiles in a vector. These projectiles have at least one position and speed to do calculations, and I'm trying to figure out how best to save them in memory for later use. So...
asked on 30.01.2014 / 01:06
3
answers

Check if a div contains a number

I have a paragraph that contains multiple links, alternating between words or numbers. I need to do the following check: if the link within the paragraph is any text, it will not do anything with the text, but if this link has a number, it will...
asked on 25.02.2014 / 18:39
5
answers

How to check if a text or ntext field is null or empty?

How can I check if a field of type ntext is null or empty in where ? I have the following select SELECT Subject, Notes from DocumentNotes where Notes is null or Notes = ' ' but when compared it returns the following error...
asked on 19.11.2015 / 15:08