Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
repetition
- Page 1
Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
… a list by hand and using quotation marks (“) to indicate
repetition
from the line above —for example: John Miles “ Smith DiDi…
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by rproffitt
DiDi appears to be some China based UBER service but then again I can't find a question or much else to discuss here.
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
About DiDi DiDi (Differential Directory) was originally developed as part of my thesis project in the early 1990s. The name bears no relation to the more recent Chinese ride-sharing company. At the time, DiDi was a novel approach within its academic context, but a change in legislation unfortunately led to the closure of the school and the …
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
For example, as Donald Knuth points out in The Art of Computer Programming, the theoretical lower bound for comparison-based sorting algorithms is K × log₂(N). I developed a very simple method that matches this performance. However, DiDi goes far beyond: its performance is proportional to K × (maximum key length), regardless of the number of …
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
As an illustration, consider the theoretical lower bound for comparison-based sorting, as stated by Donald Knuth in The Art of Computer Programming: K × log₂(N). I developed a simple method that matches this limit. For example, to sort the list {2, 5, 7, 1, 4, 3, 8, 6}: Sort pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (6, 8) → [4] Merge…
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
"Just to clarify a previous mistake: the efficiency should be K × N × log₂(N), not K × log₂(N) as I initially wrote."
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
I've just made an update because some records weren't being added properly. The issue was that the form didn't take into account that the register field (in the call to DiDi) is passed by reference.
Re: Differential Directory, indexing method
Programming
Software Development
1 Week Ago
by xrjf
Just a quick update for anyone interested: I have revisited and significantly improved the code, aiming for a more professional structure and better performance. The updated version avoids freezing the UI during long operations and follows more robust programming practices. If you’d like to see DiDi in action, there is also a video …
Repetition
Programming
Software Development
16 Years Ago
by Se7Olutionyg
… >> score; } and I am not clear about this
repetition
, can you explain it to me in a simple way…
Re: Repetition
Programming
Software Development
16 Years Ago
by Denniz
Take away this line: [CODE] return displayGrade; [/CODE] As for the loop, it will keep on prompting you for the next score, until you enter -1 then it will come out of the loop.
Re: Repetition without using a loop
Programming
Software Development
14 Years Ago
by Democles
Based on my knowledge no matter which way you do it. It will require some sort of
repetition
which will require a for loop or a while loop. You'll have to have some sort of loop or counter. I am not aware of a method that does this for you. It's possible you might be able to find one in a third-party library.
Re: repetition of "define"
Programming
Web Development
12 Years Ago
by diafol
Difficult to say, your thread title is '
repetition
of "define"', so other users will access it …
Re: Generating a random number without repetition
Programming
Software Development
15 Years Ago
by rlhh
…k,l; //loop initilizers int count =-1; //to check for
repetition
int num; int grid[3][3] = {}; srand(time(NULL));…(l=1;l<=3;l++) //checking the column for
repetition
{ if(grid[k][l]==num) count++; } } if(count&…
Generating a random number without repetition
Programming
Software Development
15 Years Ago
by rlhh
…for(k=1;k=3;k++) //checking the row for
repetition
{ if(grid[k][j]=num) count++; } for(l=…1;l=3;l++) //checking the column for
repetition
{ if(grid[i][l]=num) count++; } if(count&…
Help on the repetition loop
Programming
Software Development
15 Years Ago
by ttboy04
… of repetion from user request. So basically there will be
repetition
print out of the times table when the user enter… [CODE]int number; { number= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do…
Re: Generating a random number without repetition
Programming
Software Development
15 Years Ago
by abhimanipal
…. Initialize count to -1 3. When you are checking for
repetition
, you have to use == to = 4. I dont think the… logic you have used for checking
repetition
is correct as well. What I would do would be…
Re: Help on the repetition loop
Programming
Software Development
15 Years Ago
by phoenix911
…] int number; { number= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do …; int number2; { number2= Integer.parseInt(Dialog.input("Enter
repetition
?")); number= Integer.parseInt(Dialog.input("Which timestable do…
Re: Generating a random number without repetition
Programming
Software Development
15 Years Ago
by jephthah
if you can guarantee non-
repetition
, then your numbers aren't random.
Preventing the repetition of charges when adding to columns?
Programming
Databases
16 Years Ago
by jtok
… of parts and service. This, of course, results in a
repetition
of charges.) I am open to completely changing the way…
Number of each character repetition in a string
Programming
Software Development
16 Years Ago
by sahasrara
Dear all This code first read a string then shows number of
repetition
of each character . I wrote it by Borland 5.02 . Good Luck !
There is a repetition in windows when using jQuery Dialog with GridView inside an UP
Programming
Web Development
13 Years Ago
by OSM101
… inside an UpdatePanel. The problem is that there is a
repetition
when preforming more than one operation. For example, when updating…
How to shuffle deck without repetition?
Programming
Software Development
13 Years Ago
by 4everct01
… having some problem in shuffling the deck. There are some
repetition
after it shuffle. Any solution for it>? [CODE] #include…
keyword repetition in title tag
Digital Media
Digital Marketing
Search Engine Strategies
13 Years Ago
by webmaster@123
I need a clarification regarding keyword
repetition
in title tag The question is how many times a …
JOIN query repetition pickle
Programming
Web Development
12 Years Ago
by furlanut
… re-define the $row index in some way to avoid
repetition
of the fields. I have been using 3 separate SELECT…
Repetition (For and While)
Programming
Software Development
15 Years Ago
by dag7399
1.write a program that asks the user to type 10 integers and writes the sum of these integers.Using [B]for[/B] loop.Can anybody help me with this question??
Re: Repetition (For and While)
Programming
Software Development
15 Years Ago
by Ancient Dragon
>>Can anybody help me with this question?? Yes, start here. Then post the code that YOU have written and ask some questions if you need to. Read in your text book about loops. [code] #include <iostream> using namespace std; int main() { // put your program here } [/code]
Re: Repetition (For and While)
Programming
Software Development
15 Years Ago
by mrnutty
Do you know about arrays yet?
Re: Repetition (For and While)
Programming
Software Development
15 Years Ago
by dag7399
[QUOTE=firstPerson;997604]Do you know about arrays yet?[/QUOTE] nope.can you help me solve my problem??please...
Re: Repetition (For and While)
Programming
Software Development
15 Years Ago
by dag7399
hey there FirstPerson.I m new with c++ so i think i m zero with it.can you help me with my problem??
Re: Repetition (For and While)
Programming
Software Development
15 Years Ago
by mrnutty
Sure. Start with Ancient Dragon code. I think you are expected to use arrays, otherwise using a for loop is pointless with for this program. Then create 10 int variables like so : [code] int TenVariable[10]; [/code] use for loop to ask user to input variables; [code] for(int i = 0; i < 10; i++) { cout<<"Enter variable number :…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC