Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to use CDT to create a .h with a class decl?
How to use CDT to create a .h with a class decl? [message #1817993] Tue, 03 December 2019 23:40
Eclipse UserFriend
What I can get from I'net seem talking about generating IASTTranslationUnit from a source file.

Now I want to create a .h file containing a class declaration like:

class A
{
public:
A(int n):_n(n) {}
private:
int _n;
}

Assuming we have a IASTTranslationUnit object. What may the java code look like?
Previous Topic:hello world with eclipse c/c++
Next Topic:eclipse script runing problem
Goto Forum:
  


Current Time: Thu Jun 12 09:55:14 EDT 2025

Powered by FUDForum. Page generated in 0.03921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top