Forum: C++ Jul 12th, 2005 |
| Replies: 8 Views: 3,854 since this is an ordered list and it is searching where to place the new item in the list so it is in order, do i need another while loop to check for the duplicates, i know you need to go through... |
Forum: C++ Jul 11th, 2005 |
| Replies: 8 Views: 3,854 I was wondering if anyone can give me an idea on how i can modify this function to check for duplicates, if it contains a duplicate, since duplicates are not aloowed, output a message.
Any help... |
Forum: C++ May 23rd, 2005 |
| Replies: 3 Views: 2,196 Can Any one reccomend a good book in c++ on Game programming? |
Forum: C++ May 1st, 2005 |
| Replies: 9 Views: 8,746 Maybe i wasn't to clear what i need the program to do is this: Assume that people are arranged in a circle and are numbered from 1 to n. if we count every 4th person, removing a person as we count... |
Forum: C++ Apr 27th, 2005 |
| Replies: 9 Views: 8,746 struct Node
{
int info;
Node * next;
Node(const int& x, Node * link)
: info(x),
next(link)
{ }
}; |
Forum: C++ Apr 27th, 2005 |
| Replies: 9 Views: 8,746 Does anyone know how to create circular linked list whose links are numbered from 1 to n specified by the user? |
Forum: C Apr 11th, 2005 |
| Replies: 12 Views: 3,874 ok what i'm trying to do is take any integer typed in by the user strip the digits, then sort it put it back into a vector and output it back out for example if you input 34 i want to output 43... |
Forum: C Apr 11th, 2005 |
| Replies: 12 Views: 3,874 does any one have an idea how to correct my code so it works? What it is suppose to do is take an integer and strip the digits and throw it in a vector and then take the sorted numbers and throw it... |
Forum: C Apr 9th, 2005 |
| Replies: 12 Views: 3,874 i was wondering how to strip off digits one by one and store them into an array so i can sort them. For example if the user entered 7216. take the 7 stor into cell one, take 2 store it cell 3 ettc... |
Forum: C++ Apr 3rd, 2005 |
| Replies: 7 Views: 2,152 thanks everyone for your help, igot this one figured out.
you can delete or dis reguard this thread. |
Forum: C++ Apr 3rd, 2005 |
| Replies: 7 Views: 2,152 This is what i'm trying to do but am not sure how to convert it if it is > 9 to a b c d e or f?
Here is the code thus far:
#include <iostream>
using namespace std;
#include "prompt.h"
... |
Forum: C++ Mar 29th, 2005 |
| Replies: 7 Views: 2,152 thanks guys, now for the challenge, how would i convert an int to hexadecimal, using recursion, in other words write a recursive function, i know how to do it for base 2, but how do you accomdate for... |
Forum: C++ Mar 29th, 2005 |
| Replies: 7 Views: 2,152 Can anyone give me an idea how to convert an int or decimal number into hexadecimal? I know how to do it for binary by dividing by 2 and using the modulus % operator, but how do you take into... |
Forum: C Mar 24th, 2005 |
| Replies: 1 Views: 1,358 Can Anyone explain to me what defines a symmetrical matrix and what is i'm looking for that mkes a matrix symmetrical, any help on this subject would greatly be appreciated. it would help me... |
Forum: C++ Nov 21st, 2004 |
| Replies: 5 Views: 4,132 thanks everyone for your help, i no longer need help with this program, got it all figured out and it's working perfectly. |
Forum: C++ Nov 20th, 2004 |
| Replies: 5 Views: 4,132 Here is the code so far now where i'm stuck is how to put the first number into a temp variable call my function and then store the count into a variable and compare the count with the next number... |
Forum: C Nov 20th, 2004 |
| Replies: 4 Views: 2,184 It would help if you supplied your code to see where you are having problems. |
Forum: C++ Nov 19th, 2004 |
| Replies: 5 Views: 4,132 i'm trying to write a program that takes two numbers from the user prints out the sequence between the 2 numbers and then outputs wthe longest sequence
for example if the user inputed 8 and 10
... |
Forum: C++ Oct 20th, 2004 |
| Replies: 1 Views: 2,700 How do you count charcters in C++? for example if the user inputs 1234 the output would be 4 and -1234 the output would be 5. also if a user enters a numbers until a 0 is entered it outputs the... |
Forum: C Oct 16th, 2004 |
| Replies: 1 Views: 1,742 Does anyone know how to get a loop to display the numbers across the screen in groups of 10 usin a while loop?
for example
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20 etc..... |
Forum: C++ Oct 16th, 2004 |
| Replies: 6 Views: 5,380 Thanks i've got it, it works fine, thanks for your help |
Forum: C++ Oct 14th, 2004 |
| Replies: 6 Views: 5,380 does anyone have any ideas if this is correct or not? |
Forum: C++ Oct 14th, 2004 |
| Replies: 6 Views: 5,380 Here is the formula i'm suppose to use:
i'm suppose to to write a complete program with a function using two parameters to calculate:
x(!)^n, where x(!)^n = x!! ... ! use BigInts For the... |
Forum: C++ Oct 14th, 2004 |
| Replies: 1 Views: 10,793 i know how to find prime numbers of several numbers, does anyone know hoew to find a prime sumber of a single number inputed by the ser using the following function and printing out if the number is... |