3. Eclipse IDE Terminology
●
Workspace is a directory for storing a group of projects and
related information
●
Switch workspace using File ->switch workspace
●
Create workspace using File->switch workspace→other
●
Project is a collection of programs to create a single
executable or Library
●
Perspective screen is a set of windows for particular
operation. For ex Compiler C/C++ perspective, Debugger
perspective
–
–
4. Copyright@Embedkari
Exercise-A
●
This is to demo Function scope,Global Scop
●
Create a simple Hello World Project as givem in IDE video
●
Select Project created , right click >New>Source file
●
This should display project name and folder, Put new name
say myprg.c
●
Define a function in myprg.c
●
Define the same function prototype in main and call
–
unsigned short myfunc(unsigned short,unsigned short)
●
Define unsigned short array of 4, initialize and hover the
mouse at definition.
–
Analyze the byte ordering and gap between elements
6. Copyright@Embedkari
Exercise-B
●
Analyze main() address from stack
●
Instruction stepping
●
static variable initialization and lifetime
●
Scope of a variable
–
Block
–
Function
–
File
●
Memory location of local,static and global variable
7. Copyright@Embedkari
THANKS
If you found this information usefule < Please
like this video AND subscribe to
www.youtube.com/c/embedkari
Embedded Career Information :
www.facebook.com/embedkari
Blog:www.embedkari.com