×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Carbide.c++ Hints and Tips

    *** PLEASE DO NOT POST SUPPORT QUESTIONS IN THIS THREAD. THIS THREAD IS FOR HINTS AND TIPS ONLY. ***

    This thread contains information that will enhance your ability to use the Carbide.c++ tools.

    * For an on-line tutorial, see: http://www.symbianone.com/content/view/3027/

    * For a cool new way to learn about Carbide.c++, check out the screencast at http://www.forum.nokia.com/info/sw.n...creencast.html

    * Code formatter for Carbide/CDT C++: http://discussion.forum.nokia.com/fo...44&postcount=3

    * To follow the progress of Carbide.c++ development, check out: http://blogs.s60.com/creatingcarbidecpp/

    * "View process output" has to be checked in order for RDebug to print text to the debug console. In addition, SDK's Epoc32\Data\epoc.ini file must be modified to include the lines:

    LogToFile 0
    LogToDebugger 1
    Last edited by mpinsonneault; 2007-09-25 at 16:58.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Re: Carbide.c++ Hints and Tips

    Code formatter is not located where the link points. Any other places to get it?

  3. #3
    Registered User
    Join Date
    Apr 2007
    Location
    Manchester, UK
    Posts
    1

    Smile Re: Carbide.c++ Hints and Tips

    I've started to use Astyle Eclipse. Make sure to get the astyleclipse-0.9.0 version as that's the one I got to work.

    Also make sure you select Astyle in the preferences (C/C++ - Code Formatter). In the preferences page for Astyle I use GNU and this in the options field:

    --indent=tab --brackets=break --indent-brackets

    This should produce Symbian style formatting (doesn't seem to work on enums for me though and I can't see an option for them). See the different options here.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    Talking Re: Carbide.c++ Hints and Tips

    That did the trick! I changed --indent-tab to --indent=spaces=4 since tabs shouldn't be used according the coding convention. Thank you very much.

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    3

    Re: Carbide.c++ Hints and Tips

    Two questions about RDebug:

    1) Will this work with on device debugging?

    2) You write "View process output" has to be checked. Where exactly in Carbide is this checkbox?

    Thanks

  6. #6
    Super Contributor
    Join Date
    May 2003
    Location
    Vancouver, Canada
    Posts
    985

    Re: Carbide.c++ Hints and Tips

    Don't forget also information on Forum Nokia Wiki, http://wiki.forum.nokia.com/index.php/Carbide.c%2B%2B

    This page contains a collection of useful shortcuts in Carbide.c++, http://wiki.forum.nokia.com/index.ph...arbide.c%2B%2B

    Antony
    Antony Pranata
    http://www.antonypranata.com/
    http://www.s60tips.com/

  7. #7
    Nokia Developer Expert
    Join Date
    Oct 2004
    Location
    Austin, TX USA
    Posts
    271

    Re: Carbide.c++ Hints and Tips

    > 1) Will this work with on device debugging?

    No, not yet. We're evaluating this as a feature request but I don't know when it will be included in the tool.

    > 2) You write "View process output" has to be checked. Where exactly in Carbide is this checkbox?

    In your debug launch configuration's "Debugger" tab.

    Regards,

    Matt P.

  8. #8
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: Carbide.c++ Hints and Tips

    who have coding for browser file in s60 mobile phone

Similar Threads

  1. Database-like App with huge .txt file - any tips?
    By subanimage in forum Symbian
    Replies: 0
    Last Post: 2004-11-09, 09:06

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×