This is the code I used as a test:
#include <iostream>
using namespace std;
int main() {
int C=2;
int D;
D=C+2;
cout << D << endl;
return 0;
}
Cheers,
Amin
On Wed, 2022-05-18 at 20:41 +1000, Lex Trotman wrote:
> On Wed, 18 May 2022 at 19:30, Mohammad Amin Razbani
> <[email protected]> wrote:
> >
> > Thanks for your answer. It's saved in cpp format.
>
> In that case you need to provide more information, for example the
> file contents.
>
> Cheers
> Lex
>
> >
> > Cheers,
> > Amin
> >
> > On Wed, 2022-05-18 at 10:17 +1000, Lex Trotman wrote:
> > > Did you save the code in a file with the .cpp extension?
> > >
> > > The Geany symbols system requires that a document have a filename to
> > > separate the symbols from other documents and from global ones.
> > >
> > > Cheers
> > > Lex
> > >
> > > On Tue, 17 May 2022 at 23:21, Mohammad Amin Razbani
> > > <[email protected]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > When I type my code in C++ like a hello world program inside Geany,
> > > > it
> > > > doesn't list variables I create on the symbol panel. As a result, I
> > > > cannot
> > > > use "go to function definition" and navigate inside the code. Could
> > > > you
> > > > please help me to resolve this issue. This functionality works fine
> > > > with
> > > > python. I use ubuntu 18.04 and Geany 1.38.
> > > >
> > > > Best regards
> > > > Amin
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > [email protected]
> > > > https://lists.geany.org/cgi-bin/mailman/listinfo/users
> > >
> > > _______________________________________________
> > > Users mailing list
> > > [email protected]
> > > https://lists.geany.org/cgi-bin/mailman/listinfo/users
> >
> > _______________________________________________
> > Users mailing list
> > [email protected]
> > https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [email protected]
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
https://lists.geany.org/cgi-bin/mailman/listinfo/users