Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
read-line
- Page 1
Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
…in the index. * With at most one single disk
read
, assuming the index is in memory, it determines whether …hand and using quotation marks (“) to indicate repetition from the
line
above —for example: John Miles “ Smith DiDi applies a…"John Miles", we
read
1J, confirm it matches at position 1, and
read
record 1. The index is …
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by lennyli
… call last): File "C:\Users\maxwi\client.py",
line
18, in <module> main() ~~~~^^ File "C:\Users…\maxwi\client.py",
line
6, in main client_socket.connect(('192.168.0.2', 9999…
Re: The Impact of User Research on UX Design
Digital Media
UI / UX Design
3 Weeks Ago
by john_111
… paid good money for to put an art museum on
line
so visitors could view the museum contents. It was a…. He used grey text on a bluish background. (Hard to
read
.) The page links were a slightly different shade of grey…
Re: What Happened When We Applied Psychology-Backed Tweaks to a Funnel?
Digital Media
Digital Marketing
3 Weeks Ago
by graceweb
It’s amazing how just a few strategic changes can turn a struggling funnel into a success story. The emphasis on trust signals and emotional storytelling really resonates—those elements create a connection that can be the deciding factor for prospects. Thanks for highlighting those key takeaways! It’s a good reminder that sometimes it’s not …
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
3 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
2 Weeks 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 …
McCharts - ArkTS
Programming
Software Development
1 Month Ago
by 杨_659
…includes four parts: text label, Y-axis
line
, dividing
line
, and scale
line
. Those who know canvas know that canvas … the starting coordinates of the y-axis
line
, scale
line
, and dividing
line
all need to be calculated by adding… I will also write some logic in the code. Please
read
the code carefully: ```js build() { Canvas(this.context)…
Re: What Happened When We Applied Psychology-Backed Tweaks to a Funnel?
Digital Media
Digital Marketing
2 Months Ago
by asadkhan12
… down each principle and its application makes this a must-
read
for marketers. For anyone struggling with underperforming funnels, this is…
Read line by line from 2 text files and compare both and generate a report!!
Programming
Software Development
16 Years Ago
by all blacks
Read
line
by
line
from data2.txt, compare with data1.txt lines, if match , …
line
1 This is
line
2 This is
line
3 This is
line
4 This is
line
5 data2.txt This is
line
5 This is
line
… 1 Result.txt should be: --------------------- This is
line
2…
Read line to string, get first char
Programming
Software Development
14 Years Ago
by SgtMe
… I am using istream to open the file and
read
the lines, but I need a way of testing… outfile ifstream outfile; outfile.open(out_path.c_str()); //
read
line
char
line
[35]; outfile.getline(
line
, 35);[/CODE] Now I just need to get… the
read
line
into a string, and check the first letter. …
read line by line of file and store to array C
Programming
Software Development
13 Years Ago
by guidely
Hi, How to
read
line
by
line
of text file and store to array C data.txt example [CODE] 1234 25500 24000 1 1345 23523 21209 5 9865 12389 600 98 .... [/CODE] and sorted in order by last column I try everything and it not working Thank
Re: read line by line of file and store to array C
Programming
Software Development
13 Years Ago
by D33wakar
[QUOTE=guidely;1664174]Hi, How to
read
line
by
line
of text file and store to array C data.txt …
Read Line from serial port buffer
Programming
Software Development
18 Years Ago
by Ahmed Waheed
[COLOR=Black]:) please,want help: how can i
read
line
"Message ended with <CR><LF> " from serial port buffer using ReadFile() API function . I was do that and worked good ,but when enter into large for loop it returned NULLs. so i want to know where is the problem?!! :rolleyes: thanks !;) [/COLOR]
Re: Read line by line from 2 text files and compare both and generate a report!!
Programming
Software Development
16 Years Ago
by ivailosp
…> data1; if (ifs1.is_open()){ string
line
; while(getline(ifs1,
line
)){ data1.push_back(
line
); } } else{ cout << ….txt"); if (ifs2.is_open()){ string
line
; while(getline(ifs2,
line
)){ for(size_t i = 0; i <…; data1.size(); ++i){ if (
line
== data1[i]) data1.erase(data1.begin()+i); } } } …
How read line by line a .txt document
Programming
Software Development
16 Years Ago
by jasonperez
… problem is to create the code to open and
read
this. My code is.... [code=cplusplus] #include… I need to implement the process to
read
line
by
line
the filename with fscanf or fread and …robotID, char *labelString); /**<default constructor, opens file to
read
from */ virtual ~CgpsfromFile(); /**<default destructor, closes file…
Help-Read line from the text file
Programming
Software Development
16 Years Ago
by rainny
Hi, does anyone know how to
read
the specified
line
from a text file? And by create a program, we can load what is write inside the text file and
read
line
by
line
to show at the program. Does anyone have idea on it? Thanks and regards Rainny
Re: Help-Read line from the text file
Programming
Software Development
16 Years Ago
by Taniotoshi
… can load what is write inside the text file and
read
line
by
line
to show at the program.[/QUOTE] Do I understand… should focus on the constructor, add and get methods... So: -
read
file using Scanner - Store contents in ArrayList - print ArrayList [B…
error in while read line
Programming
Software Development
11 Years Ago
by changeworld4u
…....... field3.....field4..... BKP0000032284140217000019CCTP1220 ............... BKP0000032384140217000019CA ..................... each
line
has 5 fields Now using shell script i am… grep "^BKP" >file2.txt While
read
line
do awk '{if((substr($1,12,2)==84) …
Bug with read line
Programming
Software Development
14 Years Ago
by Dark2Bright
… script test.sh like this [CODE]#!/bin/sh while
read
line
do echo $
line
>> out.txt done < test.txt[/CODE…
Re: read line by line of file and store to array C
Programming
Software Development
13 Years Ago
by guidely
I can do only
read
first element and store to array the…"); /* open a text file for reading */ while(fgets(
line
, sizeof
line
, file)!=NULL) { /* keep looping until NULL pointer... */ …;Lines of numbers.txt file are: %s",
line
); numbers[i]=atoi(
line
); /* convert string to double float*/ i++; }…
Re: read line by line of file and store to array C
Programming
Software Development
13 Years Ago
by D33wakar
… not even using it: [QUOTE=guidely][CODE]numbers[i]=atoi(
line
); /* convert string to double float*/[/CODE][/QUOTE]But that's…
Re: read line of text from file into array
Programming
Software Development
16 Years Ago
by VernonDozier
…i try to edit to make changes to
read
the
line
of text from a file i get …message: I need to be able to
read
in a
line
and spilt the words into an array so… whole program? I don't see where [ICODE]
line
[/ICODE] is declared. You have two [ICODE]getline… correct, which it is not, overwrites [ICODE]
line
[/ICODE], which I imagine is supposed to be …
Re: Read from and write on Text files
Programming
Software Development
13 Years Ago
by nezachem
…), execute the command "$
line
" -lt 200 -- $
line
is a contents of the
line
you've just
read
, not a sequence number. Taking…;, I suspect that your file consists of numbers, one per
line
, all of them less than 100 (this is the only… lines: for ((i=0; i<100; i++)); do
read
line
; done #
read
and echo next 100 lines: for ((i=0; i<…
read line of text from file into array
Programming
Software Development
16 Years Ago
by AdRock
… but when i try to edit to make changes to
read
the
line
of text from a file i get an error…;' to 'char[]'[/QUOTE] I need to be able to
read
in a
line
and spilt the words into an array so i…; cout << "System >> Enter file to
read
: \n"; cout << "User >> "…
Read a line from a txt file
Programming
Software Development
15 Years Ago
by chico2009
…an alarm lineA = fin.readline[lpa].strip() #
Read
line
indicated by pointer a and delete CR TypeError: 'builtin_function_or_method…is complete lineA = fin.readline[lpa].strip() #
Read
line
indicated by pointer a and delete CR lineB =… fin.readline[lpb] #
Read
line
indicated by pointer b newString = "%s\…
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