Go to Post FIRST is like Starbucks coffee, it's addicting and you just can't seem to get away from it... - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 28-01-2009, 17:57
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: define a new class(C++)

Quote:
Originally Posted by nadavsen2 View Post
add the H and Cpp files , you mean copy them to the directory?
OK, what you need to do is drag the files from a Windows explorer window and drop them right onto the project in the Workbench Project Navigator view.
They will then become part of your project and will be compiled and linked with it.
Make sure to drop the files on the top of the project -- not somewhere in the middle. The best thing to do is collapse the project so you can't see any of what's inside. That way, you can't miss with dragging and dropping.

Here's a snippet from the Eclipse documentation (which should be avaliable to you by using Help->Help Contents in Workbench)

Importing files

Files can be imported into the Workbench either by :

* dragging and dropping from the file system, or
* copying and pasting from the file system, or
* Using the Import wizard.

Using drag and drop or copy/paste to import files relies on operating system support that is not necessarily available on all platforms. If the platform you are using does not have this support, you can always use the Import wizard.

Last edited by gvarndell : 28-01-2009 at 18:29. Reason: extra info
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
define irswitch? Lilor Programming 3 10-02-2008 19:21
Define Happiness Elgin Clock Chit-Chat 17 30-04-2007 21:59
Define A Wedge T3_1565 Rules/Strategy 18 11-01-2007 21:22
Define FIRST slickguy2007 General Forum 24 13-10-2006 08:24
**FIRST EMAIL**/FIRST Announces New Class of Senior Mentors. Billfred FIRST E-Mail Blast Archive 1 23-12-2004 13:32


All times are GMT -5. The time now is 14:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi