Forum: C++ 18 Days Ago |
| Replies: 7 Views: 339 Well in that case , i would need to know what exactly ur trying to achieve ?
As far as i can see is that , this is a mere part of ur project or wat ever . it would be better if u could give a... |
Forum: C++ 18 Days Ago |
| Replies: 7 Views: 339 in ur turbo c== compiler , u can navigate to help (right mouse click) and then search for inp() and outp() .
There u will not only get a decent explanation but also an example with it.
I guess that... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 720 i guess u didnt understand my code..... why dont you execute this code and see how exactly it works.......
and variable can also be put inside instead of boolean, any way 1= TRUE and and 0 or lesser... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 720 flag is a variable name .. u can also write ur name instead of that.. its just that i am a bit convenient with that name that's its.....
and i am also giving an option in switch case if the user... |
Forum: C++ May 3rd, 2009 |
| Replies: 19 Views: 720 actually u can use a flag......(its just a variable but commonly know as flag when used in such purposes )
void display( )
{
int option, int flag =1;
system("cls"); //clear screen... |
Forum: C++ Apr 6th, 2009 |
| Replies: 10 Views: 1,893 well may be these underneath links might help you .
http://www.pages.drexel.edu/~weg22/can_tut.html
http://www.codeproject.com/KB/GDI-plus/edge_detection_in__c.aspx |
Forum: C++ Apr 5th, 2009 |
| Replies: 8 Views: 494 well let me simply for you ..
1. accept number(`s in form of for loop or so ) and perfrom step 1 of my previous post .
you will land up with alll the divisors of that particular number (which... |
Forum: C++ Apr 4th, 2009 |
| Replies: 8 Views: 494 well ur inputted with a number for ex lets take the no 28 ( which is in ur ex)
1. (this one is for proper divisor )
u will have to find such nos that divide 28 completely i.e
28 % number = = 0... |
Forum: C++ Apr 4th, 2009 |
| Replies: 10 Views: 1,893 well even i am into image processing and this link helpmed me a lot .
i dont know how far it will help you .
http://cimg.sourceforge.net/ |
Forum: C++ Apr 2nd, 2009 |
| Replies: 5 Views: 2,609 well at the first place i would recommend usage of float data type instead on double , guess float would do the trick.
second of all subtract the left part of the no from the original no itself , by... |
Forum: C++ Mar 27th, 2009 |
| Replies: 9 Views: 956 Well correct me if i am wrong .
asser macro aborts from the program not exits . there is a subtle difference btw them . the former i guess exits without performing any task . but the latter i guess... |
Forum: C++ Mar 27th, 2009 |
| Replies: 9 Views: 956 Well assert is a macro that expands to if statement .
if the test value is zero assert prints the message to stderr:
if the test fails :
test , filename , line linenum is... |
Forum: C++ Mar 26th, 2009 |
| Replies: 9 Views: 430 fine then by freeing the first node . we can delete the complete list . |
Forum: C++ Mar 26th, 2009 |
| Replies: 9 Views: 430 Well at the first place . When the program run is over the OS itself deletes the linked list . so actually no need of deleting it using a destructor.
if u want to delete a link list all you have... |