Forum: C Oct 31st, 2006 |
| Replies: 1 Views: 1,723 Hello, I usually don't complain too much. But this time I am getting mad. I just wrote a linked list, where
1. If the value was not present before in the list, it will be added. In this case, there... |
Forum: C Apr 14th, 2006 |
| Replies: 13 Views: 25,181 an easy solution is:
startX, endX;
for(i=startX; i<=endX; i++) {
for(j=2; j<i; j++) {
p=i%j;
if(p!=0) {
// you know it is not prime... break the loop
} //now... |
Forum: C Apr 10th, 2006 |
| Replies: 1 Views: 884 very simple u r calling char m_f_name[30] inside ur remove member function..... n u r not returning anything to the main function..... so, watever is done inside the remove function doesn't link to... |
Forum: C Apr 10th, 2006 |
| Replies: 4 Views: 1,267 u can use debugging tool or watch function of ur compiler for better understanding wat u made wrong..... n the thing is i have run ur program.... it seems like it z working fine.... okay for... |
Forum: C Apr 9th, 2006 |
| Replies: 8 Views: 2,518 we do binary calculation on following manner:
read carefully, then read salem's posting..... i hope u ll get ur ans. :).... cheers! |