Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. PlasmaZero

    compiler won't recognize class def

    I've got it sorted out now. I was cyclicly #including class definitions. Thanks
  2. PlasmaZero

    compiler won't recognize class def

    Hmm. seq.h and soundgen.h don't have any issues. One thing that I'm thinking could be causing this is that class Notes is defined in util.h, but util.h defines a Tracks collection as well (requiring class Track to be working). Would this interdependency cause the compiler to throw errors?
  3. PlasmaZero

    compiler won't recognize class def

    I'm trying to compile a set of classes I wrote. Most seem to compile OK, but two out of the 10 or so won't compile at all. These two are derived from a class, which is a child, etc, and they are at the end of the inheritance. I checked several times for an extra semicolon or something that would...
  4. PlasmaZero

    Implementing custom Collection Classes

    Thanks, I went with the typedef method.
  5. PlasmaZero

    Implementing custom Collection Classes

    I've looked around, and can't seem to find a good tutorial for writing custom collection classes. As part of a project involving music, I'm attempting to create a collection of Note objects (Note being a custom class of mine). From what I could understand of the info at msdn.microsoft.com, I...
  6. PlasmaZero

    .NET properties won't compile

    Hi, I'm working on a project using some .NET things, like properties (get/set). However, visual studio .net is not recognizing the properties format and is giving me compile errors i.e. "syntax error: 'return'" and "unexpected tokens preceding ';'". I've included both...
  7. PlasmaZero

    Changing windows system clock

    I'm looking for a way to change the system clock on WinXP(i.e. simply alter the hours/min/sec), but I haven't been able to find anything. Does anyone know of either a class or just some way to do this? Thanks
  8. PlasmaZero

    Relative filenames

    In my prog, it is set up so that the user can load a file of their choice and also load a permanent .txt file that is in the same directory as the program. If I load the .txt file first, it works fine. But, if I load a file that is not in the same directory as the program and then try to load...
  9. PlasmaZero

    Searching for strings

    I'm writing a prog in which a file is loaded with several hundred names into a listbox. I want to make a search function, i.e. user types a name or a partial name and the function loops through the listbox and sets the cursor on a match(if any). I have no idea how to implement this (especially...
  10. PlasmaZero

    Grabbing a single line from CFile read

    Hello, I'm making an app which requires the ability to read a single line of text from an external .txt file, use the line, and then grab the next line. So, is there some sort of GetLine function that you can use with CFile, like myFile.GetLine(buffer)? If not, is there a way to determine the...
  11. PlasmaZero

    listbox string indices floating around

    Erm, oops, forgot to uncheck Sort in the second box's props. Never mind then.
  12. PlasmaZero

    listbox string indices floating around

    I'm making a prog where the user selects something from a combo box and clicks a button to add it to two listboxes, one for the string itself and another corresponding one for the quantity. The user can select the string in listbox #1 and move a slider to adjust the quantity. However, when I try...
  13. PlasmaZero

    using listboxes... some basic questions

    Hi there, I'm new to VC++ and I want to know how to use listboxes. I'm using MVC++ 6.0 and the classwizard gives me two choices for member variables: a string and a control. Could someone please tell me how I use the control to add lines of text to the listbox? Thanks, PlasmaZero

Part and Inventory Search

Back
Top