Re: Function Declaration in g++

2007-09-03 Thread BobR
<[EMAIL PROTECTED]> wrote in message... > Hello guys > I am new to this forum and to gcc/g++ and I need to know exactly > how to declare a function in g++. Your code shows signs of an 'C' programmer. I'll make some suggestions (which might help you find the real problem). > #include //

Function Declaration in g++

2007-08-31 Thread derrick_chi
Hello guys I am new to this forum and to gcc/g++ and I need to know exactly how to declare a function in g++. I wrote a C++ program to calculate the GCD of two numbers, I've tested it and it works. I wanted to compile the program and target a mips processor so I issued the following comma