User Tools

Site Tools


raspberrypi:settingupc_developmentenvironment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
raspberrypi:settingupc_developmentenvironment [2018/03/31 22:22] rlunaroraspberrypi:settingupc_developmentenvironment [2018/03/31 22:31] rlunaro
Line 80: Line 80:
  
 Finally, you will get the project on eclipse: Finally, you will get the project on eclipse:
- 
  
 {{ :raspberrypi:step06.png?nolink&600 |}} {{ :raspberrypi:step06.png?nolink&600 |}}
 +
 +Then, right-click on new -> source file and tye something like this:
 +
 +<code cpp>
 +/*
 + * main.cpp
 + *
 +  Created on: 31 mar. 2018
 +      Author: dictinio
 + */
 +
 +#include <iostream>
 +
 +int main( int argc, char *argv[] )
 +{
 + std::cout << "hello world!!!" << std::endl;
 +}
 +
 +</code>
 +
 +And compile it. At this point it's very important to have some experience with C++ and/or eclipse. It's
 +not the purpose of this tutorial to teach you to use the eclipse IDE, to do that, probably
 +you will have to read other tutorials. 
  
  
  
raspberrypi/settingupc_developmentenvironment.txt · Last modified: 2022/12/02 22:02 by 127.0.0.1