Forum: C++ Apr 14th, 2006 |
| Replies: 3 Views: 1,582 besides, u can write a test file to implement the functions one by one..... thus, u can understand which function is not working actually..... good luck! |
Forum: C++ Apr 10th, 2006 |
| Replies: 23 Views: 6,169 y don't u try this way to solve:
at first solve for p=Sqrt[4*(-b^2 + 3*a*c)^3 + (-2*b^3 + 9*a*b*c - 27*a^2*d)^2])^(1/3) ..... n other parts, which r similar in all of those roots..... then just... |
Forum: C++ Apr 10th, 2006 |
| Replies: 10 Views: 7,250 yah... linked list wud be better if u have enough knowledge on dat..... otherwise, try with the other one..... it wud be li'l clumsy.... but using good thinking u can decrease the length of the... |
Forum: C++ Apr 10th, 2006 |
| Replies: 4 Views: 1,181 or might be a good job in any institutions or in uni, as prof or research....... so cheers! :) |
Forum: C++ Apr 10th, 2006 |
| Replies: 2 Views: 1,036 ur code looks pretty alright this time..... it shud work.... or r u still having any problem?.... n wat kinda problem?.... one more thing to ask u.... did u put the class function in the stdafx.h... |
Forum: C++ Apr 10th, 2006 |
| Replies: 23 Views: 6,169 if u have to include i after all the calculations, the ans. will be some thing like a+ib, whr a and b are two numbers..... as example 2+3i or 4-7i ....... n ans.s shud look like this. |
Forum: C++ Apr 9th, 2006 |
| Replies: 8 Views: 4,775 is thr any requirement how u will understand the input is done?..... assume inputting "end".... or such thing..... if thrz any, just "break" the loop.... (u r in infinity loop bcoz u said... |
Forum: C++ Apr 9th, 2006 |
| Replies: 2 Views: 1,090 wow! it will help me too! :D |
Forum: C++ Apr 9th, 2006 |
| Replies: 2 Views: 10,546 and u can use stricmp() instead of strcmp() to ignore upper case n lower case ..... actually this is not good way to compare string sizes....... bcoz: compares str1 and str2 if they have same... |
Forum: C++ Apr 9th, 2006 |
| Replies: 6 Views: 1,324 sandra, i agree with narue...... at first u have to help urself.... try to solve the problems..... wish ur good luck with dat...... if u face problem after ur 3 hrs trying on any single issue, then... |
Forum: C++ Apr 9th, 2006 |
| Replies: 3 Views: 952 don't worry, we might be worse than u :P...... come on, we don't know u personally.... n here u r trying to learn...... no one will laugh at u.... e'one is very nice here |
Forum: C++ Apr 9th, 2006 |
| Replies: 5 Views: 1,634 check this: try without these lines..... y r u using int _tmain(int argc, _TCHAR* argv[]);
for?
and check brackets on the top part!
n which compiler u r using? |
Forum: C++ Apr 9th, 2006 |
| Replies: 8 Views: 4,775 yah.... bcoz ur cursor is waiting for the 100 char as ur full string watch: temp[100] ....... while inputting the characters, break the loop while '\n' will be inserted.... thus u can avoid ur enter... |
Forum: C++ Apr 9th, 2006 |
| Replies: 7 Views: 1,287 yah.... using array is good idea for beginners..... n don't forget to subtract 1 from the total element number before finding the avg.... :P .... as i used to do such mistakes a lot!
*** after... |
Forum: C++ Apr 7th, 2006 |
| Replies: 8 Views: 4,775 ok
instead write don't forget to declare the value of the constant max_lim
then instead of the for loop u used, try |
Forum: C++ Apr 7th, 2006 |
| Replies: 4 Views: 1,203 Here, the loop is running although the line is finished..... so better, if u use EOF or only while loop. |
Forum: C++ Apr 7th, 2006 |
| Replies: 4 Views: 3,099 You can write:
same in push(), top() and other functions.
then the main() should be:
this is just another way of writing.... nothing else.
and instead of array, isn't it possible to... |