Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tokra
  • Content: Threads
  • Order by date
  1. tokra

    finite state machines

    I have an application where I have to read in large quanties of data from a file. The records are mixed binary and ascii having no standard format save a 4 charachter delimiter at both the beggining and end of a record. The delimiter is assummed but not garunteed to only occur there and not in...
  2. tokra

    caching files

    I am processing files of our SAN, to minimize network load and load on the SAN (it is an issue in my enviornment) I want to cache the entire file to memory when it's opened. Writing my own file class is what I'm doing right now, but I am finding out how much of a pain it is. The file is part...
  3. tokra

    ofstream

    I am trying to write a program to verify that a hard drive can store data without corrupting it. I have written a class called randomData that is filled with a std::vector of 1k std::strings. The program prompts you for how big you want to make the class and then how times you want to repeat...
  4. tokra

    compromise output vs speed

    recently I've had to write a couple of apps that parsed text files that were a couple of gigs apiece. I wanted to output to the user that some progress is beeing made, but I don't wan't do it every line. I've come up with two solutions and was wonering which one is closer to whatever the...
  5. tokra

    writing data do stdin

    I'm trying to make a cgi program that will clean up and validate the requests before passing them on to the appropriate script. After a post, how do I put the string back into stdin so a program that I call using system will have it waiting for it? WR
  6. tokra

    microsoft ifstream

    How do I verify wheather or not a file that i know exists is open by another program. I was thinking of opening a std::ifstream with sharing set to filebuf::sh_none and checking to see if that failed. That is from the old implementation of ifstream though. I was wondering how do I do it with the...
  7. tokra

    Style

    I taught myself c++. I know most of the language. I don't know any API's of substenace. What are some of the resources worth spending time on to improve. I have Soustrop's book and Meyers book. Meyers book is an exellent read, but I also need a resource that goes over the basics like: global...
  8. tokra

    Newbi question

    I have to configure an LDAP server so iplanet can authenticate users. It seems like it's a database that has a hirarchy. So here are some questions pertaining to the technology in general. 1:Why can't I store the data in an actual RDBMS or an XML file? What solutions does LDAP provide? 2:some...
  9. tokra

    Administrator lockout

    I have a win2k professional SP3 system. It is not part of a domain. It has a corperate baseline loaded, that has been configured so that password complexity requirements and lockout policy applies to the administrator account. When I try to log on it says the administrator account has been...
  10. tokra

    tcp connections and pid's

    Does anyone know how to enumerate tcp connections and the associated pids. I looked at the IP helper API but I couldn't find anything that would give me PID's. WR
  11. tokra

    backup

    I am not a dba, but its what I'm stuck doing right now so I have some questions. I have a DB with a couple hundred million records that i need to come up with a backup strategy for. The target is to be at that same point time that the failure occured at within 1 day. Taking the db down for...
  12. tokra

    qsort

    I was brushing up on sorting algorithims so I went and wrote a quick sort.It runs successfully and its fast. I looked at some source code online and my code bore no resemlence whatsoever to it so I will post it and ask the following questions. 1:Is this a correct implementation of the quicksort...
  13. tokra

    Visual c++.net

    I just got my hands on visual c++.net 2002. I am aware that it ships without the optimising compiler but will someone explain why that release build of #include <iostream.h> int main() { cout << &quot;Hello world&quot;; return 0; } compiles to 40k and the release build of #include...

Part and Inventory Search

Back
Top