Linux下设置/查看/取消定时任务

2025-10-19 14:34:45      战力提升

here0217:

您好,我在vxcode上尝试使用您的指令,但是还是发生了arm的错误。[code=cpp]

//personinfo.h

#ifndef PERSONINFO_H

#define PERSONINFO_H

#include

#include

using namespace std;

class PersonInfo

{

private:

/* data */

string name;

vector phones;

public:

void setName(string name);

void setPhone(string phone);

// string retName();

};

#endif

//personinfo.cpp

#include

void PersonInfo ::setName(string name){

this->name=name;

}

void PersonInfo ::setPhone(string phone){

this->phones.push_back(phone);

}

//main

#include

#include

#include

#include "PersonInfo.h"

#include

using namespace std;

// struct person

// {

// /* data */

// string name;

// vectorphones;

// };

int main(){

string line,word;

vector people;

string temp;

while (getline(cin,line))

{

/* code */

PersonInfo info;

istringstream record(line);

record>>word;

inf

[/code]

纰漏的意思
删除订阅和购买记录