Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
QuestionMessage Closed Pin
2-May-17 6:44
SHALCHAUHAN2-May-17 6:44 
AnswerRe: Regarding Website Pin
NotPolitcallyCorrect2-May-17 6:54
NotPolitcallyCorrect2-May-17 6:54 
AnswerRe: Regarding Website Pin
User 41802543-May-17 2:56
User 41802543-May-17 2:56 
QuestionLink DLL at runtime Pin
icristut2-May-17 1:36
icristut2-May-17 1:36 
AnswerRe: Link DLL at runtime Pin
Richard MacCutchan2-May-17 2:22
mveRichard MacCutchan2-May-17 2:22 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 2:29
icristut2-May-17 2:29 
GeneralRe: Link DLL at runtime Pin
Richard MacCutchan2-May-17 2:35
mveRichard MacCutchan2-May-17 2:35 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:29
icristut2-May-17 4:29 
GeneralRe: Link DLL at runtime Pin
Pete O'Hanlon2-May-17 4:38
mvePete O'Hanlon2-May-17 4:38 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:44
icristut2-May-17 4:44 
GeneralRe: Link DLL at runtime Pin
Dave Kreskowiak2-May-17 4:16
mveDave Kreskowiak2-May-17 4:16 
AnswerRe: Link DLL at runtime Pin
ZurdoDev2-May-17 4:38
professionalZurdoDev2-May-17 4:38 
GeneralRe: Link DLL at runtime Pin
icristut2-May-17 4:41
icristut2-May-17 4:41 
QuestionForm Designer Pin
Mangesh Sachane2-May-17 1:15
Mangesh Sachane2-May-17 1:15 
AnswerRe: Form Designer Pin
Pete O'Hanlon2-May-17 1:35
mvePete O'Hanlon2-May-17 1:35 
SuggestionRe: Form Designer Pin
Jochen Arndt2-May-17 1:38
professionalJochen Arndt2-May-17 1:38 
QuestionHelp to convert C into C# Pin
Vulaye1-May-17 22:52
Vulaye1-May-17 22:52 
AnswerRe: Help to convert C into C# Pin
Jochen Arndt1-May-17 23:19
professionalJochen Arndt1-May-17 23:19 
This site does not provide code conversion services.

But there should be no problems to convert the calculations. Besides the variable declarations that code portions can be used as they are.

To print to the console use Console.WriteLine(). The C %g format corresponds to the default C# floating point format. If you need other formats use for example Double.ToString(string format).

The code for writefich() is not shown. So I can only guess that it writes raw data (binary) arrays to a file. If so, use the BinaryWriter class (see BinaryWriter.Write Method (Double) (System.IO)[^]). If the files are text files use the TextWriter class instead.
AnswerRe: Help to convert C into C# Pin
OriginalGriff1-May-17 23:35
mveOriginalGriff1-May-17 23:35 
GeneralRe: Help to convert C into C# Pin
Vulaye1-May-17 23:43
Vulaye1-May-17 23:43 
GeneralRe: Help to convert C into C# Pin
OriginalGriff2-May-17 0:24
mveOriginalGriff2-May-17 0:24 
QuestionA way to overlay a transparent image on the screen that does not respond to the mouse. Pin
bions1-May-17 7:06
bions1-May-17 7:06 
GeneralRe: A way to overlay a transparent image on the screen that does not respond to the mouse. Pin
Richard MacCutchan1-May-17 7:26
mveRichard MacCutchan1-May-17 7:26 
GeneralRe: A way to overlay a transparent image on the screen that does not respond to the mouse. Pin
bions1-May-17 10:24
bions1-May-17 10:24 
GeneralRe: A way to overlay a transparent image on the screen that does not respond to the mouse. Pin
Dave Kreskowiak1-May-17 14:06
mveDave Kreskowiak1-May-17 14:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.