CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: math8

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,434

    Re: Revert a string code is not working

    I figured out what was wrong. 2 typos. i<=b/2 instead of i=b/2 and

    for(int i=0;i< counter-1;i++) instead of for(int i;i< counter-1;i++).

    Thanks!
  2. Replies
    7
    Views
    1,434

    Re: Revert a string code is not working

    Dev C++
  3. Replies
    7
    Views
    1,434

    Re: Revert a string code is not working

    My compiler did not warn me about any variable being used without having been initialized. What is this variable?
    Also, when I run the code or when I click on the debug button, the console pops out...
  4. Replies
    7
    Views
    1,434

    Revert a string code is not working

    I created a .txt file that I called in.txt. It has the letters: a b c d e.
    I put it in the same folder as the c++ code below. I was hoping that I after I compile and run the code, the in.txt file...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured