All Questions

2
answers

Test prime numbers in C

I'm trying to develop in C a program in which the user places a sequence of numbers and it must determine whether the numbers are prime or not. Here is my code: #include <stdio.h> int main() { int num1, num2, i; char op;...
asked on 03.09.2015 / 01:25
1
answer

How to make links open in an iframe?

How do I make the menu of the index.html page open the pages within iframe contained in the same document ( index.html ). For example, clicking the link page below the contato.html page loads into the iframe...
asked on 26.08.2015 / 20:26
1
answer

How do I get the predominant color in an image?

I'm taking a photo of a camera and passing it to a ImagemView and would like to take the predominant color of this image, how could I do this on Android? my class proximoLaiout (I wrote laiout with i for wanting kk) package com.exam...
asked on 05.08.2015 / 03:10
2
answers

How to add SQL Server dependency in Maven?

I'm trying to add the dependency of SQL Server on my POM but gives Missing Artifact . <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <v...
asked on 03.07.2015 / 22:14
1
answer

Merge CSV with Python

I have a collection of dozens of CSV files. Most of them share the same fields, but some have unique fields. I want to merge them by using Python in a single CSV file with a global header that includes all the fields of all the columns. I'm usin...
asked on 11.06.2015 / 21:55
3
answers

UML, flow diagram between pages

I remember seeing something similar in college, but due to having already spent many years I forgot. Which diagram should I use to represent the flow between pages? It would be similar to represent the general structure of the website. Exa...
asked on 26.07.2015 / 17:21
1
answer

Authorization in class libraries

Doubt I have a project where the entire business rule is encapsulated in a set of DLLs with 3-tier architecture. I wonder, what is the best approach for authorization control in these dll's. Is it possible to use Identity? Is there a des...
asked on 06.01.2015 / 17:15
1
answer

How to create a new library in C ++

I would like to know how to create a new library in C++ . if anyone can give an example, it can be a generalized example.     
asked on 30.05.2015 / 18:50
1
answer

Stream () and parallelStreams ()

I've seen lambdas performance and streams much better than using repetition loops, so I try to use as much as possible. My question is when should I use Streams or ParallelStreams? How does this parallelism of streams occur?     
asked on 03.07.2015 / 16:49
2
answers

limit the for, php

Well, this is the following, I'm generating paging links to get more lightness in my system, the problem is I have many records in the database and this pagination generates many links, thus occupying a very large part of the page, I would like...
asked on 19.12.2014 / 14:38