when can i use inline argument and default arguments?
um.. also
im using Quincy complier
is there ne good free complier i can use?
when can i use inline argument and default arguments?
um.. also
im using Quincy complier
is there ne good free complier i can use?
What do you mean by "inline argument"? Are you thinking of inline functions? You would use a default argument when you want to provide a default value for an argument, it is a little obvious in that sense.when can i use inline argument and default arguments?
It depends on what operating system you are running, but g++ from the GNU Compiler Collection (GCC) is probably available for you. On Windows, you can use the MinGW port of GCC.is there ne good free complier i can use?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
haha ty so much^^ u always help me^^ thnx to u i figure out the roman numeral thing^^
oh i use window xp
Last edited by only1st; 04-22-2007 at 08:31 PM.
Quincy is not a compiler, it is an IDE; latest version Quincy 2005! The background compiler of Quincy is "mingw".
Yes there is a better ones such as CODE BLOCKS, DEV C++, Mingw Developer Studio and so on. All run "mingw" compiler in the background except the first one which can also run several other ones also! If you are a little experienced programmer go for CODE BLOCKS. It is an amazing IDE. Do not forget to use the nightly build to get the latest features of it. For details visit their website "www.codeblocks.org".
The default arguments are used when there is a case that the argument has default value when not specified - as the name suggests.
Code:void foo(int a , int b , int c = 1) { // some work } int main() { foo(1,2,3); // Here c = 3, overrides the default value c = 1 foo(4,5); // Here the function foo uses the default value of c = 1 }