CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: PC_flea

Search: Search took 0.04 seconds.

  1. Re: String counter doesn't count the appropriate strings properly

    I pulled off the source code from a notepad copy. The counter was supposed to be a "5" and not "10".
    Unfortunately, though the counter value is set at 5, it still doesn't work.
    What's wrong with...
  2. String counter doesn't count the appropriate strings properly

    I have this source code that is supposed to count the repeated occurrences of certain strings in the text file, "string.txt". The contents of the file are listed below:


    But as I checked it...
  3. Re: how do I fix a "java.lang.ArrayIndexOutofBoundsException:6" problem?

    I want to clarify something: the zero in "maxLines-- > 0" means that that is the index of the first line in the list of strings in the text file - is my assumption correct? :confused:
  4. how do I fix a "java.lang.ArrayIndexOutofBoundsException:6" problem?

    I have this program to see the occurrences of a character in a string stored in a text file.
    My text file has the following contents (as shown below):


    As you notice, each character is...
  5. Counting the frequency of numbers inside a text file

    I have a source code here that counts the frequency of alphabetic characters and non-alphabetic characters (see the source code below).


    import java.io.*;

    public class letterfrequency {...
  6. Re: How to insert the value inside an array's cell into a char variable?

    From member, nuzzle -

    My reply - not really. I just thought that would be the answer to my problem. I really am focused on putting that very value into the switch statement. I could use nested...
  7. Re: How to insert the value inside an array's cell into a char variable?

    If in case I get the new JRE, would I still have to use the code lines you suggested? Or is there some way of getting
    the value of that specific array cell to be a switch value with a new JRE...
  8. How to insert the value inside an array's cell into a char variable?

    I have this program in Java to read a database written in a .txt format (file name is "info.txt").

    It has the values record number, name, age, state, and salary class written in it. I've named...
Results 1 to 8 of 8





Click Here to Expand Forum to Full Width

Featured