You are viewing a single comment's thread. Return to all comments →
Uneditable code in C# doesn't compile as it is.
solution.cs(78,36): error CS0214: Pointers and fixed size buffers may only be used in an unsafe context
solution.cs(78,36): error CS0193: The * or -> operator must be applied to a pointer
Compilation failed: 2 error(s), 0 warnings
This line in the uneditable code:
PrintSinglyLinkedList(llist->head, "\n", textWriter);
PrintSinglyLinkedList(llist.head, "\n", textWriter);
how are we supposed to fix this? Are there any admins around here?
I am also facing the same issue. seems admnis are not looking into this.
I've the same issue too.
This issue is still not fixed. Not able to compile the code.
Issue is still not solved.
Issue not fixed.
Issue not fixed yet. Change the programming language to Java (is the same code than C#) and it will works
Thanks for the response
Yep, still not fixed. Sorry, C# is not liked here :(
same issue, i just had to write this one in c++ ...
Same problem.! Getting Compilation Error :( "Check the compiler output. fix the eror and try again".
Compile Message says
solution.cs(88,36): error CS0214:Pointers and fixed size buffers may only be used in any unsafe context
solution.cs(88,36): error CS0193: The * or -> operator must be applied to a pointer Compilation failed: 2 error(s), 0 warnings.
Coding language is : C#
Facing this issue not able to solve
It gets compiled with Java.
Have the same issue using C#. The error comes from line 93 which is not changeable. The main function should be executed in unsafe mode or not using pointer at all.
I'm experiencing the same issue using C#
Try compiling with java
Meh, just write it in C++ for now. It's just three lines of code.
Use SinglyLinkedListNode* on the left side of the assignment operator, and instead of head.next, use head-> next. This problem is simple enough that you can still implement it even if you don't understand C++.
It's still pretty ridiculous that it doesn't get looked at, though.
It's a year later and still no fix.