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

Search:

Type: Posts; User: jimJohnson123

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    k ill stop posting
  2. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    I thought 1 base
  3. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    I believe it means it is passing two arguments into the program
  4. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    No I dont see it anywhere when I put it == 2 or if I put argc > 1
  5. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    thanks....changed to argc==2 and input still works fine but output has a blank file....could my palindrome not be correct?
  6. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    OK I got my input file to work and it now I do a copy con input.txt and it loads into my input file successfully....

    Now when I open my output file it is not doing as it should...I also checked...
  7. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    this is what I did...

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Bryan>cd C:\Palindrome\Debug
    ...
  8. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Sorry I commented out the line but did not let me run it
    Its the same program but wanted to try something else
    I did however get it to try opening but after doing so it crashes...Here is what I...
  9. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Ok I think I am making progress on this now. I try to debug and it goes through and tries to open but crashes which I expect as I have set this up for memory mapping but when I open with command...
  10. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Ok sorry about that....this is what I am doing and i showed where i put my breakpoint in caps so it stands out ....




    //MAIN FUNCTION
    //THIS IS WHERE MY BREAK POINT IS...I HIT F5 AND THEN...
  11. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    looks like after debugging it shows that it cannot be opened at

    int main(int argc, char *argv[]){

    I am guessing this is what needs to be changed? if someone can just say yes or no to this I am...
  12. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Just want to verify but did so and get the same response...

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Bryan>cd...
  13. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    yes sir it is in there
  14. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Ok when you mean running from command line I am doing to change directory (cd0 and going to C:\Users\Bryan\Documents\CSI 345\Palindrome\Debug so I am typing the folliwng in command prompt...

    cd...
  15. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Sorry to bother again but is this what u mean with hardwire the file names.....




    #include <windows.h>
    #include <iostream>
    #include <string>
    #include <algorithm>
    #include <list>
  16. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    well no but i know everyone in the forum has explained this to me as best as they can (which I greatly respect) and still having issues and didnt want to be a burden
  17. Replies
    2
    Views
    762

    Re: Euclid gcd

    disregard I figured it out
  18. Replies
    2
    Views
    762

    Re: Euclid gcd

    Ok I got the program to return a GCD but the math is not correct I believe because it is returning a number now but some of the GCD it returns is not the correct one...




    #include <windows.h>...
  19. Replies
    2
    Views
    762

    Euclid gcd

    I am doing a euclid GCD and only some of the numbers show up with the correct GCD. Can someone please let me know why?



    #include <windows.h>
    #include <stdio.h>
    #include <process.h>
    #include...
  20. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Could you at least tell me if im on the right track...i dont need a big explanation if u dont want even a yes or no with this post is fine....

    //Test Files...
  21. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    What if I changed them to like...

    int main(int argc[], char *argv[]){

    HANDLE readFile, writeFile;
    HANDLE readFileMap, writeFileMap;
    PVOID pvreadFile, pvwriteFile;
    DWORD readFileSize;...
  22. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    the reason i use argc and argv is because it is required
  23. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    And I did not mean that post as negative to anyone else but Ill never use C++ again and just trying to get through this last program before thursday which is my last deaddline
  24. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    Paul McKenzie,

    Please do not respond to any more of my posts including this one. I am really not needing to hear your comments anymore. I tried the code but I keep getting the same issue with...
  25. Replies
    83
    Views
    10,398

    Re: Can someone please run this in XP

    does that even seem like what needs to be done to fix this or am i reading something that is not the problem
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured