Hello quite noobish here. I am taking a C (not c++) course for engineering. I am trying to get cloud9 set up so that my partner and I can collaborate easily and code from the browser and not have to be booting into Ubuntu constantly to code.
I have the following project, has main.c, StockAnalyzer.c, StockAnalyzer.h, test.c (for testing StockAnalyzer.c), and “yahoo.txt” (a sample data text file with tab delimited data).
I have copied all my code from my existing project in Eclipse on Ubuntu. When I “run as simple c” main.c, I get the error:Main.c:(.text+0xa): undefined reference to GetStockTest(). GetStockTest() is prototyped at the beginning of main.c, and is found in test.c.
It seems that cloud9 can’t find this function. In Eclipse I didn’t have to include any files in main.c to make this work, the prototype was enough.
Anyone can help? Thanks.