Did you try it? If you undef a macro, then you cannot use its value later on!!!
hey! you have invented the pre-pre-processor !! I will think it over. Actually what I'd like to do is more general, like: ________________...
They have to be unique IDs, but furthermore they have to be statically assigned at compile time, not runtime. Therefore I cannot call a function...
I'd like to have a C pre-processor macro to call which increments a constant each time it is called. Obviously the following does not work:...
hello techme, i have answer to your question There is one way which i know .YOu have to use a manipulator for it i.e. \a. cout<<"Beep sound \a";...
I had deliberately kept the length of the string small to avoid the buffer overflow. Anyhow, now check out this example. The output is the same,...
Thank you very much for giving me liberty to ask my doubts. Pls see the following code. I have not passed the array through reference explicitly....
Despite your accurate solution, I am still in confusion. Being declared as a pointer, 'p' is supposed to contain the address of the string "xyz"....
Why does the following program not change the value of p after invoking the function 'st'? #include <iostream.h> #include <conio.h> void...
Is BCD just a normal Base2 number system? Then it is basically pure binary anyway. It's just not binary with natibe hardware support. There are...
Anyway, thanks! I'll check it and will post result soon... :D
i need to make a function that calculates the highest and lowest months ,total rain fall and average rain fall can any one please help i am lost...
yes the use of "" and <> most likely does vary with compilers .. with mine Visual Studio "" simply means to START looking in the projects...
What is the difference between "socket.h" and "cc++/socket.h"?? why ? does it work with just "socket.h" ? the difference is that the first one...
Normally, you would have operator += as the member function (returning a reference), and operator + as the non member function (implemented in...
This has nothing to do with int specifically, and everything to do with temporaries. You're passing the expression "n-1" into the second argument...
There's no way to give any real help if you don't post your code. Try the following program. What is the output? #include <iostream> int main()...
Thanks! :) Silly Mistake Was That!
I am a new-bie into Ubuntu and when I try to run the following Program on Ubuntu using GCC: #include<stdio.h> #include<string.h> int main()...
when i installed the TC software & execute a simple program i got an error "function printf should have a prototype". how do i eliminate this...
Separate names with a comma.