Surely you can explain your problem better than that! For example, this: "X is represented as the buttons." is senseless, along with things...
McKinnon is certainly not a genius. His hacks was very basic (systems weren't behind firewalls, many had blank administrator passwords). As...
To pass a 2d (or higher) array you suppress the first dimension's size, which means you have to pass it in as another variable. Here is an...
You need to change this: scanf("%ch",& operation); to this: scanf(" %c", &operation); I'm not sure what the 'h' was doing in there, but you...
It sounds like your logic (not the CreateProcess call specifically), so you haven't given us enough information.
typedef mod_Definition_T *(*create_func_t)(const char *config_str); This declares a function pointer type called "create_func_t". It takes a...
Do you want combinations or permutations? Do you want repeated digits? Can you compile and run a C/C++ program? BTW, saying that for 4-digits...
Thanks for reminding me about "sequence points". Interestingly, one exists after function arguments are evaluated but before the function is...
Good point. I was conflating order of execution and order of evaluation. But, your cout example is definitely counter-intuitive.This: cout...
The increment is done immediately after the value is used, which is a fairly precise definition of "when". It is the order of evaluation of...
@echo off set yourvar1=whatever set yourvar2=something else Type "help" into a command prompt window to see commands. Type "help set" for the...
You're thinking of "char" which is signed on some machines and unsigned on others. In C/C++, "int" is always signed.
1. removing "static" (on the static member's definition in date.cpp) was the correct thing to do. 2. This is a completely different error. You...
Presumably you mean something like this:bool is_unique( int n) { // check array } int get_unique_person() { Random randomPerson =...
The code works fine for me. reserve() sets the "capacity" of the vector to at least size. capacity() returns the number of elements that the...
What operating system? (Looks like unix. What is the function for creating a timer?) Where is p_old_server coming from.
The direct access works because you've reserved the space, and it is faster since it does not involve a function call, unless perhaps push_back...
Try "msinfo32" from the Start buttons's Run command. Also known as "System Information" under All Programs / Accessories / System Tools (at...
Here it is with line-by-line processing, saving to a different output file: open IN, "<test.txt"; # input file open OUT, ">test2.txt"; #...
The programs seem to be working okay. Make sure you are in the right directory and maybe check your environment. Hmmm, for some reason I...
Separate names with a comma.