i have the Following vb.net 2008 routine i am trying to get c++ to have the same functionality having alot of issues with c++ conversion, any help with this would be great...
Code:Public Sub New() Try If ORIHoles Is Nothing Then ReDim ORIHoles(49) Dim ff As Integer = FreeFile() Dim tempstr As String Dim atempstr() As String FileOpen(ff, "postable.csv", OpenMode.Input, OpenAccess.Read, OpenShare.Shared) Do While Not EOF(ff) tempstr = LineInput(ff) atempstr = tempstr.Split(",") If atempstr.GetUpperBound(0) = 2 Then ORIHoles(CInt(atempstr(0))).Angle = CDbl(atempstr(1)) ORIHoles(CInt(atempstr(0))).Hypot = CDbl(atempstr(2)) End If Loop FileClose(ff) End If Catch ex As Exception GeneralErrorHandler(ex.ToString) End Try End Sub




Reply With Quote
