60 Topics

Member Avatar for
Member Avatar for TrustyTony

Here is simple math program to list number whose all factors are in given set of factors. I have included my timing decorator, which uses my timestring function, so I included that and imports for decorator in the decorator function, bit against the rules. Of course I could have used …

0
271
Member Avatar for bubbafunk1

Hi All, does anyone know of a PHP FORM GENERATOR, that either exists as a downloadable app or an online generator I use a Mac. I don't want to sign up and pay per form generated, i don't mind paying for the app as long as it works. i just …

Member Avatar for mschroeder
0
312
Member Avatar for singh_soorma94

I was making a windows form project. in the project the user inputs the number of dice rolls he wants(2 dice will be rolled) and then i am suppose to give the number of times each number happened and the percent of times each number happened. The only problem is …

Member Avatar for singh_soorma94
0
304
Member Avatar for synaqvi

Hi Is there any Bootstrap Manifest Generator available for Visual Studio 2010? If yes, then please provide the relevant links and details. Thanks in advance. [B]synaqvi[/B]

Member Avatar for synaqvi
0
222
Member Avatar for TrustyTony

Another task from C++ forum is trivial in Python even taking handicap of not using Counter.

0
518
Member Avatar for Thisisnotanid

Hi all, I was experimenting with techniques of generating random numbers and eventually decided on the following. I realize there's a big discussion in computing circles about "randomness" and as such am not trying to make any claims here. What do you think? Thoughts, comments, suggestions, discussion of underlying theories, …

Member Avatar for Schol-R-LEA
0
304
Member Avatar for TrustyTony

Little clean up of vegaseat's code for generating pi decimals. Added number of decimals desired and string type return for easy use with ''.join()

Member Avatar for TrustyTony
1
613
Member Avatar for FrustratedOwner

I'm not sure if this is the right place. All my research that I've done says yes. I'm just starting out in building a site. I've got some coding knowledge but would rank myself a novice, just starting out. I'm looking to build a poll generator to insert into my …

Member Avatar for twiss
0
144
Member Avatar for TrustyTony
Member Avatar for TrustyTony
1
320
Member Avatar for prvnkmr194

I have a 2d array of size 4X4 that is [CODE] int arr[4][4]; [/CODE] i want to initialize this from 1-15 but in random manner not sequential example 7 8 9 5 1 2 12 14 3 6 10 13 11 4 15 0 I try [CODE]random()[/CODE] function but iam …

Member Avatar for prvnkmr194
0
433
Member Avatar for TrustyTony

Saw somebody was viewing this thread and thought the qrange needed one update. From post [url]http://www.daniweb.com/code/snippet216627.html[/url].

Member Avatar for TrustyTony
0
589
Member Avatar for MooGeek

Hi guys! Im kinda new here and lately I'm developing a[B] PHP MySQL Module Generator[/B] that will help us to easily manipulate the database. since I want to make thing fast and I know lots of you agree with me that doing data manipulation stuffs like MySQL is boring so …

Member Avatar for MooGeek
0
271
Member Avatar for TrustyTony

This handy function turns file into stream of words stripped of punctuation, whitespace and digits, but does not split for example we'd to two words. If you want that you can further process yielded words or change the definition.

Member Avatar for griswolf
3
2K
Member Avatar for globberbob

Hi there, im new to the site and am hoping someone out there can help me with my question, im pretty newbie in the world of c++ and programming in general. Im making a program with a menu, you can choose between entering a number yourself to be tested as …

Member Avatar for globberbob
0
312
Member Avatar for Fulsomenko

Hey guys, new to the forum. So sorry if i am posting this in the wrong location. To my question: I am trying to create a random password generator, and I think it's done is this way. I have made four arrays, two for the alphabet (capital letters and not), …

Member Avatar for peter_budo
0
244
Member Avatar for abhijustorcks

HI all ! I am looking for C source code for a simple control flow graph generator.This generator should take input as C,java files and make nodes for If-else,switch statements,for & while loops.I just need a output in text form no visualization required.Can anybody help Thanks

0
83
Member Avatar for rtllz

hi, i was wondering if someone could help me make a number generator. By that i mean have it start from 0 then go 00 then 000 and so on until lets five zeros(00000) and after that make it change the last number by 1. Any help would be appreciated, …

Member Avatar for mrnutty
0
119
Member Avatar for Rewired

I am looking for away to Generate Name a from Text Document on Server. Example would be: If I save a text document in the server like at [url]www.example.com/txt/names.txt[/url] How would I be able to generate 1 name at random?

Member Avatar for Rewired
0
177
Member Avatar for Rickay

I am trying to get the following code to take in either a number or an integer, determine whether what the user inputted is an integer or a letter, and then print a random digit if it is an integer, or a random letter if it is a letter. [CODE]#include …

Member Avatar for jonsca
0
235
Member Avatar for TrustyTony

See the link ([URL="http://norvig.com/sudoku.html"]Solve Every Sudoku Puzzle[/URL] for fine description of logic of the code) I attach the top95.txt file of tough problems and the sudoku claimed toughest of all time by Finnish mathematician Arto Inkala ([URL="http://www.kristanix.com/sudokuepic/worlds-hardest-sudoku.php"]The Worlds Hardest Sudoku Puzzle[/URL]) Solving this was piece of cake for the code, …

Member Avatar for TrustyTony
0
964
Member Avatar for Dazamondo

Hi Guys, I wonder if you will be able to help me with creating a password generator in VB using VS 2008. I have limited programming knowledge from my time at university and it wasn’t my strong point :). What I want to do is have a front end which …

Member Avatar for Luc001
0
224
Member Avatar for TrustyTony

Here is some saved interaction in command prompt. [CODE]>>> type((1,2)) <type 'tuple'> >>> (3*x for x in (4,4)) <generator object <genexpr> at 0x00E73EB8> >>> tuple(x**2 for x in range(10)) (0, 1, 4, 9, 16, 25, 36, 49, 64, 81) >>> set(x for x in range(10)) set([0, 1, 2, 3, 4, …

Member Avatar for TrustyTony
-3
707
Member Avatar for RicardoE

Hi All, I have a small company which is studying the posibilty to create a freeware opensource Visual Basic IDE, built in QT/C++ for running under linux and generating object code and assembler code in a easy way. So to start, I was wondering if anyone have a Visual Basic …

0
88
Member Avatar for Chelp261

I have a program which is as follows: We'll extend the Search and Rescue Simulator. You will implement a class to represent the location of a person, and add searchers to the simulation. A Person class that will be used to represent both the missing person and the searchers, details …

0
105
Member Avatar for tchiky

Hello I would like to create a reference field. I would like it ti have a fixed number of charaters/numbers, just like the videos reference of YouTube. Is there a mysql/php function to handle that? I mean a function that generates a unique string that doesn't exist already in the …

Member Avatar for tchiky
0
163
Member Avatar for Chetan_

This is the first big program I'm gonna do and so far, i have really no idea on how to go about it. Basically, I aim to create a C++ program that:- [LIST=1][*]Takes expressions of the form... [TEX](3+4(5*2)+(3/(sin 62))-4)[/TEX] or similar ones and evaluates them [*]Takes equations of the form …

Member Avatar for Chetan_
2
110
Member Avatar for vegaseat

This is an update of an earlier version. In this version the string containing the approximated pi value is created directly from the iteration of the generator. This way the program is simplified and can be used with Python2 and Python3 ...

1
545
Member Avatar for treyk4

The title is pretty self-explanatory. I'm working on a PHP engine, and I'm trying to implement a SQL query generator. The hardest part of this will be designing the system for using the SELECT command. Are there any practices that I should try to follow when designing this, or any …

Member Avatar for digital-ether
0
155
Member Avatar for rrvs331

So I made this coin flipping program. It generates a random number between 1 and 2, and checks to see how many "flips" it would take for it to get 15 flips in a row. However, every time I run it, I get the same number, 13505, every single time! …

Member Avatar for rrvs331
0
227
Member Avatar for AutoPython

Okay, I'm done with making a lot of threads with nooby quesions. Those were just some things in the back of my mind. But that's not the point. Here's a program that generates a random 8 character string. It consists of letters A-Z, a-z, and 1-9. There's 767,544,201,216 possible combinations. …

Member Avatar for AutoPython
0
230

The End.