Type: Posts; User: Eli Gassert
Search took 0.08 seconds.
November 21st, 2007, 12:27 PM
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...
November 21st, 2007, 11:35 AM
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)...
October 9th, 2007, 03:43 PM
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...
October 9th, 2007, 03:14 PM
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...
October 9th, 2007, 11:07 AM
Thsi code is untested...
void printarray (const vector<int> &invector)
for(vector<int>::const_iterator i = invector.begin(); i != invector.end(); ++i)
cout << *i << endl;
October 9th, 2007, 09:58 AM
vector does not belong to the global namespace. Under your includes, add
If you do'nt add that using statement (or the more general [but less desirable] using...
July 25th, 2007, 02:27 PM
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 if you want.
on data bind, load the strings...
July 22nd, 2007, 01:34 AM
or, for that matter, try calling d1.display1();
then change it to public inheritance and try calling d1.display1();
July 22nd, 2007, 01:29 AM
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.
July 17th, 2007, 01:51 PM
You already have C# (.NET, really) 2.0 as I'm sure you already have 3.0.
C:\WINDOWS\Microsoft.NET\Framework (or whatever your windir is). There you'll see all the versions you have.
June 27th, 2007, 06:30 AM
Look up xpath. Use xpath to search for "item/title" and "item/link" (or "/item/title" or just "title",etc. It really depends what scope you're at.)
Check out xpath and then get back to us.
June 20th, 2007, 11:56 AM
use the break statement.
search: loops break continue
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...
April 23rd, 2007, 02:53 PM
Nowhere in the code that you pasted does the text "misip249" appear, which means the important part isn't there. Try again ;)
April 23rd, 2007, 01:46 PM
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.
April 23rd, 2007, 01:38 PM
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...
April 23rd, 2007, 12:43 PM
This is wrong for so many reasons :)
Below is a corrected solution (untested, but I think it'll be fine).
April 22nd, 2007, 09:03 AM
I found an example of how the full situation plays out:
April 22nd, 2007, 09:02 AM
This is almost word-for-word for how I see this example played out in a few of the "in depth" series books by A&W :)
You need to use the using statement.
April 20th, 2007, 03:00 PM
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...
April 20th, 2007, 11:16 AM
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.
April 20th, 2007, 11:12 AM
the function name is ById, and you're only setting the name attribute. It doesn't work that way.
An ID has to be wholly unique in a document. It's the unique identifier. You can have multiple...
April 19th, 2007, 05:19 PM
You'll want to work with the following functions
'profile (INI file) subs & functions
Declare Function GetProfileString Lib "kernel32" Alias "GetProfileStringA" (ByVal lpAppName As String,...
April 16th, 2007, 05:50 PM
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...
April 16th, 2007, 04:19 PM
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...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.