All Questions

1
answer

How to alphabetically and numerically sort the same list?

In my college work I should make a list of the type of a class I have created and should sort it in two different ways, one in alphabetical order and one in average. Also other information is that alphabetic ordering should not be standard, but...
asked on 20.04.2015 / 03:27
1
answer

Problem between PagSeguro and number of plots

I made the implementation of a custom virtual store in the PHP language and as a checkout I am using PagSeguro . In the implementation, the transparent checkout was used and was functioning correctly, but the client requested that the option...
asked on 22.04.2015 / 14:23
1
answer

How to get value from one form to another?

I have form 1 and it has a field that in the onExit action I search the code in the bank and if it does not, I'll send a message if I want to register a product. If yes opens form 2, now I am not able to get the generated field and send to form...
asked on 15.12.2015 / 15:06
3
answers

How does php guarantee a single session_id?

What algorithm is used to guarantee a single session_id() ? I would like to know how to create and verify to ensure that such an ID does not collide with an existing one? I need to create some hashes , but I'm afraid that one hour two...
asked on 04.04.2015 / 19:45
2
answers

On-to-one relationship in auxiliary table using Laravel

In the application I'm working the database is built on the users part, as follows: user 1 -------> 1 user_address 1 <-------- 1 address In the user table there is no column that references the address. What exists...
asked on 05.01.2016 / 07:33
1
answer

Use multiple database

I'm not very knowledgeable about database and have never worked with large systems ... I'm creating an application with CakePHP that will serve as a webservice for two types of distinct clients, a client is simple and will only have a table rela...
asked on 21.04.2015 / 04:33
1
answer

Build GUI for Windows without using Windows API

I have searched the internet for a way to build graphical interfaces for windows without necessarily using the Windows API. I program in C # and for that, I have the WPF solution. However, I could not find any solution in C ++. My goal is...
asked on 24.03.2015 / 04:02
1
answer

Garbage Collector for C ++

I clearly understand what a Garbage Collector is and what a Garbage Collector is for. It is very well known in Java. Is there a library in C ++ that implements GC or fixes memory lLeaks? I have already searched the internet but it always...
asked on 14.12.2015 / 18:28
1
answer

Adding a comma to a string

Good personal and possible add comma in an example string: a = '1234567890abcdefghijklmnopqrstuvwxyz_' So that she stays like this a = 1,2,3,4,5,6,7....     
asked on 04.12.2015 / 22:13
1
answer

How to calculate months of a year from a decimal number?

#include <stdio.h> #include <stdlib.h> int main() { printf("\tPrograma para saber quanto demora a tornar-se génio!\n\n"); float tempo(int horas); float converter(float x); int num_horas; float dias,anos; print...
asked on 31.12.2015 / 19:20