convert this code from c++ to C# [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i cant convert d->max to C# i use openssl and the problem of convert c++ to C# the bignum of Rsa->d i cant found it in Openssl Reference in C# rsa.d not found
rsa->n
rsa->e

If we limit ourselves purely to the code in the question, then -> is the pointer-to-member operator. In C# for both values and references that is ., so the equivalent code is just rsa.n, rsa.e and d.max. Unless it is an unsafe pointer to a struct, in which case rsa->n, rsa->e and d->max (so: the exact same code, but this is very unlikely in most C#).
However, I do not expect that will help you - I think you need to step back a few steps and look at what you are trying to do, rather than blindly trying to convert a sample you don't understand. It may well be that the actual solution here is to use a different library.

Related

C# / .NET built-in interfaces list [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm looking for full C# standard interfaces list. I'm almost sure that such topic was posted somewhere on MSDN, but I can't find it. Does anyone has a reference?
im sorry but such doc does not exist...
See, msdn documentation is organized by "namespaces", so... you can see that such document would not fit anywhere... by the way, why would you want that?!? if you compile the documents of each interface in the basics dll (system, text, system.data, linq, etc...) you would have a quite large document that would cause more confusion than "de-confusion", since in diferent namespaces interfaces may have the same name...

Running Java code in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am writing a silverlight application using c#. For the project I need to be able to compile and download a program to an external drive. I have the code to do this however it is written in Java.
The code is extensive and would take an excessive amount of time to translate all of it into c#. Is there an alternate way to translate the code into c# or is there a way to run java code within a c# project?
You could always compile it as an executable and run it with Process.Start.
You can use IKVM.net to convert the jar to a dll
In google you can find a online service for it or change same code witch doesn't work

C++ Armadillo code in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I would like to use Armadillo in a C# application, Anyone had any experience using armadillo in C#, I am not familiar with C#.
I know armadillo has a .dll, is there anyway to import this dll in c#...
Armadillo is heavily based on templates, so you won't be able to use it with C# without overwhelming work.
If you have to use LAPACK, BLAS or Eispack with C# you can use DotNumerics
DotNumerics is a Numerical Library for .NET. The library is written in pure C# and has more than 100,000 lines of code with the most advanced algorithms for Linear Algebra, Differential Equations and Optimization problems. The Linear Algebra library includes CSLapack, CSBlas and CSEispack, these libraries are the translation from Fortran to C# of LAPACK, BLAS and EISPACK, respectively.

extract meaning of a word in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I m doing a project which invoves extracting the semantics of a word. While doing some resaerch I found out it's better to get Synonyms of a word rather than trying to extract semantics.
What is the best way of doing this. I only need to get the synonym of a word.
Please help.
Find a thesaurus. Pay attention to its licensing. E.g., Roget's Thesaurus. There may be one that is better-suited to being parsed programmatically.
Parse the thesaurus. For example, you could might store it in a Dictionary<string,List<string>>.
Look up entries as needed. How this is done depends on what data structure you stored it in. It's pretty easy in a Dictionary.
If you have trouble with a specific step in this process, feel free to ask. Your question is a bit too open-ending for me to know exactly what part to focus on.

where is csharp source code is used sharepoint [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
please provide the csharp area in sharepoint. what are the part csharp source is used. how can be document loaded in the sharepoint. whether it can be done through by c sharp.
Almost everything on SP is built into assemblies, so you can't see the C# source. You can use a tool like Reflector to disassemble these assemblies (but they could be obfuscated).
If you want to upload documents through C# have a look at the WebServices. Here's a pretty good tutorial.

Categories