Search Results

Showing results 1 to 40 of 123
Search took 0.01 seconds.
Search: Posts Made By: Traicey ; Forum: C++ and child forums
Forum: C++ Aug 14th, 2009
Replies: 3
Views: 221
Posted By Traicey
The append mode is just there to avoid the overwrite of the existing records

Im not sure if I understand what ur saying can u ellaborate a bit

Thanks
Forum: C++ Aug 14th, 2009
Replies: 3
Views: 221
Posted By Traicey
Hi all

I have a function writetofile() which save a record to a file but the problem is when its writting to a file it doesnt write the record in a correct order, here is the code for...
Forum: C++ Jun 4th, 2009
Replies: 5
Views: 490
Posted By Traicey
Does anyone know a source code for calculating Zodiac Sign using a given DoB

Thanks
Forum: C++ Mar 13th, 2009
Replies: 10
Solved: Help Urgently
Views: 459
Posted By Traicey
But U actually did... Thanx a lot man, it wasnt difficult now was it
Forum: C++ Mar 13th, 2009
Replies: 10
Solved: Help Urgently
Views: 459
Posted By Traicey
If I do that, I only accept one number frm the user and it prints out this statement "Odd Numbers = 1"
Forum: C++ Mar 13th, 2009
Replies: 10
Solved: Help Urgently
Views: 459
Posted By Traicey
What is wrong is that it is not keeping track of odd numbers or even numbers the users enters but instead it just print 1 for odd numbers only,

int Num;
cout << "EVEN - ODD " << endl;
cout <<...
Forum: C++ Mar 13th, 2009
Replies: 10
Solved: Help Urgently
Views: 459
Posted By Traicey
I have tried that but its not working
Forum: C++ Mar 13th, 2009
Replies: 10
Solved: Help Urgently
Views: 459
Posted By Traicey
I need to keep track of odd and even number which will be accepted from the user 10 time after the user entering them I have to print something like odd number = "The number of odd numbers from what...
Forum: C++ Dec 3rd, 2008
Replies: 21
Views: 1,706
Posted By Traicey
I dont know why you are assigning the address or memory location of data to savings whereas your variable data is not a pointer, I think the problem in your code is a mismatch of the data types you...
Forum: C++ Oct 27th, 2008
Replies: 5
Views: 610
Posted By Traicey
I have a datetime picker, then I have ValueChanged event handler for it and a code that goes like this

DateTime date = DateTime::Parse(dtpDate->Text);
System::DateTime::Compare(date,...
Forum: C++ Oct 27th, 2008
Replies: 5
Views: 610
Posted By Traicey
Im not sure if Im doing it right but... I have changed the datetimepicker to ValueChanged so now I dont have compare option to compare the datetimepicker with Now().CurrentDate()

PLease let me...
Forum: C++ Oct 27th, 2008
Replies: 5
Views: 610
Posted By Traicey
I need to make sure that when the user select a date from a DateTimePicker the date should not be less than Today's date,

anyone knows how to achieve that

Thanx
Forum: C++ Oct 27th, 2008
Replies: 1
Views: 282
Posted By Traicey
Guys, can anyone help me with the code to print from a list view I need to select a record from a list view then click button Print and bring the information accross the print document page, PLease...
Forum: C++ Oct 20th, 2008
Replies: 3
Views: 500
Posted By Traicey
I have tried that but all the text appears in one column instead of writting each record on its separate column and it reads the spaces too
Forum: C++ Oct 20th, 2008
Replies: 3
Views: 500
Posted By Traicey
Guys I need to read from a text file and display to a listview I have tried google but nothing like what I am looking for, can anyone help me, Im using windows application

Thanx in advance
Forum: C++ Oct 14th, 2008
Replies: 1
Views: 926
Posted By Traicey
Guys

I need help with creating telephone input mask on the text box I am using windows programming, I need something like this ( )- 1823121

Any help would be highly appreciated
Forum: C++ Oct 7th, 2008
Replies: 3
Views: 662
Posted By Traicey
I dont know what would I do without u, thanx man but can u provide me with a sample code so I can just replace
Forum: C++ Oct 7th, 2008
Replies: 3
Views: 662
Posted By Traicey
Can anyon help me with the code to delete from file using the delete method or function

void delete()
{
}

Thanks in advance
Forum: C++ Aug 5th, 2008
Replies: 2
Views: 421
Posted By Traicey
I have struct which is like this
struct Node
{
int Num;
Node *Point
}

so the program has to insert the numbers in the list during the execution, so the user can insert as many...
Forum: C++ Jun 18th, 2008
Replies: 0
Views: 522
Posted By Traicey
Guys

Im alwayz having a syntax error which makes my form designer to dissappear and that scares the hell out of me coz Im writting practical test tomorrow, and what I wana know is what could be...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Oh hang on... wait!!!! so what could be the problem coz what I understand is once the compiler gets to the if statement it just jump straight to the else part even if I entered the only last date and...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
I suppose its a logic error so I wouldnt know, what I know is... that if statement is not working at all, I have tryied to move it inside the loop but hey it has a hard head and stubborn to do what I...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
The if statement is not working at all and when outside the loop it only reads the last date and flight number from the file, ok now how do I take my if statement inside the loop without having to...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Ok now what could be the problem on this statement if(date == F.date && flight == F.FlightNum)
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Again!!!!!!!!!!!! even if you need two!!!! wow then C++ is getting closer to what we call "more than complicated" where am coming from
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Ok I got it now, it reads and write everything from the file, What i dont understand how come coz I have read only two variables and output only them, so there is just no way it could find the date...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Im sorry about that too, I also thought my program would do the same too such as reading the date and flight number

the format of my file is of the ff
date FlightNum DepartAt ...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
I have to read two fields which is date and flight and compare them with the ones that user entered if found the program has to accept the user's details which are names and so forth so the prob is...
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
What?????????????????
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Here is the code


int x;
int seats = 0;
//open files
ofstream TempFile;
TempFile.open("TempFile.dat");
ifstream capeFile;
ifstream durbsFile;
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
Such as.............
Forum: C++ Jun 16th, 2008
Replies: 23
Views: 1,197
Posted By Traicey
What usually be the cuase of the file reading the wrong data, lets say I have a file and I wana read a date which is the 1st data in the file but instead is reading something else

My file is more...
Forum: C++ Jun 10th, 2008
Replies: 7
Views: 713
Posted By Traicey
Now tell me Ed What are you doing here Date capeDate;
Date durbsDate;
Forum: C++ Jun 10th, 2008
Replies: 7
Views: 713
Posted By Traicey
I forgot to mention it....Accepting the passenger's details shouldnt be the problem, My problem is to get the date and the flight number from those files and compare them with the ones that user...
Forum: C++ Jun 10th, 2008
Replies: 7
Views: 713
Posted By Traicey
I have two files and have to compare dates and flight-number to both files and if found I have to accept passenger details,

The isFlightAvailable is a function where I have my boolean which...
Forum: C++ Jun 10th, 2008
Replies: 7
Views: 713
Posted By Traicey
Another assignment, another due date, another exams, thats how I describe my life these days

Im trying to read a date from the user and compare it with the date in the file and if the date is...
Forum: C++ Jun 4th, 2008
Replies: 4
Views: 431
Posted By Traicey
Forum: C++ Jun 4th, 2008
Replies: 4
Views: 431
Posted By Traicey
Ok Now I wana do the same to the 2nd form, that is, if I click to the button it has to take me back to the 1st form so the problem is when I try the above code to the 2nd form it gives me errors
Forum: C++ Jun 4th, 2008
Replies: 4
Views: 431
Posted By Traicey
Guys

I have 2 forms and I have a button that when I click have to open another form
but I dont know how to do that, I have google searched it but I ended having hilarious syntax errors, anyone...
Forum: C++ Jun 3rd, 2008
Replies: 6
Views: 633
Posted By Traicey
Have you ever read something and after that feel like you dont know what you thought you knew or wander if there is anything u know about the subject at hand, thats what alwayz happen when I read...
Showing results 1 to 40 of 123

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC