- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm having a bit of trouble reversing a string. Here's a code snippet of how I'm currently trying to do it: [code=c] index_s1 = strlen(num_s1); for (index_s2 = 0; index_s2 <= strlen(num_s1); index_s2++){ num_s2[index_s2] = num_s1[index_s1]; index_s1--; } [/code] | |
Does anyone know a good way to do it? I've heard of itoa(), but it's non-standard and isn't included by default with the GCC compiler. If you believe that's the best way, how to I get my hands on the function? Ideas? HUGE EDIT: I made a stupid mistake and … | |
Re:
Hi, I recently has a C++ code which only run on Fedora Platform. I wanted to run debugging on these code as I came across some unexplainable scenario output. Can anyone suggest how could I use any debugger? I tried to use GNU GDB but then the code I am … | |
Re:
Hi ; I know how to solve the same problem if i have limit numbers ,but here i have n intergers .How can the compiler understanst me when i need n integers ,like this question: [COLOR="Red"]Write a program that takes an n number of integers and calculates their average.[/COLOR] Using … | |
Re:
HI! I need help! please somebody help me! I need program Sudoku in language C or C++, but I can't programming. please send me source code thanks very much! this program is very important for me, because I need this in school | |
Re:
Before I start, I'm sure you've all seen this error, and explained how to solve it many times before, and for that I thank you for bothering to read this, and if you choose to answer, I wish to thank you in advance. So, the issue I am having is … | |
Re:
Howdy, Im a beginner to programing and Ive chosen python as my first language to learn. I have recently completed my first "non-tutorial" code. I wrote a book modeled after the old "Choose Your Own Adventure" books. When ran it asks for your name, and puts you into the story, … | |
Re:
Just when i thought this class could not get any harder i get this assignment. The last few lectures i have watched in my class on pointers have gotten me totally confused. Now i have this assignment due in 6 days that i seriously do not even know how to … |