public class Text public int CStringHex hex CStringBit bit CString str

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
public class Text
{
public int n = 0, m = 0;
CStringHex[] hex;
CStringBit[] bit;
CString str;
CString str2;
public Text(int numHex, int numBit)
{
n = numHex;
m = numBit;
hex = new CStringHex[numHex];
bit = new CStringBit[numBit];
}
public void setString()
{
Console.WriteLine("Hex Strings: ");
for (int i = 0; i < n; i++)
{
str = hex[i];
str.setString();
}
Console.WriteLine("Bit Strings: ");
for (int i = 0; i < m; i++)
{
str = bit[i];
str.setString();
}
}