Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: Jishnu ; Forum: C++ and child forums
Forum: C++ Jul 3rd, 2008
Replies: 4
Views: 554
Posted By Jishnu
Isn't your question vague? Avoid forcing people who want to help you to assume anything.
Forum: C++ Jun 25th, 2008
Replies: 7
Views: 1,088
Posted By Jishnu
Sorry, but I'm not able to understand the format of the output you want from the program. I'll be able to help if you describe in a bit detail.
Forum: C++ Jun 25th, 2008
Replies: 7
Views: 1,088
Posted By Jishnu
Do you mean a bar chart? Then scale those values by a suitable factor and then display the results. For e.g. for Celsius to Fahrenheit, take 0 to 100 on X-axis, and 32 to 212 on Y-axis. Scale the...
Forum: C++ Jun 25th, 2008
Replies: 7
Views: 1,088
Posted By Jishnu
Inside the if blocks that you've commented, wait for a character to be pressed by the user. That would print all the results on the console, and at the same time, the user will be able to view them...
Forum: C++ Jun 24th, 2008
Replies: 3
Views: 931
Posted By Jishnu
Which header file library are you using?
Forum: C++ Jun 22nd, 2008
Replies: 10
Views: 854
Posted By Jishnu
Insert the switch(userChoice) into a do-while loop and specify a break condition for the same. You'll have to increment the wins, loses and ties in the different cases of switch(computerChoice). Hope...
Forum: C++ Jun 22nd, 2008
Replies: 8
Views: 841
Posted By Jishnu
vijayan121 has just provided the functions, you'll have to adapt them according to your main code and use them. His functions will compile, but how do you expect them to run?!
Forum: C++ Jan 9th, 2008
Replies: 16
Views: 2,176
Posted By Jishnu
Then mark it as solved. Use the link that appears at the end of the last post in this thread.
Forum: C++ Dec 23rd, 2007
Replies: 16
Views: 2,176
Posted By Jishnu
I forgot to put this inside quotes.

If you are interested in game programming learn OpenGL. If you already know it, try making games like bingo, reversi/othello, go...

Apart from games, you...
Forum: C++ Dec 23rd, 2007
Replies: 16
Views: 2,176
Posted By Jishnu
the basics in c++ i did solitiare game and tic tac toe game so far

If you are interested in game programming learn OpenGL. If you already know it, try making games like bingo, reversi/othello,...
Forum: C++ Dec 21st, 2007
Replies: 6
Views: 1,805
Posted By Jishnu
Yes, I thought so. Now, as he has specified, changing the memory model is inapplicable to this case.
Forum: C++ Dec 16th, 2007
Replies: 6
Views: 1,805
Posted By Jishnu
I don't know about the best solution. But you can improve the existing program by using long int instead of int and also changing the memory model to large or huge.
Forum: C++ Dec 16th, 2007
Replies: 6
Views: 1,805
Posted By Jishnu
The problem is the same. Solutions are worked out in different manner.

Apart from this, I could not make out from your post what problem you are facing. Please mention if I've misunderstood...
Forum: C++ Dec 12th, 2007
Replies: 4
Views: 2,607
Posted By Jishnu
I didn't understand that.

Also, if you've no more problems, then mark the thread as solved.
Forum: C++ Dec 12th, 2007
Replies: 4
Views: 2,607
Posted By Jishnu
Maybe some problem with the access specifier keywords used for that particular function. Nothing else can explain such a behaviour. Atleast post your .h file so that it makes debugging easy.
Forum: C++ Dec 11th, 2007
Replies: 5
Views: 756
Posted By Jishnu
No, I can't think of a better way. danzona has given an excellent peice of advice. Stick to it.



In doing these logically simple tasks, so you won't get any logical errors. You might get syntax...
Forum: C++ Nov 29th, 2007
Replies: 8
Solved: Patients Please
Views: 889
Posted By Jishnu
Just state in the pseudocode that x=x+20 results in incrementing the value of x by 20. Nothing else would be required.
Forum: C++ Nov 28th, 2007
Replies: 8
Solved: Patients Please
Views: 889
Posted By Jishnu
I think you've not learnt the basics yet... First the value of LHS expression is evaluated and then it is assigned to the variable on RHS... So, first X+20 (50) is evaluated & then it (50) is...
Forum: C++ Nov 27th, 2007
Replies: 6
Views: 3,710
Posted By Jishnu
Use code tags :D



If you mean that you want to implement the same algorithm for a series of numbers, use arrays. If you want to pass them one at a time to the function, then put the function...
Forum: C++ Nov 24th, 2007
Replies: 7
Solved: C++ pointers
Views: 748
Posted By Jishnu
Also, this thread contains nothing specific to C++ & so, it should be posted in the C forum.
Forum: C++ Nov 24th, 2007
Replies: 7
Solved: C++ pointers
Views: 748
Posted By Jishnu
If you want to modify the original program minimally,

*ptr + 1 = 20; // set arr[1] to 20

should be rewritten as

*(ptr + 1) = 20; // set arr[1] to 20

This is because * has...
Forum: C++ Nov 24th, 2007
Replies: 7
Solved: C++ pointers
Views: 748
Posted By Jishnu
while(ptr >= arr)
{
cout << *ptr << endl;
ptr--;
}

must be modified to

ptr=arr;
while(ptr <= arr+2)
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC