473,395 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

analiza pliku tekstowego

sjf
Witam wszystkich,

mam program, który czyta plik tekstowy wiersz po wierszu
program ma sprawdzać czy w wierszu obecnie wczytanym do pamięci występuje
konkretny ciąg znaków, jeżeli tak to ma ten wiersz skopiować do nowo
utworzonego pliku
w jaki sposób uzyskać wyszukiwanie wzorca?
pytanie dodatkowe: czy da się potraktować dwa kolejne wiersze jako jeden
(wiem, że w konkretnym przypadku jest to jeden wiersz tyle tylko, że
przełamany), tzn. program wczytując wiersz "wie", że jest on przełamany i
trzeba wczytać jeszcze kolejny...?

pozdrawiam
sjf
Jul 18 '05 #1
1 2595
sjf
> Witam wszystkich,

mam program, który czyta plik tekstowy wiersz po wierszu
program ma sprawdzać czy w wierszu obecnie wczytanym do pamięci występuje
konkretny ciąg znaków, jeżeli tak to ma ten wiersz skopiować do nowo
utworzonego pliku
w jaki sposób uzyskać wyszukiwanie wzorca?
pytanie dodatkowe: czy da się potraktować dwa kolejne wiersze jako jeden
(wiem, że w konkretnym przypadku jest to jeden wiersz tyle tylko, że
przełamany), tzn. program wczytując wiersz "wie", że jest on przełamany i
trzeba wczytać jeszcze kolejny...?

pozdrawiam
sjf


I'm sorry, not this group
:(
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Piotr Wolski | last post by:
hello, as always i have a problem:-) i'm using HTML form. User is adding some date to this form and after that i'm generating plot. When plot is generated i can see en empty form and a plot. I...
3
by: Faree | last post by:
Hi, I am a PHP Developer.can any one help me on image upload and display of that image.what i want is uploading an image to a directory ,displaying of that image as a thumbnail.when i...
4
by: sun6 | last post by:
this is a program counting words from "text_in.txt" file and writing them in "text_out.txt". it uses binary tree search, but there is an error when i use insert () thanks for any help ...
5
by: PawelR | last post by:
Hello group, I my apps I have two dataGrids - dgParent, dgChild to show rows from two tables. Tables are relations one to more in dataBase. I use sqlDataAdater (sdaParent, sdaChild) to fill myDS....
0
by: Dzemo | last post by:
i use this code to get data into dataset cmd.CommandType = CommandType.Text cmdUpdate.CommandType = CommandType.Text cmdUpdate.CommandText = "Update BigOne Set Rezultat=? where ID=?" ...
0
by: wolf2300 | last post by:
readline method and national charset problem hi how can i copy line from text file which contains polish characters. i use readline method from StreamReader class but it doesn't copy polish...
6
by: s_4 | last post by:
Hello! Sorry about my english - I write to you from poland. I have strange problem. Bind() return '16'. Documentation say that it should return 0 (no error) or -1 (some error). Here is the code...
1
by: sg_pl | last post by:
Witam szanownych grupowiczów, mam pytanie odnośnie aplikacji dla PPC. Otóż jedna z firm, która pisze dla nas oprogramowanie chce napisać nam program na urządzenia PPC dla naszych nazwijmy to...
3
oll3i
by: oll3i | last post by:
i want in my ejbCreate() to create the database , tables and populate the tables is it allowed? my ejbCreate() connects to the database but it does not create the tables public void...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.