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

Search:

Type: Posts; User: Intruz

Search: Search took 0.05 seconds.

  1. Replies
    11
    Views
    2,076

    Re: Please help (iteration)

    Thank you again for your help



    the method supposed to print out name and year of latest album of an artist
    or "no artist" if there is no such an artist

    the lists of artists CDs are already...
  2. Replies
    11
    Views
    2,076

    Re: Please help (iteration)

    Thanks for your help.



    Putting "return;" inside "if" solved my problem.



    ...
    ...
  3. Replies
    11
    Views
    2,076

    [RESOLVED] Please help (iteration)

    Hello all,


    I have written a method and it works almost as it should.



    public void recent(String anArtist)
    {
    List<CD> artistCDs = new ArrayList<CD>();
  4. Replies
    3
    Views
    1,346

    Re: collections, maps, lists problem

    Went back to books and then spent some more time on it and finally got solution




    public void displayCDs()
    {
    List<CD> currentCD = new ArrayList<CD>();
    for ( String eachCD :...
  5. Replies
    3
    Views
    1,346

    Re: collections, maps, lists problem

    thanks for the reply.


    My task here is to write method displayCDs() that will cause to display details of all the CD s in the library each in new line.I still have no clue how to do it

    thnks...
  6. Replies
    3
    Views
    1,346

    [RESOLVED] collections, maps, lists problem

    Hello All,


    I have spent qite a bit of time trying to solve my problem, but it looks like I'm not getting even close.




    public class MusicLibrary
    {
  7. Replies
    6
    Views
    1,609

    Re: [RESOLVED] String problem.

    Thanks again.

    I was so exited when the code worked that I didn't check it properly.
  8. Replies
    6
    Views
    1,609

    Re: [RESOLVED] String problem.

    Thanks for pointing bad bits in my code, preciate your help.
    I'll try to correct it.
  9. Replies
    6
    Views
    1,609

    Re: String problem.

    I've spent few more hours playing with this code and finally it works as it should




    public static String lastTranslate(String aString)
    {
    String[] choppedString = new...
  10. Replies
    6
    Views
    1,609

    [RESOLVED] String problem.

    Hello All,

    here is the code I have came out with, but it doesn't work as it should.
    I have tried to get it working correctly but now I have ran out of ideas.




    public static String...
  11. Re: Help! Replacing occurrences in substring

    Thanks.


    Now it is crstal clear.

    I've got rid of result string and worked on bString.


    Taknks again.
  12. Re: Help! Replacing occurrences in substring

    Thanks for the reply.
    I Have noticed that code is overwriting the result, but how to get it working correctly? is the whole code to be changed or just some of it?
    I've spent quite a bit of time on...
  13. [RESOLVED] Help! Replacing occurrences in substring

    Hello All,

    I am new to Java, I'm stuck with this code:


    public static String[][] numbers =
    {
    {"8", "a"},
    {"4", "b"},
    {"2", "c"},
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured