The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 user defined class
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

hajo_old

Germany
141 Posts

Posted - 01/22/2003 :  04:33:22 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello, All

I just want to ask if there is a posibility to define user specific classes in Origin-C

I tried

class test {
int t;
};


and got the following errors while compiling

error: class/struct not found
error: wrong datatype declaration

thanks
HJ Koch

p.s I'm using Origin 7 SR2 / Origin Beta 8.3

Edited by - SVDO_Origin1 on 02/19/2003 4:07:47 PM

hajo_old

Germany
141 Posts

Posted - 02/19/2003 :  4:29:40 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
OK,

nobody seems to care about classes supported in OriginC, but I would really appresheate them for a large analysis and automatted documentation system for our department.

What are the reasons, user defined classes are not supported within OriginC. They really would extend the possibilities and the creation of a specialised class-Library for developing individual sollutions with hidden functions and user accessible functions and so on extreemly!

You also have the possibility to hide pure code from the normal user who should only deal with the public functions and access of special data types!

An other point is, that you don't need MS VisualC++ for extending the user functions by developing additional dll's and link them to OriginC - that isn't that easy the documention shows us with few, bad documented examples.

Have a look at the LCC-Win32 pages for a full featured free C compiler (even the OriginC-IDE "Source Editor" is much better than the LCC one, but there is an GUI editor included!)
http://www.q-software-solutions.com/lccwin32 br / " target="_blank"> br / http://www.q-software-solutions.com/lccwin32 br /

Please discuss
Hajo

-- --
Dipl.-Ing. Hans-Joerg Koch
Siemens VDO, Regensburg

SVDO_Origin1

Edited by - SVDO_Origin1 on 02/19/2003 4:40:29 PM
Go to Top of Page

easwar

USA
1965 Posts

Posted - 02/19/2003 :  5:00:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hajo,

We are currently considering adding support for user-defined classes in Origin C in a future version.

Thanks for your input.

Easwar
OriginLab.

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000