BinaryByter
what does "it won't execute" mean?
Anonymous
Thats the code, it compiles but wont execute. What am I doing wrong?
Anonymous
It wont run, it builds without errors but wont run
BinaryByter
what does "it won't run" mean?
Anonymous
I mean it doesn't "print" in the terminal so to speak. Better?
Anonymous
The desired result is to have the sequence of numbers appear in the compiler but nothing "prints"
Anonymous
Sorry if I'm not being clear enough but I've only just started coding for bootcamp
BinaryByter
you are probably having an infinite loop
Anonymous
Also, we're are prohibited from using the printf function, hence the ft_putchar
Anonymous
you are probably having an infinite loop
Wouldnt that still appear in the compiler though?
BinaryByter
an infinite loop just means that the while never stops looping
BinaryByter
its valid code
Anonymous
How do I close that infinite loop looking at the code I just posted? Please assist
BinaryByter
try using printf statements to debug your code to see where the loop is going on infinitely
Anonymous
We're prohibited from using any <stdio.h> functions
Anonymous
So, printf is out of the question sadly
BinaryByter
no
BinaryByter
you use printf to see where your program is going bad
BinaryByter
later, you will remove those
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
I see... Ok thanks
Unless you are not writing your code on your pc
MᏫᎻᎯᎷᎷᎬᎠ
What do you mean?
I started my programming journey writing C++ code in piece of paper
MᏫᎻᎯᎷᎷᎬᎠ
I thought you are doing the same
Anonymous
This is it with the debugging solution Max suggested and it compiles with no errors but still wont run
BinaryByter
Wtf
i did too
MᏫᎻᎯᎷᎷᎬᎠ
Wtf
Yeah
Anonymous
Feel like I'm going around in circles here
MᏫᎻᎯᎷᎷᎬᎠ
i did too
Really?!
Anonymous
i did too
Wtf again
Anonymous
This
How would you guys tackle this problem?
MᏫᎻᎯᎷᎷᎬᎠ
My first IDE was C4droid if anyone here knows it
Anonymous
I only did programming on a paper once in a exam, lucky me
BinaryByter
How would you guys tackle this problem?
call your function with ft_print_comb(); in main
BinaryByter
Wtf again
no computer available
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Luck you wow wow
That is a song
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
My stolen phone lol
Anonymous
no computer available
Me too, used the computer from my dad
BinaryByter
Anonymous
An IDE for Android phones
Ouch^^ My first was dev-c++
BinaryByter
Ouch^^ My first was dev-c++
sammmee omfg ❤️❤️
Anonymous
Hehe^^ I think it's okay for beginners
BinaryByter
yea
BinaryByter
most tech i bash is *mostly* fine
BinaryByter
its just that I wouldn't rely on it in my projects
BinaryByter
yes - python is fine
BinaryByter
if you prefer python, by all means
BinaryByter
GO AHEAD
MᏫᎻᎯᎷᎷᎬᎠ
Me too, used the computer from my dad
Me I crashed my sister screen and keyboard is broken because of C++
MᏫᎻᎯᎷᎷᎬᎠ
Damn It has a major impact in my life
MᏫᎻᎯᎷᎷᎬᎠ
Oh
MᏫᎻᎯᎷᎷᎬᎠ
Sorry
MᏫᎻᎯᎷᎷᎬᎠ
Not off topic
MᏫᎻᎯᎷᎷᎬᎠ
Why? Did you rage and broke it? xD
Noo I used to move the screen alot to suit my sitting position
Anonymous
Oh I see
BinaryByter
yea, shelly, why do you see?
Anonymous
Dunno, he moved the screen and broke it by accident
Anonymous
Pushed her laptop from the table or what ever
MᏫᎻᎯᎷᎷᎬᎠ
It's not important
Tawanda
Anonymous
Hey guys
Anonymous
Is there anyone who uses clion ide?
Anonymous
I have some questions
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Ok
Anonymous
Hi please what is the best IDE I can use for c?
Anonymous
I currently use CodeBlocks but I want to know if its the best I can use
Ariana
for windows codeblocks is pretty good for smaller projs Clion works well too if you have like a student licence