Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
Questionexception error caused by reading text file Pin
Latheesan12-Jun-07 9:59
Latheesan12-Jun-07 9:59 
AnswerRe: exception error caused by reading text file Pin
turbochimp12-Jun-07 10:34
turbochimp12-Jun-07 10:34 
QuestionOffice Automation Pin
PHDENG8112-Jun-07 8:55
PHDENG8112-Jun-07 8:55 
QuestionWhere is FolderNameEditor Pin
Rome Singh12-Jun-07 8:35
Rome Singh12-Jun-07 8:35 
AnswerRe: Where is FolderNameEditor Pin
JoeSharp12-Jun-07 19:37
JoeSharp12-Jun-07 19:37 
GeneralRe: Where is FolderNameEditor Pin
Rome Singh13-Jun-07 4:58
Rome Singh13-Jun-07 4:58 
QuestionHow can I write text to a picturebox? Pin
Andrew Stampor12-Jun-07 7:49
Andrew Stampor12-Jun-07 7:49 
AnswerRe: How can I write text to a picturebox? Pin
Not Active12-Jun-07 7:58
mentorNot Active12-Jun-07 7:58 
GeneralRe: How can I write text to a picturebox? Pin
Giorgi Dalakishvili12-Jun-07 8:03
mentorGiorgi Dalakishvili12-Jun-07 8:03 
GeneralRe: How can I write text to a picturebox? Pin
Not Active12-Jun-07 8:21
mentorNot Active12-Jun-07 8:21 
GeneralRe: How can I write text to a picturebox? Pin
Andrew Stampor12-Jun-07 8:29
Andrew Stampor12-Jun-07 8:29 
GeneralRe: How can I write text to a picturebox? Pin
Not Active12-Jun-07 8:58
mentorNot Active12-Jun-07 8:58 
GeneralRe: How can I write text to a picturebox? Pin
Andrew Stampor12-Jun-07 9:23
Andrew Stampor12-Jun-07 9:23 
GeneralRe: How can I write text to a picturebox? Pin
Hesham Yassin12-Jun-07 11:47
Hesham Yassin12-Jun-07 11:47 
AnswerRe: How can I write text to a picturebox? Pin
Christian Graus12-Jun-07 11:16
protectorChristian Graus12-Jun-07 11:16 
AnswerRe: How can I write text to a picturebox? Pin
Muammar©12-Jun-07 19:47
Muammar©12-Jun-07 19:47 
QuestionC# Tutorial or samples for beginners Pin
Software_Guy_12312-Jun-07 7:38
Software_Guy_12312-Jun-07 7:38 
AnswerRe: C# Tutorial or samples for beginners Pin
Tarakeshwar Reddy12-Jun-07 7:49
professionalTarakeshwar Reddy12-Jun-07 7:49 
AnswerRe: C# Tutorial or samples for beginners Pin
dino209412-Jun-07 11:37
dino209412-Jun-07 11:37 
AnswerRe: C# Tutorial or samples for beginners Pin
Sathesh Sakthivel12-Jun-07 15:24
Sathesh Sakthivel12-Jun-07 15:24 
AnswerRe: C# Tutorial or samples for beginners Pin
Software_Guy_12313-Jun-07 16:57
Software_Guy_12313-Jun-07 16:57 
QuestionC++ Equivalents Pin
LimeyRedneck12-Jun-07 7:34
professionalLimeyRedneck12-Jun-07 7:34 
AnswerRe: C++ Equivalents Pin
Dave Doknjas12-Jun-07 13:48
Dave Doknjas12-Jun-07 13:48 
"- TYPEDEF's (So far I've punted and done a global Search and Replace)"
- I think this is the only practical way to handle typedef. You can replace certain simple cases with the C# alias syntax "using Foo = x.y.z".

"- Macros (Utility functions)"
- We handle it with search/replace combined with replacement with the simple C# flag type #define (the flag #define allows the converted #ifdef FOO directives to continue to be useful). One problem is that macros are type-less, so it's problematic to refactor these to static methods.

"- const (removed and ignored)"
- Yes, they must be removed, but they provide information for a C++ to C# conversions (especially for parameters).

C++ to C# (or to any other language) is indeed no picnic (we've recently released 'C++ to C# Converter', which eases the task somewhat, but there's just too much complexity in the C++ language to allow a high conversion rate).


David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
C++ to C# Converter: converts C++ to C#
C++ to VB Converter: converts C++ to VB
Instant C++: converts C# to C++/CLI and VB to C++/CLI
Instant Python: converts C# to IronPython and VB to IronPython

GeneralRe: C++ Equivalents Pin
LimeyRedneck12-Jun-07 15:39
professionalLimeyRedneck12-Jun-07 15:39 
QuestionPassing Structure Array to VB.NET from C# Class Pin
jadaar12-Jun-07 7:01
jadaar12-Jun-07 7:01 

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.