Lower level languages will give you the most flexibility. C++ DLLs can be called directly from C# (as well as _many_ other languages) without any additional code; you set up an external reference...
You can do a few things:
1) You can use C++/CLI to integrate in with .NET, thus being able to call the managed code directly from within C++ (though your executable is then tied directly to .NET)...
You read a blank line... that blank line fills zero characters of the buffer. The get function returns 0 as the # of characters read into the sz buffer. The while loop ends because it thinks it...
I'm not quite sure what you're trying to accomplish with the first way of reading the data. You're limiting yourself to 100 characters per line, so assuming you want to append the \n character is...
A collection of strings, either List(of string) or the likes, should work just fine. You can further restrict it by making your collection string[31] if you want.
Derive another class from Derived_public and try to access Base's public stuff; then change Derived_public back to public inheritence and see if your new class can access Base's public.
it's ok to ask for help, but please do not post your homework questions and just expect answers. Instead, try them out yourself and, if you get stuck on a particular piece of a question, then feel...
if your code compiles, then view it in a browser. Then view source, find the HTML that is produced from the code you showed above, and paste that piece of HTML.
it'll be easier if you paste me the rendered content. This kind of string building is a pain in the butt to look at without debugging it by looking at the rendered content, so can you get it to...
I found an example of how the full situation plays out:
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/overload_member_fn_base_derived.htm
Please read up on what a static method is. You can't access member functions because a static method is stateless. It does not require an instance of a class to be called and can be called directly...
I'm not sure if you can do this with a single xpath. If you find a solution, please let me know! But it would seem that you first have to get each element and then select its third value.
throw and catch by reference. Using the "new" operator is unnecessary and wasteful/dangerous. Also, you should catch specific exception types and not a "catch all." In this case, you are creating...
Creating an IDOK button is an acceptable solution, but if it is not, in fact, an "OK" button for the dialog I would recommend using the SetDefID method and reserving the IDOK ID for the actual OK...