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 SkipVought 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: *

  1. mkosloff

    simple string parsing error, help please!

    if anyone can help me on this, I'd really appreciate it!
  2. mkosloff

    simple string parsing error, help please!

    Okay, thanks for the help. I am still getting a return value of "6" for this, and after making the change you thought in your last post, it only prints one entry of "6" and does not print the name of the variable it's counting. As for the variable that counts the spacing, I...
  3. mkosloff

    simple string parsing error, help please!

    thanks! now it's outputting, but each counter has a value of "6", which is strange because my file has 7 lines of code, and each counter should have a value of 1 each. no idea what the problem is.... ------------------------ open(FILE,'tt') || die "Unable to open 'tt'...
  4. mkosloff

    simple string parsing error, help please!

    I am coding a simple program that counts the amount of lines in a file that have specific things, like the string "ing" or begins with a capital letter. My program runs without printing any output, just the top "Word Count" header. If anyone can see what I'm doing wrong, I'd...
  5. mkosloff

    perl - word frequency coding help

    ok, Thanks again! Here's where I'm at, but it's not even compiling and I'm feeling stuck... it's getting a problem with the line above my first If statement. Thanks again for the help! -------------------- dPrint(); exit (0); sub dPrint() { open( F,'tt') || die while (<F>)...
  6. mkosloff

    perl - word frequency coding help

    thanks! i am working on it now, but am having problems opening my file.. grrr
  7. mkosloff

    perl - word frequency coding help

    I am working on making a simple program that reads a file and does these things: Counts the amount of lines that have &quot;ing&quot; in them Counts the amount of lines that begin with a capital letter Counts the amount of lines that begin with a space Counts the amount of lines that end with a...
  8. mkosloff

    simple perl problem - counting strings?

    I am writing a program that takes a file, reads all the words as lower case, and then prints alphabetically the list of the all the words used, and the frequency of how often they appear in the program. i am using a simple file with just this: You like this you cant wait to do this And I need...
  9. mkosloff

    c++ simple hashing function help

    does anyone have the c++ code for a simple hashing function with a modulo? i am trying to figure out how to read numbers from a data file and hash them into specific locations using a simple modulo function, any help would be greatly appreciated.
  10. mkosloff

    simple perl program problem

    thanks! i just started trying to learn perl, this has been a huge help.
  11. mkosloff

    simple perl program problem

    thank you! that was definitely my problem. and fyi, the program was just a small program that alphabetizes a list of names that the user enters, a &quot;X&quot; entered will print out the list. now if only i could figure out how to keep the X out from being printed at the end..
  12. mkosloff

    simple perl program problem

    i cant for the life of me figure out what's wrong with this perl program. it takes the first input, and then freezes after that, missing all the other lines. anyone who can solve this (probably simple) problem for me, i'd really appreciate it! print &quot;Please enter names, enter X to quit...

Part and Inventory Search

Back
Top