Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Splitter window headaches Pin
esapp42020-Mar-02 9:27
esapp42020-Mar-02 9:27 
GeneralRe: Splitter window headaches Pin
soup20-Mar-02 13:17
soup20-Mar-02 13:17 
GeneralSetting timer in Doc but used in a View Pin
Merle Pittman20-Mar-02 6:58
Merle Pittman20-Mar-02 6:58 
GeneralRe: Setting timer in Doc but used in a View Pin
Mazdak20-Mar-02 7:26
Mazdak20-Mar-02 7:26 
GeneralRe: Setting timer in Doc but used in a View Pin
Merle Pittman20-Mar-02 7:47
Merle Pittman20-Mar-02 7:47 
GeneralRe: Setting timer in Doc but used in a View Pin
Andres Manggini20-Mar-02 8:24
Andres Manggini20-Mar-02 8:24 
GeneralRe: Setting timer in Doc but used in a View Pin
Shog920-Mar-02 8:02
sitebuilderShog920-Mar-02 8:02 
GeneralC2676 Pin
20-Mar-02 6:51
suss20-Mar-02 6:51 
c:\windows\desktop\project3\linkedlist.h(147) : error C2676: binary '==' : 'class Partition' does not define this operator or a conversion to a type acceptable to the predefined operator
C:\Windows\Desktop\Project3\Partition.cpp(188) : while compiling class-template member function 'class Partition &__thiscall LinkedList<class partition="">::find(class Partition &)'
Error executing cl.exe.

HERE IS SOME CODE:
void main()
{
	Partition* tempPartition;
	MemoryManager* tempManager = new MemoryManager();
	LinkedList<partition> L;
	bool firstInputLine = true;
	int processNumber;
	int memoryDesired;
	
   	cout << "------------------------------------------" << endl;
	cout << "PROCESSING " << endl;
	cout << "------------------------------------------" << endl;

    do
	{
		cin>> processNumber >> memoryDesired;
		if (firstInputLine)
		{
			if (memoryDesired <= tempManager->memoryLimit)
			{
				tempPartition = new Partition(0, memoryDesired-1, false, processNumber); 
				L.insertAt(*tempPartition, 0);
				tempManager->addProcess(*tempPartition, 0);
				firstInputLine = false;
			}
			else
				cout <<" THIS PROCESS NEEDS MORE MEMORY THAN WHAT I GOT.";

<\pre>

When i click on that error it takes me to the LinkedList template class
I'm very confused. thanks for unconfusing me.
:confused:

GeneralRe: C2676 Pin
Rickard Andersson2020-Mar-02 7:02
Rickard Andersson2020-Mar-02 7:02 
GeneralRe: C2676 Pin
Bill Wilson20-Mar-02 7:05
Bill Wilson20-Mar-02 7:05 
GeneralCOM Port Active X Pin
dlhson20-Mar-02 6:31
dlhson20-Mar-02 6:31 
QuestionChange image saturation...? Pin
Chris Losinger20-Mar-02 6:23
professionalChris Losinger20-Mar-02 6:23 
AnswerRe: Change image saturation...? Pin
Christian Graus20-Mar-02 9:53
protectorChristian Graus20-Mar-02 9:53 
AnswerRe: Change image saturation...? Pin
Joaquín M López Muñoz20-Mar-02 10:50
Joaquín M López Muñoz20-Mar-02 10:50 
GeneralRe: Change image saturation...? Pin
Chris Losinger20-Mar-02 15:08
professionalChris Losinger20-Mar-02 15:08 
Generalcan't create modeless dialog Pin
Hans Ruck20-Mar-02 6:17
Hans Ruck20-Mar-02 6:17 
GeneralRe: can't create modeless dialog Pin
Joaquín M López Muñoz20-Mar-02 9:26
Joaquín M López Muñoz20-Mar-02 9:26 
Generalquick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 5:59
suss20-Mar-02 5:59 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
20-Mar-02 6:15
suss20-Mar-02 6:15 
GeneralRe: quick question - need the registry key name which makes application to start at boot - Thanks Pin
Bill Wilson20-Mar-02 6:56
Bill Wilson20-Mar-02 6:56 
Questionmodem connection RAS or TAPI or ??? Pin
20-Mar-02 5:57
suss20-Mar-02 5:57 
AnswerI'm too Pin
dlhson20-Mar-02 6:07
dlhson20-Mar-02 6:07 
Questionhow to get a process name attached to a given udp port ? Pin
20-Mar-02 5:45
suss20-Mar-02 5:45 
Generala strange debug error Pin
Gérald Mercet20-Mar-02 5:04
Gérald Mercet20-Mar-02 5:04 
GeneralRe: a strange debug error Pin
Joaquín M López Muñoz20-Mar-02 7:34
Joaquín M López Muñoz20-Mar-02 7:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.