thanks very much!
Type: Posts; User: mouse163
thanks very much!
why is it that you cannot have 2 consecutive cin.get() for a char
in a row such as this:
(it skips the second prompt and just prints first name)
#include<iostream>
#include<iomanip>...
yes, this is an assignment.
I'm an 'older' night student who (obviously)
is new to C++. and myr esources are very limited.
I very much appreciate your tips.
thanks
M
the 2nd else belongs to the first if statement, it actually does complile-
but yeah, there are problems...
i will look at updating the pointers after i delete.
no one ever said it was going to...
hi,
i am working(still)..on a linked list where nodes are assigned
and given an index number.
I am assigning the indexes incrementally according to the size
of the linked list.
Upon deletion...
figured out the probl..thanks andy!!
here is the assembly error from the debugger:
strcmp:
004226A0 mov edx,dword ptr [esp+4]
004226A4 mov ecx,dword ptr [esp+8]
004226A8 test edx,3
004226AE jne ...
Andy,
your explanation was excellent.
I feel as though I understand it alot better -
I appreciate your time immensely.
Problem is, following your logic-my program is still crashing when I add...
I did study it but, can't get some of the C logic.
I am very weak with this.
I just cannot get this!
Then compate current->D.name to tptr->D.name until you find the insetion point.
the following is my attempt at this function.
(i have an overloaded > op in the struct...
thank you so much for taking the time to go thru all that for me-
I am going to punch through your tips and the tutorial
(believe me i have done a few!)
I'm very grateful for your time-
Michele
Thanks,
I don't think that's the problem-I believe the problem is in my Add function.
If i added straight to the back print() worked fine.
but thanks
Hey all,
I'm including my telephone linked list code.
I am having major problems trying to insert (or add)
my new node in the appropriate alphabetical order.
I tried to overload the > op to...
Hi.
when you see my code, it will go without saying I struggle with this-but I'm trying...
I have a LL class that has a data from a struct that holds
name and number.
I am trying to write the...
---there are certain instances where using namespace std; IS appropriate and others when it doen't hold water.
In addition using namespace std; in the above referenced instance is relative to...
ClownPimp,
thank for your interest - i am still kinda new to programming
(if you want to define my struggles as that ;-D) how do i do a stack trace?
M
I am creating a listed database of employees from an external file..it should read in the first txt file info and create the database-
and then generate a payday with a second file that has hours...
I am using the #include<list>
header with the following declaration of a databaseclass
for my employees, which will be read by an iterator class.
The abstract base class has 2 pure virtual...
actually for some things using namespace std does not work.
I would very much prefer to type one simple statement but....
no dice @ times...
I'm sure you'll run into a time when this is...
can anyone tell me why I am crashing when i run this ?
I am loading and then trying to combine 2 arrays to I can sort the final one:
thanks!
#include <iostream>
using std::cout;
using...
Hello everybody,
was wondering which would be the appropriate approach
to merge and sort 2 filled arrays (ints).
I have tried to implement a merge sort..
but am wondering if this is the correct...
Hi & thanks for the response..
maybe you can help more...
I am using the > operator as a member function to compare
one object to the 'this' object...
it works and compiles but when I attempt to...
Hi all,
I want to use a greater than operator and overload it to compare two objects of the same class thereby doing a bubble or selection sort to alphabetize...
I understand the syntax (I think) I...
actually i was using a reference parameter and calling a pointer once i changed that..things were better the << operator instead of >> was an accidental typo - i hadn't attempted that function yet...
Hi all...
I have a question regarding overloading of the << operator.
I am using it as a friend function of a class in order to print out
the private data of each object of the class when created....