Yes I am aware of that and that is why I will be using a "junk drive" so to speak (I have a 20 gig I am willing to use as a test subject). Actually, I also wanted to see if I could test it on a...
Type: Posts; User: DenKain
Yes I am aware of that and that is why I will be using a "junk drive" so to speak (I have a 20 gig I am willing to use as a test subject). Actually, I also wanted to see if I could test it on a...
Could someone point me in the write direction as to how I could view clusters or sectors in a windows file system using C++? Also, I will be doing the same with ext3 so maybe that as well if you know...
Why not? Some people like me actually learn by example. Its not that everyone wants you to do their work for them just give them a basic example.
-DenKain
Sorry but the example at the bottom of this link was what I ended up understanding and using. Although I broke it up into a separate class to parse out the arguments for me.
...
Oh I see the issue.
EDIT:
Well I will pick this up tomorrow as I have to head out to meet friends for dinner and a movie.
That is the whole code.
Alright if argv[0] = appName and argv[1] = -t and argv[2] = input.....then what the heck does argc stand for? I thought it was a count of the number of arguments the user entered? If so then yes I...
When I enter "appName -s input" I get "You did not tell me what to do!".
Also, what do you mean that my argc check is broken?
This is the code I am working with right now:
#include...
I wont lie, I hardly understand your code....
Well its not that I want to add them together I just want to be able to store whatever they enter as a variable. The variable type will change depending on what option they pick.
Yes, basically when the user enters "appName -t input" I want to be able to read "input" as I already know how to read "-t".
So, now we are talking about manually setting the command line arguments in the argv array? If not then I do not understand what you were trying to say in your second post.
Guess I should have mentioned that I am a little new to C++.......heh......
So far I have a very basic application that can read simple arguments such as -t or -s. What I want to do is when the program picks up on the argument it will run a function. The two things I am not...