   Functions doesn't work
  There are many functions that doesn''t work on windows c++ compilers, but they work fine on dos ones. The wierd thing, is that those finctions are inside the includes that come with those compilers, so the compiler is tring to debug itself... if that wasn''t so sad, it was funny. I first met this problem on Visual C++, so I thought it happened because Visual is a compiler of microsoft, but it allso hppend on other compilers.To make long story short, I am talking about functions like:flushall()gotoxy()clrscr()and stuff like this.Is there any way to make them work?There are windows functions that replace them?Thanks in advancesomeboddy 
Is there any way to make them work?  They are not part of the standard library - if you want them, rewrite them.There are windows functions that replace them?  Not directly. For flushall(), you would loop over all open file descriptors and flush them. For gotoxy() and clrscr() you would rely on the curses library (UNIX) or the "Character-Mode Application" interface (Windows).   “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”    — Brian W. Kernighan (C programming language co-inventor) [edited by - Fruny on February 3, 2004 2:37:19 AM];  Does anybody have a guide to other functions needed fo simple games? Functions <b>like </b>  cprintf, getch, kbhit, and more stuff like that.   [edited by - someboddy on February 3, 2004 12:04:16 PM];  None of these functions are standard either. Any C or C++ reference manual should give you the complete set of standard functions. If your library comes with extensions (such as the console IO functions you mention), your compiler documentation is your best, and possibly only option.   “Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”    — Brian W. Kernighan (C programming language co-inventor);  If you're on linux, you want to check out ncurses. Check the man docs. The outline is either man ncurses or man curses... I froget which.The evil alternative would be terminfo/termcap accessing functions... or passing parameters to tset (which is a command, not a function). See bottom for term* evilness rant.If you're on windows... clrscr() can be replaced with system("cls") or system("clear") (I froget which... one is windows and the other is linux )Other functions I believe can be replaced with windows API calls... check out msdn.com and use the search feature. You can do nifty things like console buffering with some of those calls... which I used to make console tetris .Now if you want to read only on topic, skip the rest of this post. I just have to mention this... evilness.I work at a toystore with... interesting... point of sales software. We're using Sco (ahck!) Unix right now, formerly we were using Zenix. We were using verison 4 of the SUMIT software (non Y2K compilant) and late 2003 switched to version 7 (which has numerous bugs, and calling it beta software is even stretching the term to it's limits IMHO...)Anyways, so our old IBM3151 II terminals were getting very old (like, 10 years and counting?) and were fading out. So I decided to hack the terminal settings to make the 'normal' text become bold so as to see it better. Easy?**** no. I named my new terminal setting 'ibm3151bold' and had to do research at home to find out the bold escape codes (since the old termcap file didn't have the codes which were introduced in the type II terminal). First I tried /etc/termcap. Then /etc/terminfo. Finally found /lib/cobol/termcap, which was slightly different than /etc/termcap. That fixed v4.Then we upgraded, and my hack stopped working. Eventually I found I think it was: /u/sumit72/rts.232/etc/a_termcap... which was controled by the $A_TERM variable instead of $TERM. That threw me off for awhile, too.New software pros:Y2K compliant. Search feature (used to have to look up alphabetically!) which mostly works. Sometimes the inventory in the search screen differs from the inventory found elsewhere.. has to do with voided purcaches, which for some reason the Search feature is fubared on.cons:Allways crashes attempting to access certain features. Some features show a nice little message saying 'this feature is not yet implemented'. Had to spend lots of time re setting up the printers in the new software. Buggy.We seperate our store into 4 'stores' in the computer... 01 for the floor, 02 for offsite backstock, 03 for onsite backstock, and 04 for our fledgling website stock. One of the more recent bugs was caused by a programmer not remembering the software supported multiple stores. We noticed it when many items started showing weird inventory counts, like 9 in every store, or 45 in every store. The bug causing this has been fixed. I believe the inventory, too.The inventory translation was also fubared. Our software, for example, had around 2000 small marbles in stock pre-switch. post-switch it had -1000 or so.Sumit also charges us tons. $7000 for the new software, and I believe $1000 or so for each upgrade on the data (4->5, 5->6, 6->7) if memory serves me right (disclaimer: it might not). Tech support also is around $100/hour if I remember right (this I'm much more hazy on, however).Uhg. Right. I'm way OT now. Sorry. Anyone know of some good open source POS software? . -Mike   [edited by - MaulingMonkey on February 3, 2004 6:43:43 PM];  I just downloaded the file: delphix_d6.zip. I know it''s supposed to work, because I''ve installed it before...Anyways, I''ve installed the package now and it seems to work perfectly... however, there is one thing I''d like to fix... You know when you hold CTRL and click on one of the entries in ''Uses'' you will automaticaly open the unit. If you put Math under your uses clause and you hold CTRL and clicks ''Math'' Delphix lets you see the Math.pas...But when I do the same (CTRL + mouse clicking) on DXSprite or any other DelhpiX entry in the ''Uses'' list, nothing happens... I want to change just two lines in DXSprite.pas but how am I supposed to do this...?Thanks in regard.. 