I am supposed to use Borland :D. I am guessing it is the compiler my teacher used, and he is not willing to change. I suggested that we get Visual C++; and he said he will look into it.
Anyway...
Type: Posts; User: Chronotrigga
I am supposed to use Borland :D. I am guessing it is the compiler my teacher used, and he is not willing to change. I suggested that we get Visual C++; and he said he will look into it.
Anyway...
Yeah, I know :(. I am supposed to use Borland though, although I can use better compilers.
Num is an int up top :P. And, yes, I am using Borland 97 which is about a 10 year old compiler.. Don't ask why. :(
Hey; quick question if anyone can help me. I am entering First name and Last name and then searching for it to see if it is there. It finds the name before I save it to a disk file; but when I...
Fixed:
void searchlast()
{
int I, found,f,ptr;
char Sname[25];
ptr=0;
clrscr();
In my other subroutine, I am inputting a person's first and last name. Here, I am merely searching for the last name. Whenever I input Snum that is supposed to be someone's last name, it gives me the...
Fixed!
Yes, there would be if it was an int of temp. Anyway; it runs but it doesn't sort ABC.. Not sure:
void searchfull()
{
int j;
char tempf[25][25],templ[25][25],tempr[25][25],tempq[25][25];...
Well, my project is due soon like tommorow, but I am willing to give std::string a shot to learn it; can you give me an example of how to use it or lead me to a site?
But even if C-style strings...
For:
if(namecmp > 0)
{
info temp = myArr[i+1];
myArr[i+1] = myArr[i];
myArr[i] = temp;
}
Do I have to make a new struct for temp?
I am having trouble on my sort. I am trying to sort First and Last Name (in ABC order), and for every name there is the age, city, state, etc.. Obviously when I sort the Names, I have to get the age,...