Thread: Developer Editor With Class and Variable Browser

  1. #16
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Quote Originally Posted by Brafil View Post
    Why did you change it xD?
    That one that I've developed was so much old and ugly. Just changed to a new one that I developed too.

    Green Apples are much more happy than that old one!
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  2. #17
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by nathanpc View Post
    I've already tried both(eMacs and Vim), but they are so command-line, even with their GUI front-ends, they still looks like a console program.
    Huh? This is interesting from someone with your sig (writing an OS is all about the command line)....but that said you can point and drool your way to coding nirvana if you need to...glad I don't though..
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  3. #18
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Hmm, that screenshot looks like Gedit, but I think it's gVim.

    For curious, here is a hello World OS for ARM:
    start.S - Bootloader
    Code:
    interrupt_vector_table:
        b . 					@ Reset
        b . 
        b . 					@ SWI instruction
        b . 
        b .
        b .
        b .
        b .
    
    .comm stack, 0x10000		@ Reserve 64k stack in the BSS
    _start:
        .globl _start
        ldr sp, =stack+0x10000 	@ Set up the stack
        bl main 				@ Jump to the main function
    1: 
        b 1b 					@ Halt
    kernel.c
    Code:
    #define SERIAL_BASE 0x16000000
    #define SERIAL_FLAG_REGISTER 0x18
    #define SERIAL_BUFFER_FULL (1 << 5)
     
    void putc(char c)
    {
        /* Wait until the serial buffer is empty */
        while(*(volatile unsigned long*)(SERIAL_BASE + SERIAL_FLAG_REGISTER) 
                                           & (SERIAL_BUFFER_FULL));
        /* Put our character, c, into the serial buffer */
        *(volatile unsigned long*)SERIAL_BASE = c;
    }
     
    void puts(const char * str)
    {
        while(*str)
    		putc (*str++);
    }
     
    int main(void)
    {
        puts("Hello, World!\n");
        return 0;
    }
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  4. #19
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by nathanpc View Post
    I've already tried both(eMacs and Vim), but they are so command-line, even with their GUI front-ends, they still looks like a console program.
    I think what you meant is:

    I've already tried both(eMacs and Vim), but they are so command-line, even with their GUI front-ends, they still looks like a console program.
    You're a programmer. Think about the difference between "high level" and "low level" philosophically, and then, the concepts of "control", "black box", "syntax", "icon", "christmas ornament", "expression" and "smiley face".

    There are no features available in any GUI editor that cannot be implemented in a console editor, just the interface works differently. There are advantages to a GUI interface, but this is not a one sided relationship. Which is to say, a console editor with a GUI front-end will take advantage of what there is to take advantage of in the GUI, but the fact that it "still looks like a console program" reflects the fact that it also takes advantage of that. If you just need to write letters occasionally, or do WYSIWYG stuff, etc, like most people, an intuitive point and click interface is what you want.

    On the other hand, if you are going to work with a tool 6-8 hours a day full time, "easy to learn" and "intuitive point and click interface" are totally irrelevant after the first month. What you want is something that minimizes point and click because taking your hands off the keyboard is a waste of time. There is not much you can do with the mouse that you cannot do from the keyboard faster and easier *if* you understand the paradigm there. I'll include *most* cutting and pasting in a programming context. This scales up into complex tasks, where the advantage actually becomes: those tools DO MORE than most if not all GUI's. You just don't know it because there's not much menu to consult, because GUI menus are like mittens. They have no fingers in them.
    Last edited by MK27; 05-20-2010 at 07:19 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  5. #20
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Yeah, that's what I mean. Thanks.
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  6. #21
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Bzzzt! Sorry, that is Emacs and it is nothing as hard as Vim and nothing as feature-poor as Gedit...and if I wanted to pollute my screen space w/toolbars and such but I could...*flexible* is the word I would use..
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  7. #22
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Quote Originally Posted by jeffcobb View Post
    Bzzzt! Sorry, that is Emacs and it is nothing as hard as Vim and nothing as feature-poor as Gedit...and if I wanted to pollute my screen space w/toolbars and such but I could...*flexible* is the word I would use..
    Could you post a screenshot of it, but with a class browser or something like that?
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  8. #23
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    I will post some nifty screen shots tomorrow. I just reburned this machine and only have the basics of what I need to get my work done and am in the middle of fixing a project that I trashed using a new tool. I will show class and filebrowser, debugging, games, etc. Right now I am bushed and just want to get this project fixed..so tomorrow.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  9. #24
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Oh, Ok. I will be waiting...

    If it looks awesome, you just got another user for it.
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  10. #25
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Dude, its gonna be tomorrow; I have been at work since 5-something this morning and yeah I know its Friday but I am toast. I am putting on some anime, cracking open a cold one and crashing. Last thing I wanna do ATM is touch a computer...I actually reinstalled all that cr@p last night but gotta configure it to get it to look useful...
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  11. #26
    Trying to Learn C nathanpc's Avatar
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    72
    Ok, now it's Sunday, anything?

    I'm very anxious to see.
    Follow Me At Twitter
    Eee PC 904HD White | Windows XP Home Edition and Linux Ubuntu Hardy Herron

    Google Talk: eeepc904@gmail.com
    ICQ: 424738586
    AIM: nathanjava

  12. #27
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Sorry. Got extremely busy with other stuff on here and on my own project while also learning more about CodeBlocks by importing a non-trivial project to it and still have not finished configuring Emacs on this new box. Actually barely started (was up till 03:00 coding on other stuff). Actually I can point you to here to see screen shots as this is the package that I use from the Ubuntu repositories:

    Collection of Emacs Development Environment Tools Homepage

    As it is, I have to get stuff done for work tomorrow morning plus as usual I am back on here again (doh) and I still have this other project in the works that is of higher priority that gathering screen shots

    Happy Sunday.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem in pass a variable to a class
    By nima_pw in forum C# Programming
    Replies: 3
    Last Post: 06-09-2009, 07:30 AM
  2. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. creating class, and linking files
    By JCK in forum C++ Programming
    Replies: 12
    Last Post: 12-08-2002, 02:45 PM
  5. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 07:18 AM