小编Joa*_*zel的帖子

调试器无法继续运行该过程.无法开始调试

我用这个在Visual Studio 2012中使用我的XNA游戏,一切都看起来很完美,但当我点击顶部栏上的调试按钮时,"开始调试"和"开始不调试"显示为灰色,我点击它们.我仍然可以单击"开始"箭头,当我这样做时,我收到以下错误消息.

错误信息

c# debugging xna visual-studio-2012

16
推荐指数
1
解决办法
2万
查看次数

错误C2143:缺少';' 在'*'之前

你好我在互联网上到处寻找答案,但我找不到任何答案.

码:

#ifndef GAME_H
#define GAME_H

#include "drawEngine.h"
#include "sprite.h"
#include <iostream>
using namespace std;

class Game
{
public:
    bool run(void);

protected:
    bool getinput(char *c);
    void timerUpdate(void);

private:
    Sprite* player; // this gives me C2143

    double frameCount;
    double startTime;
    double lastTime;

    int posx;
    //int posy;
    DrawEngine drawArea;
};

#endif
Run Code Online (Sandbox Code Playgroud)

我该如何解决?

sprite.h

#ifndef GAME_H
#define GAME_H
#include "drawEngine.h"
#include "game.h"

enum
{
    SPRITE_CLASSID,
};
struct vector
{
    float x;
    float y;

};

class Sprite
{
public:


    Sprite(DrawEngine *de, int s_index, float …
Run Code Online (Sandbox Code Playgroud)

c++ visual-studio-2010

7
推荐指数
1
解决办法
2万
查看次数

删除 Google Calander API 中的事件

Google 没有关于如何删除 node.JS 中的事件的文档

我已经能够使用以下代码将新事件添加到我的日历中:

    calendar.events.insert({
    auth: auth,
    calendarId: 'primary',
    resource: event,
    }, function(err, event) {
    if (err) {
    console.log('There was an error contacting the Calendar service: ' +      err);
    return;
  }
  console.log('Event created: %s', event.htmlLink);
});
Run Code Online (Sandbox Code Playgroud)

我已经摆弄了 4 个小时了,正在寻找解决方案。

javascript google-calendar-api google-api node.js

0
推荐指数
2
解决办法
5067
查看次数