Win a copy of Head First Go this week in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Failed to Initialize  RSS feed

 
Ranch Hand
Posts: 37
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello gentleman and ladies,

I am working on a programming assignment (priority queue/heap sort) and we need to initialize the heap first with the given "menu" selection. If we did not initialize the heap first we need to write a statement "initialize heap first." I was going to do a simple


but I quickly realize this would not work. Any suggestions would be appreciated. (I am sure this is something basic that I am just overlooking)

As always thank you for your time in helping a beginner programmer!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!