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: Java Apr 13th, 2009 |
| Replies: 9 Views: 839 well actually i used to convert all of my code in an applet form and work. but if u completely wanna run java application using html then try the underneath link .
http://www.java2html.com/
it... |
Forum: Java Apr 11th, 2009 |
| Replies: 9 Views: 839 well in ur java program u will have to write the following
/* <applet code = "filename" height = 300 width = 300 >
</applet code> */
it should be written after the packages you import... |
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: Java Apr 6th, 2009 |
| Replies: 24 Views: 1,353 well if ur a neophyte into this then the oly thing i recommend is ti do the program from basic
1. using char array . later on you can re do the same thing with utmost sophistication . sometimes... |
Forum: Java Apr 5th, 2009 |
| Replies: 24 Views: 1,353 wat is "text" here , i mean wat does it hold .
besides u could have been a little more explicit in mentioning about your code .
as far as i guess from this its a mismatch between string and char... |
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: Assembly Apr 5th, 2009 |
| Replies: 7 Views: 604 sorry for late reply
well if u have done a conventional installation that is installing in c drive. there must be a folder called TASM must be created
most imp searchfor two files mainly
1.... |
Forum: Assembly Apr 5th, 2009 |
| Replies: 7 Views: 604 well did u try that in tasm ....? that is the turbo assembler . (its kinda preferred ) |
Forum: Assembly Apr 5th, 2009 |
| Replies: 7 Views: 604 well why dont you try tasm (mostly doesnt disappoint ) .
besides why dont u try the following code
.model small
.stack
.data
str db "Welcome to assembly $"
.code
mov ax ,... |
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: Java Apr 4th, 2009 |
| Replies: 24 Views: 1,353 well i doubt that u can do that simultaneously . well if u want to find a particular character and then replace or replace at particular position .
1. input the string
string s = new string... |
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: Assembly Apr 3rd, 2009 |
| Replies: 7 Views: 928 Well the best book as far as i have know is
Assembly language step by step - jeff duntemann
he teaches you from the scratch.
well after reading the whole book if u still want to develop more... |
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... |