colau
May 22nd, 2009, 04:50 PM
In vi editor the c++ auto complete is working.
But the custom class variables do no appear after the dot (.).
#include<stdio.h>
#include<vector>
#include<stack>
#include<iostream>
using namespace std;
class ownclass{
public:
ownclass(){}
int i;
int j;
};
int main(){
stack<int>st;
vector<int>vv;
st.push(45);
ownclass obj;
obj.
std::cout<<"Hello world"<<endl;
return 0;
}
-- Omni completion (^O^N^P) Pattern not found
But the custom class variables do no appear after the dot (.).
#include<stdio.h>
#include<vector>
#include<stack>
#include<iostream>
using namespace std;
class ownclass{
public:
ownclass(){}
int i;
int j;
};
int main(){
stack<int>st;
vector<int>vv;
st.push(45);
ownclass obj;
obj.
std::cout<<"Hello world"<<endl;
return 0;
}
-- Omni completion (^O^N^P) Pattern not found