![]() I'm just reproducing the way my teacher did in class, so it is all basic 'cause we're starting to learnĬhar s, p, p_complete, asterisk įor (p_loop = 0 p_loop < n-1 p_loop++). Compile and execute code online in Basic with our online compiler and powerful IDE. Private Function LineCount(ByVal PathFile As String) As Long Dim sData As String Dim oFile As New FileSystemObject sData oFile.OpenTextFile(PathFile, ForReading).ReadAll Dim oRegX As New RegExp oRegX.Pattern 'rn' oRegX.Global True LineCount oRegX.Execute(sData). Sec problem: when I type 0 to try to guess the entire word, whatever I type, it just ends the program and closes the window So, I'm new to C and I have this homework from college that I need to simulate a hangman game, at first I'd made the entire code in an online compiler and it worked all good, but then I decided to download a local compiler and somehow the same code doesn't work :(įirst problem: it doesn't recognize the first letter as "a", but recognizes all the others in sequence
0 Comments
Leave a Reply. |