Well well! Look at you, using a modern compiler! Well done!
When and if you need the Pelles C de=bugger, click on:
1) Project >> project options >> compiler tab >> debug information >> full
2) Linker tab >> debug information >> Codeview and COFF format,
3) Rebuild your project and re-compile
Then you can run the debugger, with the little blue icons, while at the same time, seeing your code. (Otherwise, you see just the pop up page of assembly instructions).
For me (and I'm sure for you), this is not nearly as fast as using the quick debugger in Turbo C -- but I have become better at finding errors in my code, because of it.
I dont mean to get off topic but, does Pelles have its own special functions that are not in standard C? or does it follow standard C and simply provide a useful programing environment? I know that Borland had a version of C where some functions were specific to just Borland, so I didnt use it. Not that I would use Pelles, its windows only.
Yes it has a list of private #include files as well...
It also includes a very nice implementation of Windows SEH that most C compilers don't have.
Also if you visit the forums you will find all kinds of addins and libraries as well. (You might recognize one of the authors...)
Thing is the help file clearly identifies standard and non-standard functions as well as providing full documentation of every call... It's probably the best help file I've ever seen...
You could, with some patience, actually learn to write C code from Pelles help file.
That's your problem...Not that I would use Pelles, its windows only.
Last edited by CommonTater; 08-02-2011 at 12:17 PM. Reason: #$&%^* typos...
How I can make graphical programs in Pelles C
You are not yet profficient enough in programming C to think about graphical programs. Those are advanced topics and you need a good understanding of the language before going there.
But there is no any circle() or line() function showing which I have requirement.
I am not a Pelles C user, did you look for a graphics header file like the one you used in Turbo C?
EDIT: Never mind. Pelles doesn't have one. You are going to have to learn to use the Windows API. Here is the link that answers that.
That's right... Pelles C does not include the turbographics (BGI) library which was Borland specific and never part of any C standard.
Remember... you are now programming in a standards based environment, not some crappy one off created long before any standards --before Windows-- even existed. Nobody does console graphics anymore... Windows GUI environments made it totally unnecessary.