Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: OrcaDK
Forum: Computer Technical Help 12-06-2005, 06:31 PM
Replies: 9
Views: 94
Posted By OrcaDK
Re: C++ Question

Ok, you can make the validation using char arrays also, here's a very crude untested example:

public bool validate(char[] input)
{
for(int i=0; i<12; i++)
if(i==3 || i==7)
{
...
Forum: Computer Technical Help 12-06-2005, 04:38 PM
Replies: 9
Views: 94
Posted By OrcaDK
Re: C++ Question

[ QUOTE ]
You wouldn't know an easy search function would you? I need to be able to let the user seach for a name and output the matching results. I know you can use a bubble sort for numbers, but...
Forum: Computer Technical Help 12-06-2005, 04:12 PM
Replies: 9
Views: 94
Posted By OrcaDK
Re: C++ Question

int Entries;
int Numbers[], Names[];

cout << "How many entries do you have?";
cin >> Entries;
Numbers = new int[Entries];
Names = new int[Entries];
cout << "Please enter all of the names.";...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 10:21 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.