Etten32 / MissionRobotia

0 stars 0 forks source link

DataFile.DATA INPUT #13

Open Etten32 opened 2 years ago

Etten32 commented 2 years ago

writeSame() writes line inputted at pointer

writeNext() moves pointer += 1 and writes line inputted

BeardedNinja9 commented 2 years ago

Im not quite sure what exactly you are asking of me... could you clarify?

Etten32 commented 2 years ago

pointer is a variable that stores some int value. dataLines[] is an array that contains the processed data (or will by the time you'd use this method). So for the first method, write some code that just returns the element at value 'pointer' in dataLines. For the second method, essentially do the same, but increment pointer by 1 first (just use the icrementPointer() method) Does that help?

BeardedNinja9 commented 2 years ago

Yeah I'm pretty sure I understand. I will have to check later though... I am working on a gyrocopter to protect my egg in an egg drop challenge. Wish me luck! BeardedNinja9

On Thu, Oct 14, 2021, 15:49 Etten32 @.***> wrote:

pointer is a variable that stores some int value. dataLines[] is an array that contains the processed data (or will by the time you'd use this method). So for the first method, write some code that just returns the element at value 'pointer' in dataLines. For the second method, essentially do the same, but increment pointer by 1 first (just use the icrementPointer() method) Does that help?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Etten32/MissionRobotia/issues/13#issuecomment-943675404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOHJR57HKNVBHTJ2JS4YWLUG4X57ANCNFSM5FMT5PSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

BeardedNinja9 commented 2 years ago

Okey-Dokey! Remind me how to send this thing in and i will be set!

Etten32 commented 2 years ago

Add the file with the git hub app or in intellij, commit (with a message saying briefly what you did), and then push it to github and make a pull request.

BeardedNinja9 commented 2 years ago

Will do, thanks!

On Thu, Nov 4, 2021, 11:14 Etten32 @.***> wrote:

Add the file with the git hub app or in intellij, commit (with a message saying briefly what you did), and then push it to github and make a pull request.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Etten32/MissionRobotia/issues/13#issuecomment-961141740, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVOHJRYSRYUBREPE3ZBPQZTUKKWNNANCNFSM5FMT5PSQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.