Skip to content

Remove nested for loops in several files in /examples/ #46

@Afwas

Description

@Afwas

In a few [...]PBN.cpp files there is a nested for loop:

for (int h = 0; h < DDS_HANDS; h++)
  for (int s = 0; s < DDS_SUITS; s++)
    strcopy(DDdealsPBN.deals[handno].cards, PBN[handno]

This is needed in the [...]Bin.cpp files where the cards are copied one by one. In the PBN files this is not needed because here it is a simple string copy (the PBN string).

I'll try to add a pull-request to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions