I'm now doing a project, and what I need to do is firstly read a txt file using i/o stream. I've include the lib and since I need to do it in the .NET form (header) and I want to make it such that when I click the button, it will do the file read-in.
But I cannot add file declaration such things into the header, as there's no main func there. What should I do? Coz I wanna relate the file read-in to the button.
Million thanks!!
|
Team Leader
|
![]() |
| 4May2006,11:22 | #2 |
|
Can you frame your question again. I mean I could not get what you are asking? Are you looking for button click handler to be added or what?
|
|
Light Poster
|
|
| 5May2006,00:03 | #3 |
|
I have a form called form1.h, and respectively form1.cpp. I have the following code:
Code: CPP
Thanks again. Last edited by shabbir; 5May2006 at 07:23.. Reason: Code formating. |
|
Go4Expert Founder
|
![]() |
| 5May2006,07:27 | #4 |
|
Quote:
Originally Posted by kkyeung Quote:
Originally Posted by kkyeung Quote:
Originally Posted by kkyeung |


