thanks!
saved my life!
Type: Posts; User: black_sol
thanks!
saved my life!
where would this go? with the rest of the char's? or after np[MAX]?
just a quick one!
How do u clear an array of all its data? ive just got random stuff in and i cant get rid of it!
heres my structure
class book {
//starting the class
public:
p.s. just seen my mistake, but it says at this point of file on this line
result = strcmp (np[i].name);
sorry about all this guys, ive been working too long and my inteligence is...
Sorry looked myself away and looked indepth to it!
heres the re done code
// void book::findnme(void)
// {
// int i;
// int result;
Still sadly getting them!
except now i have a "forbids i with no type" error on line 7!
but surely its been declared at the start?
so what would i include in std::[xyz] everything from the int part?
I have put the iostream in, admittedly i did miss it from the start!
cout is a statement in Cpp isnt it?
hello,
im doing a program but ive got a problem but i cant see where the error is coming from! it seems so simple, but then the simple ones always are....
void telephone::findnme(void)
{...
Sadly mine needs to be in a loop or the menu system gives me 2 fingers.
tried the timer, but ive just noticed what i missed out!
thanks!
BS
yer just use a steady increment, make sure the loop knows about it mind.
i am trying to make my menu system pause so that users can read the screen before the menu system loops back up.
int main(int i){
int x;
x=1;
do
{
ive just noticed that the i has nothing to do with the class that it refers too.... my brains not working anymore...
i think ive sorted it out! thanks for pointing it out!
Black_Solitare
For some reason, it hasnt seperated the code.
for this i am sorry
I am having the same error on 2 parts of my code. i am getting an invalid conversion fron 'int' to 'const char'
y would i be getting this?
thanks you
Black_Solitare
<code>
void...
i have to be blind
cheers people! now to get the rest talking.....
#include <iostream.h>
#include <fstream.h>
#include <stdio.h>
#include <conio.h>
#define MAX 20
int s;
char choice;
class book {