Record of a C++ Newbee Growing with Eclipse on Ubuntu

软件和网站开发以及相关技术探讨
回复
miromi
帖子: 3
注册时间: 2007-05-30 22:31

Record of a C++ Newbee Growing with Eclipse on Ubuntu

#1

帖子 miromi » 2008-11-26 22:51

Wed, Nov 26th 2008, 22:43
Done:
I have complied my first "Hello Ubuntu!" program successfully on Ubuntu with Eclipse + CDT.
Get Eclipse, CDT, g++ with synaptic package manager, and download cppunit120 bz2 from internet.
Ubuntu installed Eclipse, CDT, g++ automatically, but i can't install cppunit by myself.
Fortunately, i will not used cppunit today. So, i can do it tomorrow.
Why i use English to record my first daily update? Because i haven't install a Chinese input program on my Ubuntu!
I attempted to understand the makefile which generated by Eclipse automatically. But i saw nothing about my source files.
How the makefile refers to corresponding file ?

Doing:
None

To do:
Install cppunit
Learn how to write makefile
miromi
帖子: 3
注册时间: 2007-05-30 22:31

Re: Record of a C++ Newbee Growing with Eclipse on Ubuntu

#2

帖子 miromi » 2008-11-27 23:47

Thu, Nov 27th 2008,23:48
Done:
I have wrote down my first makefile, complied 3 file and linked them together.
First i followed a guide article on web which gives a wrong format.
It cost me so many time to find it fault. Finally i wrote down makefile successfully
by following the article "跟我一起写Makefile" on the wiki.

And also i find the cppunit on the synaptic package manager.

Doing:
Unit test my first program.

To Do:
I need a educational requirement to continue the program development and test.
miromi
帖子: 3
注册时间: 2007-05-30 22:31

Re: Record of a C++ Newbee Growing with Eclipse on Ubuntu

#3

帖子 miromi » 2008-11-28 23:49

Fri, Nov 28th 2008, 23:47
Done:
Know how to write makefile

Doing:
Read wiki for more about makefile

To Do:
A network monitor may be a good start on the road of change.
回复