I'm pretty new to PHP , but I already know the basics of HTML , and a large part of Ruby script (not ruby on rails ).
Well, you know, how can I generate a word or something random, we can say, but not so random. As if...
My randint when used the second time it does not generate new random numbers, it stays with the same numbers generated. I know in C when this happens I can use the srand (time (NULL)) , but in Python I'm not finding anything like it
Show 3 d...
As I have in the code gives me the error of
void can not be deferenced
In the part of nextInt() in the last two lines and with so many attempts I've already done I ended up staying like this. The latitude can not be outside [-9....
I would like to create a function that loads a random page from a particular address. Something like www.meusite.com/(numeros entre 0-100).html
I think the function should create the tag A , then fill it with the text www.me...
I need your help in the following situation:
I have a loop that every random interaction is generated from 0 to 400.
I need my function to return at what point in the loop the X number was generated. (For example, loop 4 generated the n...
I made a project in Android that is a little game of the gallows, where I can write in the SQLite database the word and a tip. In my DatabaseHelper class I created the normal database, and made some selects from the column where the words are st...
I want to store random numbers from 1 to 60 in an array. When there are equal numbers in the rows, it is to generate another random number.
Type, can not be: 11 55 55 43 49 30, but should be 11 55 52 43 49 30. There should be no repetitions....
I'm having problems in my ListView. I would like it to display its items randomly, but the items do not repeat themselves, as is happening now.
Here is the code:
public class AdapterConteudo extends BaseAdapter{
private Context ctx;
priva...
Why does the rolaData function below always return the same values when calling multiple times, even though seed srand ((unsigned) time (NULL)) has been initialized?
#include <time.h>
#include <stdio.h>
int rolaDados(int *a){...