Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse[HELIOS] CDT: Autocomplete, STLs not working with Eclipse ..HELP!
    primarykey
    data
    text
    <p>I am a java user but wanted to play around with CPP so I installed CDT plugin for eclipse [HELIOS]. </p> <p>I am facing some issues trying to configure it correctly and am wondering if someone can help me. Here is a short code we can use:</p> <pre><code> #include "Base.h" // These lines give error =&gt; Unresolved inclusion: &lt;vector&gt; #include &lt;vector&gt; #include &lt;string&gt; using namespace std; void Base::ininitalizeVector() { for (int i = 0; i &lt; 10; i++) { bIntVector.insert(i); //after pressing "." no method names etc appear } } </code></pre> <p>1] The auto complete feature doesnt work for STLs . 2] I cant get a list of supported methods etc after I hit dot"." 3] Includes do not work: #include 4] I think using namespace std is enough for STLs to work , but guess not enough for IDE support ?. Do I even need to say #include </p> <p>I did rightclick project => rebuild indexes but that didnt help In my project=> general=>source location: the source folder is the folder that has this CPP file and the header file. </p> <p>I probably havent configured things correctly , any help ?</p> <p>Infact , if there is someother IDE which works quickly out of the box, I will be happy to try that out. All I want is some IDE support so that I can verify things while I read on cpp. </p> <p>Thanks</p> <ul> <li>This is where I got the CDT: <a href="http://download.eclipse.org/tools/cdt/releases/helios/" rel="nofollow">http://download.eclipse.org/tools/cdt/releases/helios/</a></li> <li>I am running eclipse on Windows off a folder: C:\USER\setups\eclipse</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload