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. cluelessC

    getting contents of a selected line in a list box

    Thank you very much, William, and for those wishing to use the text from the selected line in the list box, please, note that the address reference might give you a type mismatch error. This is how I used the code (to check if the string was actually seen): CString str...
  2. cluelessC

    getting contents of a selected line in a list box

    Hello, everyone! :-) Does anybody know what the equivalent of a 'GetLine' function in respect of List Boxes is? If I have the index of the selected line, how do I get its contents? The 'DlgDirSelect' does not seem to work... :-( Well, I am not really dealing with directories anyway, so, what...
  3. cluelessC

    Arrow-keys coding - how to use them to move shapes?

    Hello, again! It's me, cluelessC! It might be a bit late, but I decided to come back with the answer to my own question - for the benefit of beginners, like myself. Here is the code that I was after: void __fastcall TForm1::OnKeyDown(TObject *Sender, WORD &Key, TShiftState Shift) { switch (Key)...
  4. cluelessC

    Arrow-keys coding - how to use them to move shapes?

    Thanks very much, I've seen the incredible variety of symbols using John's code (with very slight modifications - total beginners like me forget the vital getchar() to hold the output!). Useful reference, thanks, John! Unfortunately, I still need to learn how to distingwish, say, numeral...
  5. cluelessC

    Arrow-keys coding - how to use them to move shapes?

    Hello, everybody! Does anybody know how to use LeftArrow, UpArrow, etc. keys to move a shape around the screen? How do you identify them in the code to program the responces? From the Help system I gathered that I should include <ctype.h> to be able to use the &quot;iscntrl&quot; function...
  6. cluelessC

    Graphs and arrays - do they work for beginners?

    Thanks very much - ten out of ten for going into such detail! To be honest, I've solved my problem myself, but in a different way - it was good to get a different view on the problem from your solution. Besides, I never knew of the drawHistogram() function - something knew to try out! So...
  7. cluelessC

    Calculate a Checksum

    Hi, there! What does &quot;lower 8 bits&quot; mean? I am not quite clear on what it is exactly that you need to do, but could it be that you are asked to initialise the first 8 elements to zero first? If so, then in Borland C++Builder that would look something like this: int i = 0; //initialise...
  8. cluelessC

    bar graphs

    Hi, there! It looks like we've got the same problem (I recognised the magic &quot;DataEngine1&quot;). I think a two-dimensional array will have to be initialised from the data file (&quot;Q3Data.dat&quot; sounds familiar?). Then it would be possible to use the TGraph component instead of the...
  9. cluelessC

    Graphs and arrays - do they work for beginners?

    Hello, everybody! My problem might seem quite trivial, but I'd give my right hand to solve it! Basically, I need to represent a range of short intergers, read from a file, in a shape of a histogramm. I am only a beginner and so far I only managed to get my &quot;programm&quot; to read...
  10. cluelessC

    How to present Data in graphs

    If I can access a file with a set of data in it, how can I use a TGraph component to grahpically represent it (just a histogramm)? I am just a begginer, so could somebody, please, explain it to me in plain English?

Part and Inventory Search

Back
Top