+ 4
Is it illegal to create C programs in the app in this way?
I can see many people creating C programs on code playground in SoloLearn's web version. If I completely delete all the text in such a code and type mine in that place, 1. Does it go against the Content Creation Guideline? 2. Is it considered plagiarism? 3. Will I be banned? Thanks in advance /* It's not easy to use the web version on a smartphone with a small screen */
24 Answers
+ 6
You can create C program in C++. Example
https://code.sololearn.com/cAu66RFdCBU2/?ref=app
+ 5
I think it is better if you create your own code with your own style😉
+ 5
In beta version, you can use scanf in C program
+ 5
C is now available on Code playground.
+ 3
@Jamie I will wipe it out and write whatever I intend to write. For example, someone has written a hello world code, and I'll erase it completely. Then I'll make a code to find whether a string is palindrome or not.
+ 3
@Muhammad I can, but scanf and string functions don't work in that case
+ 3
No one is gonna ban you. Lol
I was just clarifying, because the way the first post is written just raised eyebrows is all. I'll move along now.
+ 3
Thanks @Jamie, scanf works in the update.
+ 2
You can't delete others' code. When codeplayground is used, it's on your side only. It allows you to view & play around with their given snippet of code. Sololearn is an education tool, so allowing new programmers to interact like this helps their development.
While you can create decent things on the playground, all advanced programmers will use their own IDE's. So seriously large and important programs are & can't be made here.
On a final note, stealing entire sections of code and claiming it to be your own is called plagiarism. It's heavily frowned upon in programming, and in many cases legally enforced.
Every programmer learns from one another to help solve problems. It's one thing to use a technique or method of approach one person did, and to completely take their work and claim it as your own.
+ 2
@Muhammad I use the app, not the website, so I can't create a c program in code playground
@Sapphire and @Jamie I meant that I would delete all the text in the code
+ 2
No, I'm not a beta tester. So I'm unlucky :-(
Hope the update comes soon
+ 2
@Sapphire I'm sorry for your confusion. I guess my English doesn't make sense :-(
But this is what I mean:
I will open a code, wipe out the text in it and write whatever I intend to write. For example, someone has written a hello world code, and I'll erase it completely. Then I'll make a code to find whether a string is palindrome or not.
@Jamie and @Muhammad I tried to make a code in that way but scanf still doesn't work.
( Request to all mods: Please don't ban me. I love SoloLearn, its courses, challenges and Q/A section. I have kept the code private as it doesn't work, and I'll make it public as soon as either it works or I fail to make it work. But it's not plagiarised. It's inspired by an exercise in my ICT textbook. However, I solely proclaim myself guilty if it breaches the content creation guidelines.)
+ 2
@Jamie Even I think that, but some people are posting answers which express I would hack everyone else's code in code playground and make trolls using my C program. So I provided something like an End-user license agreement to those mods who may fall in confusion like them.
Anyway, thanks :-)
0
Okay, let me just clarify the context here ... (because I'm confused)
First off, you can write C programs, but they're saved as c++ on here. The libraries are there though, however limited.
Second ... so, you want to delete someone's code (under someone else's account), and replace it with your own?
I can already tell you that's impossible. You would need access to sololearn's servers. You can [read] their code in codeplayground and save it under your own account name, but their code can not be altered by you. You are not the owner of the code, therefore you cannot change it.
It's an obvious security feature to not allow one user to alter the code of another user. Otherwise this app would've had all its users' codes replaced with troll text. Obviously you can create a bot to shuffle through peoples' codes, but you cannot alter them. The bot can copy them, but it cannot do much else.
A C program can definitely do this since it's at one of the lowest levels of programming. It would require the C program to get the PID of the active browser, and read and sort the information.