| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 325 人关注过本帖
标题:调试的时候显示 系统找不到指定的路径 求指导!!
只看楼主 加入收藏
hicom4235
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-10-6
收藏
 问题点数:0 回复次数:0 
调试的时候显示 系统找不到指定的路径 求指导!!
#include <iostream>
using namespace std;


class seqStack
{
    private:  
          int *elem;
          int top_p;
    public:
        seqStack(int initSize=10)
         {
             elem=new int[initSzie];
             top_p=-1;
        }
        ~seqStack() [delete[] elem;]

        bool isEmpty() const {return top_p==-1;}
        void push(const int &r)
        {
            elem[++top_p]=r;
        }

        int pop()
        {return elem[top_p--];}
};

int  Ackerman(int m,int n)
{   seqStack r;
    r.push(m);
    r.push(n);
    while (true)
    {  n=r.pop();
       if(r.isEmpty()==1) return n;
       m=r.pop();
       if(m=0) r.push(n+1);
       if(m!=0||n=0)
       {  r.push(m-1);
          r.push(1);
       }
       if (m!=0||n!=0)
       {  r.push(m-1);
          r.push(m);
          r.push(n-1)
       }
    }
}
搜索更多相关主题的帖子: private 系统 public include 
2012-10-06 16:49
快速回复:调试的时候显示 系统找不到指定的路径 求指导!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.015018 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved