Nice, thanks cire, that was fast :). So I've changed my main with:
1 2 3 4 5 6 7 8 9 10 11
|
cout << "Main: " << endl;
LinkedQueue *queue = new LinkedQueue();
queue->enqueue("First string in the queue");
queue->dequeue();
(*queue).enqueue("Second string in the queue");
queue->enqueue("Third string");
queue->enqueue("String no 4");
queue->displayQueue();
delete queue;
cout << "Exit point!" << endl;
return 0;
|
Now I get this beauty:
'LinkedQueue.exe' (Win32): Loaded 'E:\Home\LinkedQueue\LinkedQueue\Debug\LinkedQueue.exe'. Symbols loaded.
'LinkedQueue.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'LinkedQueue.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'LinkedQueue.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'LinkedQueue.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp110d.dll'. Symbols loaded.
'LinkedQueue.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr110d.dll'. Symbols loaded.
The program '[6112] LinkedQueue.exe' has exited with code 0 (0x0).
I've disabled the load messages in Options but I'm still left with "exited with code 0 (0x0)". Is this normal?