When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
22 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
%c, do %6cn (starting from 0) you want to print 'A' + n, no need for these row and column arrays.;compile c
A B [C] [D] E F G H
1 1 0 0 0 1 0 0
1 1 1 0 0 0 0 0
0 1 1 0 1 1 0 0
0 0 0 1 1 0 0 0
0 0 0 1 1 0 0 0
1 0 1 0 0 1 0 0
1
In pseudo-code this would look like so:
-- print 'A' to 'A' + n
for row=0 to SIZE
-- print 'A' + row
-- print the elements of that row
-- print newline
it's not working
They're hard to read and prevent copying and pasting.
And you didn't implement any of the changes I mentioned
im a bit confused, i did implement the spacing syntax earlier but deleted it. was tryna figure out how the code works first before that detail
But you didn't do this. Your current approach is logically wrong and especially as a beginner it's hard to understand code, especially bugged code, so there isn't really a point in trying to understand your flawed approach.
with my psuedo code I give you a rough structure which you can then translate into C code
it's logically wrong? i was trying to do this
I'll try to find some time later, currently playing LoL Clash
@honest crown
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.
@honest crown did you manage to run the code successfully?
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity
Could you provide the code here if you don't mind