A friendly platform to share and discuss all things repl.it
mat1 (3147)
Repl Talk Rules and Guidelines [README]
# **Rules** The Repl.it community is a place for users to share code, ask questions, and discuss coding-related subjects. We're committed to making i...
katyadee (1172)
🐶Introduce yourself! 🐶
Hi everyone! ![waving](https://storage.googleapis.com/replit/images/1561489787610_61c528ae0267ed2696f0c625ff66db6c.gif) Use this space to share anyt...
songsari (0)
HELP ME plzz...
I want to receive number with scanf in main fuction ... how to print stack numbers without making any other print function?
DylanMaxwell (0)
How do I do these things?
So I need to know how to do two things: * How do I create a random number generator? * And how do I subtract that random number from a set variable?...
hismritik (2)
WHat is the problem here?
the code doesn't run. Just exceeds time limit. I have done some trial on various websites as well as c compiler installed in my computer.
axelduch (21)
Particles with reactions (sand, veg, water and lava)
This is a prototype for what will later be a game. Pyramids, lakes and grass! Compile: > ctr or cmd + shift + o then type "osh" (open shell) > make >...
kidgaming46 (13)
It's my pokemon theme song spam.
It is a spam of the theme song for the first Pokémon series from the Kanto region.
proofofconcept (21)
Object Oriented C - except it works!
It was painful, but I got the object oriented C to work. Here's how: - When an object is created, its function pointers are initialized to addresses....
JoaoVictorAVM (1)
How can I configure the comands to work like a Ubuntu machine?
I need to the my programming tests in a Linux computer, for that i need to know the differences and how this IDE work.
Zexogon (848)
Just a simple discord bot I made for pi day, if the bot detects the word “pi” in your message it responds, I’ll update it soon but for now enjoy it...
YixunMeng (1)
how to debug? I'm writing in C
I'm trying to write a linked list in C. Write now after compiling, there is a segmentation fault and I can't figure out where it is wrong
ashokb (3)
How to add current working directory to the PATH environment variable
I am compiling multiple executables. And I want to be able to execute it when I am in the current working directory. How to add the CWD to the envir...
blackjkl (35)
Thing to calculate average
it's a thing that calculates the average. the number should be between 1 to 100 or it doesn't work.
dnielletorres (2)
How to fix segmentation fault
This is my first attempt at C and I am having trouble with this specific error and I don't know where to fix it.
PeachyBlossom (3)
This might sound dumb but I genuinely don't know where to input numbers in codes. such as int main () { /* variable definition: */ int count; do...
yqin_tcspa (16)
Tic Tac Toe
This is a two person game based on the original Tic Tac Toe. Have Fun!
allamim (1)
there is no concept of polymorphism in C. Polymorphism is a property of Object Oriented Programming, but we can emulates the same idea by using func...
SameenaTaz (3)
Draft version, please check and let me know for any questions
phobe01 (2)
code error
int main () { /variable defination*/ float Price, SalesTax; printf("Enter the price in dollars: 100 \n"); scanf("%f", &Price); printf("Enter th...
ZacharyWood (30)
Addition Calculator
trying to learn new languages i think making an addition calculator is the easiest thing to do so i went for it
blackjkl (35)
I just searched C tutorial on google or something. then I changed some of the numbers.
iairsalem (2)
how to use cs50.h library or any custom .h header file
I need to use the Shell so I guess I have to compile the .c files myself. here, it's only one .c file, but I have to use cs50.h library (available on...
shaikshafiya (3)
how to save my c programs on repl.it
I have typed a c program how to save that program on repl.it
JoshuaBCox (0)
Bubble sort confusion, Please Help!
Im trying to create a function that bubble sorts a array that is determined in the main function. I pretty new to coding so i dont really know what im...
KunaiForce (0)
How to return to top of the program?
If someone does not put 1 or 2, I would like it to keep re-prompting with the "this will repeatedly run until you type in 1 or 2" Once they do type i...
Arabica (1)
How to pick a random number in C.
If you want a guess a number game, (to the ten thousands). Then this post is for you! This relies on an __asm__() command called "rdtsc". Which is use...
eldandoci (0)
learning how to code
Hello there. I am new here and I would like to learn as much as I can. Firstly I am going to start with C language code so kindly can any of you show...
webaccountshelp (0)
What is yahoo email error code 4
Yahoo may be a quite common name in terms of search engine, email services and lots of more services. However, many of the users uncertainly grind to...
AhmadIg (1)
this is a program using variables
KunaiForce (0)
Help linking switch to my cases
Trying to get my code to recognize if someone inputs 1, 2, or 3 after typing in the initial amount. So for example someone types 1000. The next prom...
MuhammadDaud (0)
i need the heap to work for char idk what my problem is
abc 2 def 1 efg 2 ghi 4 hij 1 jkl 1 mno 3 p 1 q 1 rst 2 uv 1 w 3 x 1 y 1 this is the ou file i need while using heap
Sarques (1)
Problem while inserting elements in a linked list.
I am getting this problem with the linked list creation, when I'm inserting a number of elements in the list, only upto two elements are getting inser...