Another question, the program is run in full screen, I have adjust to window size at the program properties.But it still run in full screen. how to make it run in the small window size because I need to capture some screen. Thank You
I guess the error is pretty much self explanatory. As you are changing from char to int you need to be modifying the way it copies from variable to other. For character it has used strcpy to copy one set of char into some other variable but in case of int you can directly assign it but remember that it should be int and not int array. It looks like it is char array as it has used strcpy.
If you press print screen when the screen is in full screen mode it will capture all the text and you can paste the text in notepad. If you want to switch to normal screen just press "Alt + Enter" Thanks Shabbir
When I press Alt+Enter, the program is keep in the toolbar, when I click the program again, It back to full screen. I have try to capture the screen at the full screen size, but it is nothing when I paste in notepad or Word
TC is turboC3 and you can edit the properties of the shortcut or the executables by right clicking on it and going through the properties.
Try some more combination and it should work it works here fine. Its just matter of getting familiarity with the TC.
I have edit the TC file and compile the program in a window size. But when I run the program it automatically become full screen.After minimize and change the screen size to window size,the program automatically run in full size again
Thats because you are using the C Graphics and it does not work in non dos mode. If you have any other program it works fine. I just did not remember this thing but after trying it I realised.
I think you did not got my point. I mentioned in the earlier posts that it can be done using Alt + Enter but realised that as you are using bgi graphics it cannot be done.