Hot answers tagged

3 votes

Small issues with the CS50 IDE text editor

Please read this, it may be the answer to your problems.
Aizen's user avatar
  • 309
1 vote
Accepted

same code works fine on codeblock but having problem on gedit

I don't know why it works in Codeblock, but the correct condition would be: i <= x && j >= 0 not i <= x, j >= 0 as you have. So your for loop should be: for (i = 0, j = x; i &...
ChrisG's user avatar
  • 7,376

Only top scored, non community-wiki answers of a minimum length are eligible