Search:
Type: Posts; User: jimJohnson123
Search:
Search took 0.01 seconds.
-
-
-
I believe it means it is passing two arguments into the program
-
No I dont see it anywhere when I put it == 2 or if I put argc > 1
-
thanks....changed to argc==2 and input still works fine but output has a blank file....could my palindrome not be correct?
-
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...
-
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
...
-
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...
-
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...
-
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...
-
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...
-
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...
-
-
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...
-
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>
-
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
-
disregard I figured it out
-
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>...
-
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...
-
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...
-
What if I changed them to like...
int main(int argc[], char *argv[]){
HANDLE readFile, writeFile;
HANDLE readFileMap, writeFileMap;
PVOID pvreadFile, pvwriteFile;
DWORD readFileSize;...
-
the reason i use argc and argv is because it is required
-
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
-
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...
-
does that even seem like what needs to be done to fix this or am i reading something that is not the problem
|
Click Here to Expand Forum to Full Width
|