Forum: C# Nov 15th, 2006 |
| Replies: 6 Views: 5,278 No, the while loop is an essential part to make you possible to read all the lines of the text files using StreamReader.ReadLine().
Before I continue, can you explain first, what should method... |
Forum: C# Nov 14th, 2006 |
| Replies: 4 Views: 4,263 Yes, I agree with iamthwee and tgreer. That's why I'm asking you whether you already know how to read the pdf file or not. Since it's a big obstacle to solve first, before goes into your main... |
Forum: C# Nov 14th, 2006 |
| Replies: 4 Views: 4,263 Do you already know how to read a pdf file? how the format, and so on?
regards,
Lok |
Forum: C# Nov 14th, 2006 |
| Replies: 6 Views: 5,278 Hi, your problem is not related to the text file that you want to read. The real problem is because you create a method that has a return value of type string, but inside the method's logic, there's... |
Forum: C# Nov 13th, 2006 |
| Replies: 8 Views: 4,735 Easy then, no need to use any hashtable, just use array of boolean.
private bool[] flag = new bool[10];
each time you iterate the integer array, check against the flag array using the current... |
Forum: C# Nov 13th, 2006 |
| Replies: 8 Views: 4,735 Sorry, forgot to asking.. is all the integers are 1-digit (0 to 9)?
regards,
Lok |
Forum: C# Nov 13th, 2006 |
| Replies: 2 Views: 2,114 Actually I'm not sure with kind of coding that you do (maybe a code snippet will help), but from what I'm understanding from reading your post, that you try to invoke GUI-related function from... |
Forum: C# Nov 13th, 2006 |
| Replies: 8 Views: 4,735 Before that, please confirm. What is the input parameter of the function? is it an array of integers? or a string?
since you mention that the function must return the same array (no allocation),... |