Forum: C Apr 3rd, 2006 |
| Replies: 25 Views: 9,577 Grunge, it's better to start again and go with conventional methods that meet the standards of people such as Ancient Dragon.
ASCII stands for American Standard Code for Information Interchange.... |
Forum: C Apr 3rd, 2006 |
| Replies: 25 Views: 9,577 As Ancient Dragon says:
A computer only knows binary, because all memory storage in a computer is determined by the state of the bit being on or off.
It does not magically store 'A' or a ... |
Forum: C++ Mar 31st, 2006 |
| Replies: 3 Views: 1,935 You could create additional pointers to the linked list that you assign during the search functions (Pass the pointers as parameters).
Then, once you've searched, you can continue to bring up... |
Forum: C++ Aug 25th, 2005 |
| Replies: 48 Views: 10,391 ... right. Well, if you were only TESTED on powers of two, I'm right, but my code isn't gonna cut it past 4. |
Forum: C++ Aug 25th, 2005 |
| Replies: 48 Views: 10,391 the answer to number 3 (assuming the number is an integer) is to use the modulous operator, %.
if(!(numbername%2))
cout<<numbername<<" is a power of 2."<<endl; |
Forum: C++ Aug 24th, 2005 |
| Replies: 7 Views: 5,510 More precisely, look for spaces ONLY after characters.
That will help you a great deal with tabs and incorrect spacing. |
Forum: C++ Aug 11th, 2005 |
| Replies: 7 Views: 3,923 Whoops. Test is supposed to be 'trans'. I wrote this all without a compiler, so I didn't catch the typo.
Fixed it.
And I also started to smile at 'OMGEUREKAPWNZD!'. I think I'll start using... |
Forum: C++ Aug 11th, 2005 |
| Replies: 7 Views: 3,923 S'okay. Let's expand the node I wrote.
struct node
{
int blar[3];
node *next;
} |
Forum: C++ Aug 11th, 2005 |
| Replies: 7 Views: 3,923 1. Think of it like this: The pointer to the beginning is the anchor, and what you use it for is to point to the first entry in your singly-linked list (SLL). Until you use it, however, it's a good... |