Please help me with the same in Windows 7.
A:
From Task Scheduler User Guide:
To create the scheduled task, you need the following information:
• A name for the task. The name must be unique among all the tasks that you create in the Task Scheduler. For example, a task named PostTask would be in conflict with another PostTask scheduled task.
• The location of the task file.
• A description of the task.
• One or more action(s) that the task performs. The actions must correspond to tasks in the Task Scheduler, such as Start a program, Run a batch file, and Run an executable file.
• If the task is scheduled to run as the user name that the task is associated with, specify the user name.
A:
If you want to use the same name as a task in the Task Scheduler, it cannot start with the character '.'. See this MSDN article for more details.
i
s
t
h
e
f
i
r
s
t
d
e
r
i
v
a
t
i
v
e
o
f
-
3
8
*
n
*
*
4
*
p
*
*
3
-
1
5
*
n
*
*
4
-
n
*
*
3
+
6
3
7
*
n
*
*
2
-
1
2
4
*
p
*
*
3
+
5
w
r
t
n
?
-
1
5
2
*
n
*
*
3
*
p
*
*
3
-
6
0
*
n
*
*
3
-
3
*
n
F
i
n
d
t
h
e
t
h
i
r
d
d
e
r
i
v
a
t
i
v
e
o
f 01e38acffe
If you don’t know the UNC path of the mapped drive, you may need to use a third-party tool to find the drive. Then, you can use the UNC path to mount the drive for further investigation.Q:
C++ reading and writing to std::map
I'm having some issues using the std::map container. I'm trying to read a file into a container and then be able to write to it later as well. I was able to successfully read the data from the file, but when I try to add to the container it's having trouble. When I print the container out it's just printing out each key and value, so I'm guessing that I'm writing the data to the container as its reading it in.
Here's my code (stripped down to the essentials):
#include
#include
#include
#include
using namespace std;
int main(int argc, char *argv[])
{
map obj_map;
ifstream myfile(argv[1]);
if(myfile.is_open())
{
string line;
while( getline(myfile,line) )
{
string key = "";
string value = "";
stringstream tmp(line);
tmp >> key;
tmp >> value;
obj_
Related links:
Comentários