Re:
Darius Blaszijk wrote: Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. You can use wpe or xwpe for this. When you have bought the the RedHat box with book etc. Then you alse have the application cdrom with Code Crusader on it. Henk Jan
Re: your mail
Good $daytime, To do some programming I use for instance EMACS. When I'm done I exit EMACS and run GCC and then run the program to see if it does the thing I want it to do. This procedure is time consuming and not eficient. There is no need to exit any editor. If you're running X windows, you have both emacs and xterm at the same time. If not, you may open one console for editor and another for your shell. But there's a better way! Try `M-x compile' -- emacs will read gcc output in another buffer. Clicking mouse-2 over error message will bring you to the line in question -- no need for extra IDE. Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. There are many IDE-like products. To see a few, look at freshmeat.net appindex, section 'Development'. Well, if you're looking forward to "attend the Church of Emacs" :), try `M-x font-lock-mode'. Emacs has nice syntax highlighting -- and knows C/C++ to some extent. Hope this helps... Regards, Willy. -- "No easy hope or lies| Vitaly "Willy the Pooh" Fedrushkov Shall bring us to our goal, | Information Technology Division But iron sacrifice | Chelyabinsk State University Of Body, Will and Soul."| mailto:[EMAIL PROTECTED] +7 3512 156770 R.Kipling | http://www.csu.ac.ru/~willy VVF1-RIPE
reference count and memory allocation
Hello all, I would like to ask some questions about compiler. I know there are several techniques to implement storage management, like reference count and garbage collection. Could anyone kindly give more details on these? And if possible, could you give some code and explain in detail? And does anyone know the algorithms on memory allocation and memory fragment collection? Could you tell me in detail or give me links on the net that I can go on further? Thank you. Bill Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Re: your mail
I don't use emacs much but I use vim. One way you can do what you're trying to do is by first making a Makefile (learn how to make them :-]) then, has to be in the same directory editing your source file with vim then you'd just have to hit escape then colon (:) and type make, after that you can type ":make run" (if you've made your Makefile well). --- Wei Weng [EMAIL PROTECTED] wrote: You can always use shell command from emacs. (is it M-x ! command_name?) Say have two window open in one frame under emacs. One is for editing and another one is for the gcc thingy. I don't know if there is any emacs scripts for making your programming more convenience(sp?). I like the way it is. I just open more windows. :) On Wed, 31 Mar 1999, Darius Blaszijk wrote: Hi all, Having my latest problems using DOS/WINDOWS, I decided to start programming under LINUX. I installed LINUX redhat 5.2 and bought myself the book L.A.D. I must say that I'm getting on quite well (I had to learn also how to program in C). But here is where my problems start. To do some programming I use for instance EMACS. When I'm done I exit EMACS and run GCC and then run the program to see if it does the thing I want it to do. This procedure is time consuming and not eficient. Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. Thanks a lot, Darius Blaszijk Get Your Private, Free Email at http://www.hotmail.com -- Wei Weng | idol of the week: Utada Hikaru| Part time oracle developer | CD of the week: first love | Full time J-ENT! NERD! (^^;; | o/~You will always be my love o/~ | -- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re:
Use vi. It has syntax hilighting --- Henk Jan Barendregt [EMAIL PROTECTED] wrote: Darius Blaszijk wrote: Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. You can use wpe or xwpe for this. When you have bought the the RedHat box with book etc. Then you alse have the application cdrom with Code Crusader on it. Henk Jan _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: your mail
go out to www.mamma.com and search for "ddd" It should be on ftp.lame.org, also. ddd uses gdb, and requires X windows. It provides superior source level debugging. you may also use xxgdb, or simply gdb to debug programs at the source level. you must compile and link with the -g option to do this. bug On Wed, 31 Mar 1999, Darius Blaszijk wrote: Hi all, Having my latest problems using DOS/WINDOWS, I decided to start programming under LINUX. I installed LINUX redhat 5.2 and bought myself the book L.A.D. I must say that I'm getting on quite well (I had to learn also how to program in C). But here is where my problems start. To do some programming I use for instance EMACS. When I'm done I exit EMACS and run GCC and then run the program to see if it does the thing I want it to do. This procedure is time consuming and not eficient. Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. Thanks a lot, Darius Blaszijk Get Your Private, Free Email at http://www.hotmail.com
Re:
Try vi, g++, and gdb Darius Blaszijk wrote: Is there any compiler/editor/debugger-package anvailable from the internet? Or am I missing something here? I've noticed that MC has an edit feature which shows source code using different colours. I find this very helpfull. You can use wpe or xwpe for this. When you have bought the the RedHat box with book etc. Then you alse have the application cdrom with Code Crusader on it. Henk Jan
terminal
how do i turn off the cursor and make my programs accept characters typed into a terminal without you having to press enter first? I once knew, but i forgot :) -- +++ If at first you don't succeed, you must be a programmer +++ [EMAIL PROTECTED] http://www.users.globalnet.co.uk/~kermit
Re: Type casting with malloc()
On Thu, 1 Apr 1999, holotko wrote: # My question. Do I really need to add the type cast (ObjectType *) # before the call to malloc() ? no. but gcc will warn you, if you use -Wall, about it. Doesn't do any harm leaving it in and if you miss it out gcc will add it in itself. Technically you need it because malloc returns memory cast to void *, which your data structures aren't. Makes your code more readable if you include it though. -- +++ If at first you don't succeed, you must be a programmer +++ [EMAIL PROTECTED] http://www.users.globalnet.co.uk/~kermit