Started 1 week ago (2009-11-22 07:05:00)
by YarrOfDoom
There is still some
room for improvement.
Try going over this code line by line with some example input and see if you can find what is obsolete.
If you really can't find it, I could provide you with some more hints.
Started 1 week ago (2009-11-22 07:07:00)
by Amru S
no i mean i want firt ten febonacci numbers in c++ program by using for loop,,
Started 19 hours, 28 minutes ago (2009-11-28 11:58:00)
by weaknessforcats
There is nothing special about header files. They are just text files. They are only called header files because usually they are included at the beginning (or head) of the
implementation file.
The .h extension is not required but it customary in C. C++ standard header files have no extension.
You do need to be careful of this: Expand | Select | Wrap | Line Numbers #...
Started 2 days ago (2009-11-27 06:54:00)
by weaknessforcats
C++ does not support default-int. You have to actually specify the type or say void.
Started 2 days ago (2009-11-27 06:56:00)
by weaknessforcats
Remember that
arrays are 0 based. The 65th element for your A is array[64].
Started 2 days ago (2009-11-27 06:56:00)
by cplusplusbytes
I agree, but what I am looking for is features in C++ which can not be implemented at all with out using references, like copy ctor and
operator overloading.
Started 6 days, 4 hours ago (2009-11-23 02:54:00)
by dheerajjoshim
Looks like it is an assignment program..... We can't write code for you...
Regards
Dheeraj
Joshi
Started 4 days, 22 hours ago (2009-11-24 08:40:00)
by Macinbomzh
How do I take for example 2gb RAM and allow only a specific process to use them?
Started 3 days, 21 hours ago (2009-11-25 10:15:00)
by mac11
I think you need some -Wl flags so the linking is correct. Here's a good reference http://www.linux.org/docs/ldp/howto/...libraries.h
tml
Started 1 day, 21 hours ago (2009-11-27 09:55:00)
by newb16
If you are trying to execute the C/C++ code written in Ax.c file based on user's choice, it's not done that way. You need to compile them and link resulting
object files according to your compiler's documentation.