Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Detect Computer Name in VC++ Pin
ThatsAlok8-Jun-05 2:33
ThatsAlok8-Jun-05 2:33 
AnswerRe: How to Detect Computer Name in VC++ Pin
David Crow8-Jun-05 2:35
David Crow8-Jun-05 2:35 
GeneralGetOpenFileName() Pin
User 5838528-Jun-05 2:13
User 5838528-Jun-05 2:13 
GeneralRe: GetOpenFileName() Pin
David Crow8-Jun-05 2:49
David Crow8-Jun-05 2:49 
GeneralRe: GetOpenFileName() Pin
Graham Bradshaw8-Jun-05 3:17
Graham Bradshaw8-Jun-05 3:17 
GeneralRe: GetOpenFileName() Pin
User 5838528-Jun-05 3:28
User 5838528-Jun-05 3:28 
GeneralRe: GetOpenFileName() Pin
David Crow8-Jun-05 4:54
David Crow8-Jun-05 4:54 
GeneralProblem implementing the priority_queue Pin
r3dqu33n8-Jun-05 1:46
r3dqu33n8-Jun-05 1:46 
Hello:

I'm trying to do a proirity_queue like this:

 #include < queue ><br />
using namespace std;<br />
<br />
struct stman{<br />
   int age;<br />
   double Height;<br />
   char Name[255];<br />
}<br />
<br />
priority_queue <stman> myQueue;<br />
stman sMan;<br />
<br />
int main(){<br />
<br />
  myQueue.push(sMan);<br />
  <br />
}


The code here does nothing...Hmmm | :| but it explains the trouble in what i am, i can't save these tipe of struct into the queue, and order the priority based in the age of any instance of the struct.

The question is... someone knows how solve it???Roll eyes | :rolleyes:

Thank you in advance
GeneralRe: Problem implementing the priority_queue Pin
John M. Drescher8-Jun-05 3:09
John M. Drescher8-Jun-05 3:09 
Generalchange control postion during runtime in win32 Pin
daydremer8-Jun-05 1:24
daydremer8-Jun-05 1:24 
GeneralRe: change control postion during runtime in win32 Pin
toxcct8-Jun-05 1:28
toxcct8-Jun-05 1:28 
GeneralRe: change control postion during runtime in win32 Pin
Anonymous8-Jun-05 1:42
Anonymous8-Jun-05 1:42 
GeneralRe: change control postion during runtime in win32 Pin
toxcct8-Jun-05 1:47
toxcct8-Jun-05 1:47 
GeneralRe: change control postion during runtime in win32 Pin
ThatsAlok8-Jun-05 1:35
ThatsAlok8-Jun-05 1:35 
GeneralRe: change control postion during runtime in win32 Pin
toxcct8-Jun-05 1:41
toxcct8-Jun-05 1:41 
GeneralRe: change control postion during runtime in win32 Pin
ThatsAlok8-Jun-05 1:53
ThatsAlok8-Jun-05 1:53 
GeneralRe: change control postion during runtime in win32 Pin
toxcct8-Jun-05 1:57
toxcct8-Jun-05 1:57 
GeneralRe: change control postion during runtime in win32 Pin
ThatsAlok8-Jun-05 2:00
ThatsAlok8-Jun-05 2:00 
GeneralOT Pin
Bob Stanneveld8-Jun-05 2:25
Bob Stanneveld8-Jun-05 2:25 
GeneralRe: OT Pin
ThatsAlok8-Jun-05 2:36
ThatsAlok8-Jun-05 2:36 
GeneralRe: OT Pin
Bob Stanneveld8-Jun-05 2:40
Bob Stanneveld8-Jun-05 2:40 
GeneralRe: OT Pin
toxcct8-Jun-05 5:09
toxcct8-Jun-05 5:09 
GeneralRe: OT Pin
Bob Stanneveld8-Jun-05 5:13
Bob Stanneveld8-Jun-05 5:13 
GeneralRe: change control postion during runtime in win32 Pin
daydremer8-Jun-05 3:13
daydremer8-Jun-05 3:13 
Generalunsigned chars to unsigned short Pin
richiemac8-Jun-05 1:12
richiemac8-Jun-05 1:12 

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.