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

Search:

Type: Posts; User: darkseid

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    so.. i found out what the real problem is. i thought that after doing first or second if the search jumps to the third if but actualy after doing first or second if it runs the for again, thus doing...
  2. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    ok. then i must have asked the wrong question. i'm going to reformulate.

    why, when i use "Search: " i get answers from other ifs instead of getting only from one if.

    and please, do critique the...
  3. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    i guess it's better that way :P
  4. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    here you go

    translator.zip - 0.00MB

    i hope zshare is alright.

    tnx for the interest
  5. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    sorry for the confusion. here is the full code

    main.cpp

    #include <iostream>
    #include "class.h"
    using namespace std;
    int main()
    {
  6. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    theoretically it should work .. but it still doesn't .. it has something to do with the strncmp line. i've changed it with something else and it works how it should. how should i write the strncmp...
  7. Replies
    18
    Views
    2,493

    Re: for/if/else dilemma

    thanks for the advice. but still doesn't work properly.

    here's the output for first if working :

    http://img63.imageshack.us/i/firstif.jpg/

    and second if working
    ...
  8. Replies
    18
    Views
    2,493

    for/if/else dilemma

    for(i=0; i<n; i++)
    if ( strcmp ( a[i].word, search_word ) == 0 ) { // (1)

    cout << "- - - - - - - - - -" << endl;
    cout << a[i].word << ", " << a[i].word_pl <<...
Results 1 to 8 of 8


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center