Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
character
- Page 1
Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
… Smith", the index is initially empty. The first differing
character
(compared to “nothing”) is J at position 1, so the…
Re: Differential Directory, indexing method
Programming
Software Development
3 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
3 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
3 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
3 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
3 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 …
Re: character=getch
Programming
Software Development
12 Years Ago
by deceptikon
>
character
=getch means????? It means you need to realize that this isn't Twitter. You don't have a 140
character
limit, so please engage your brain and try to communicate like an intelligent human being. You'll get much better answers if you ask comprehensible questions. kthxbye.
character=getch
Programming
Software Development
12 Years Ago
by aunog.arafat
character
=getch means?????
Re: character=getch
Programming
Software Development
12 Years Ago
by Ancient Dragon
your quote is not right
character
=getch() -- notice that getch() is a function call It retrieves a single
character
from your computer's keyboard buffer.
Character animation using C
Programming
Software Development
12 Years Ago
by tyler.dahle
… struct readimagefile(
character
[i].frames[
character
[i].currentFrame],
character
[i].xCoord,
character
[i].yCoord,
character
[i].xCoord +
character
[i].charWidth,
character
[i].yCoord +
character
[i].charHeight );
character
[i].currentFrame…
Re: Character animation using C
Programming
Software Development
12 Years Ago
by tyler.dahle
Alright! We are getting somewhere! The
character
now animates and "moves" only when I press … problem! Where i was doing:
character
[i].xCoord +=
character
[i].xMove; I just needed to do:
character
[i].xCoord =
character
[i].xCoord + 5! Genius!
Re: Character animation using C
Programming
Software Development
12 Years Ago
by tyler.dahle
… exception? Since right now it just loops through and redraws
character
facing all directions. If I put keyboard hit it would…
Re: Character animation using C
Programming
Software Development
12 Years Ago
by tyler.dahle
… code above and implementing key hits to actually move the
character
.
Re: Character animation using C
Programming
Software Development
12 Years Ago
by Ancient Dragon
…() { for (int i = 0; i < MAX_LOOPS; i++){ if( !
character
[i].draws) continue; // wait for keyboard input while( !_kbhit() ) Sleep… c == 224) c = -getch(); // make it negative //Puts image of
character
on screen based on inputs from struct Here is a…
Re: Character distribution program
Programming
Software Development
15 Years Ago
by parry_kulk
…(int i=0; i<textChars.length-1; i++){
Character
currChar = new
Character
(textChars[i]); Integer cnt = charDist.get(currChar); if(cnt….sort(keys); Iterator itr = keys.iterator(); while(itr.hasNext()) {
Character
currChar = (
Character
)itr.next(); System.out.println(currChar+" : "+charDist.get…
Character Frequency Class Methods
Programming
Software Development
14 Years Ago
by emko
…, then outputs how many times each
character
appears in it. I am trying …charFrequency { public: char getCharacter(); void setCharacter(char
character
); long getCount(); void setCount(long count); void …increment(); private: char
character
; long count; }; int main() { charFrequency myCount…
Character Processing and use of Functions
Programming
Software Development
16 Years Ago
by nirav0190
…, maybe more. The last word in the sentence ends with
character
'.'. The maximum size of a word in text is 15…
character
. There should be three sentences tested. Included in the program … function, the input which is a
character
, the output is either 1, if the
character
is a vowel or 0 if the…
Re: Character Frequency Class Methods
Programming
Software Development
14 Years Ago
by VernonDozier
… and it stores one
character
and one long. You need one
character
and one long for each ASCII
character
(128 of them), so… class objects. Regardless, you need to end up with 128
character
variables and 128 long variables. Let's say you have…
Re: Character Frequency Class Methods
Programming
Software Development
14 Years Ago
by emko
… and it stores one
character
and one long. You need one
character
and one long for each ASCII
character
(128 of them), so… class objects. Regardless, you need to end up with 128
character
variables and 128 long variables. Let's say you have…
Character Identification
Programming
Software Development
10 Years Ago
by Papa_Don
…While reviewing this newly formated data I saw that a
character
was place at the beginning of each page. Thus, …more importantly, I need to know how to insert this
character
into my code. Because I am merging multiple reports …to see. My question is: What
character
is this, which VB code represents this
character
. In advance, thanks for your help…
Re: Character Identification
Programming
Software Development
10 Years Ago
by Minimalist
…/4/4805fc5176e56e308062f0cba33229dd.jpg "align-left") Unicode
character
U+2640 called the female or venus sign. It…unix program generated text and is probably a control
character
that is not understood by notepad and consequently …the unix control
character
was mapped to a unicode
character
. If you want to keep it…
Re: Character Identification
Programming
Software Development
10 Years Ago
by Papa_Don
Shark1, if I'm going to insert "Your
Character
", how is it I go about doing that? Minimalists tells me it is a UNIX
character
(Unicode
character
U+2640). Is there proper code to insert this like Dim yourCharacter As (what?) yourCharacter = 'Unicode
character
U+2640 Thanks.... Don
Character distribution program
Programming
Software Development
15 Years Ago
by ubundows
…assignment that is about writing a program that shows a
character
distribution with a counter that shows how many times some…problem here is how can I count for each Unicode
character
and to add the count to the int array and… ultimately output in a console each
character
with its count through 'System.out.println()'. Thanks in …
Re: Character Frequency Class Methods
Programming
Software Development
14 Years Ago
by hag++
… a certain string? For example: How many times does the
character
'p' appear in the string "apples"? And you… so, you should either make the constructor accept the search
character
and the string to be searched or make a method…
Re: Character Frequency Class Methods
Programming
Software Development
14 Years Ago
by VernonDozier
… I want to use a map to get from a
character
to a long when I can use a plain old…[sentence[i]]++; } char aChar; cout << "Enter a
character
: "; cin >> aChar; cout << aChar <…
Character not recognize
Programming
Web Development
13 Years Ago
by dean8710
… user can post comment but, some error occured: the special
character
' is not recognize it come like this: correct word: Hey…() allowed user to write html
character
if i delete it, the '
character
will printed out but, the html
character
will not showed up…
Re: Character Identification
Programming
Software Development
10 Years Ago
by Papa_Don
Minimalist, I understand Notepad doesn't recognize the
character
as anything. However this
character
is clearly needed, as I must delete the last… "file2". Therefore I need to add that UNIX
character
at the end of "file1" to ensure the…
Re: character processing
Programming
Software Development
21 Years Ago
by Dani
…. Store the letter you want to search for as a
character
. So what you will have to do is start at… a time. We look at the first
character
. Is it equal to our search
character
? If yes, increment our counter. Move to… the second element (
character
) in the array. Check if it is a match. Then …
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