Thread: Is this setup ok?

  1. #1
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547

    Is this setup ok?

    Ok, trying to get into the C++ way of doing things here...

    I have set myself up with...

    Code::Blocks / minGW as my ide/compiler

    Res Edit for visual resource editing

    the windows sdk and of course PellesC...

    I've gotten past the "Hello World" hurdle so it's working at least that well...

    Are there any pitfalls to this setup or should I be good to go?

  2. #2
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    Any reason you don't like using a plain text editor?

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by \007 View Post
    Any reason you don't like using a plain text editor?
    I just love the pretty colours in code:blocks... LOL.

    Actually I wanted the organization features of code:blocks to help me keep things a bit saner while learning. I wanted a visual resource editor because it's a whole lot easier lining up a dozen controls in a Dialog by drag and drop than by tweaking their locations in text files.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Looks like a solid setup. I take it you are (eventually) interested in doing GUI applications? You might want to look into Qt4, it is gaining quite alot of popularity.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Shakti View Post
    Looks like a solid setup. I take it you are (eventually) interested in doing GUI applications? You might want to look into Qt4, it is gaining quite alot of popularity.
    Thanks, it seems to be working well enough for now. Although I was a little surprised to see "hello world" come in at about 700k ... Must be some overhead linked in there.

    I've been working winapi in C for about 3 years now... but as a dabbler, that probably amounts to about the equivalent of 6 months for a full time programmer. For me the big leap is from C to C++...

    QT looks interesting... but I've still got my hands full with what I've got.

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Check your build-settings. i would think quite alot of those 700k are debug-symbols.

  7. #7
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Shakti View Post
    Check your build-settings. i would think quite alot of those 700k are debug-symbols.
    Hey thanks... I'll have a look...

  8. #8
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by Shakti View Post
    Looks like a solid setup. I take it you are (eventually) interested in doing GUI applications? You might want to look into Qt4, it is gaining quite alot of popularity.
    Qt is a very good professional toolkit, but its dual licensing is an issue if you want to distribute your applications. wxWidgets is my GUI toolkit of choice because it has one license - free. you are never required to distribute your source with your application, and you never have to pay anyone for the software.

  9. #9
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by \007 View Post
    Any reason you don't like using a plain text editor?
    Probably the same reason you aren't using a hex-only editor, cause there's no point making things hard on yourself.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  10. #10
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Code::Blocks saves you time, much time believe me! Once you get the hand of it, it'll be just like clicking the mouse!
    Devoted my life to programming...

  11. #11
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    Quote Originally Posted by iMalc View Post
    Probably the same reason you aren't using a hex-only editor, cause there's no point making things hard on yourself.
    I've always used Vim for every language I program in. I don't think it makes things harder, and I think I can program faster than an IDE.

  12. #12
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,738
    Vim?!
    Devoted my life to programming...

  13. #13
    C lover
    Join Date
    Oct 2007
    Location
    Virginia
    Posts
    266
    Hehe, Well its nice to have many things in one place. I happen to use CodeBlocks with MingW. On occassion (when I'm lazy), I'll use nano with gcc (if Linux).

  14. #14
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Quote Originally Posted by Sipher
    Vim?!
    ... is an IDE masquerading as a "plain" text editor, so that nullifies \007's point
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  15. #15
    Nasal Demon Xupicor's Avatar
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    179
    Yeah, Vim isn't really plain nor simple, it is great and I love it, but it's much more than "plain text editor". Syntax highlighting for plenty of languages is the least significant feature Vim offers through plugins.

    As for the topic, the setup looks okay, if you don't mind Java applications you could always try to use NetBeans C/C++ or Eclipse CDT (C/C++ Developer Tools) - but Code::Blocks is nice too.

    For quick edits when I don't want to run the whole IDE, I tend to use Notepad2 or gVim, on console though (Windows or *nix alike) Vim reigns supreme.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SDL Setup
    By RazzTheKid in forum Game Programming
    Replies: 3
    Last Post: 06-06-2008, 05:08 PM
  2. setup project in msvc2005
    By sgh in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 04-30-2008, 08:22 AM
  3. Problem about making setup project
    By sgh in forum Windows Programming
    Replies: 0
    Last Post: 04-30-2008, 03:09 AM
  4. IE Page Setup
    By afreedboy in forum Tech Board
    Replies: 5
    Last Post: 05-07-2005, 04:35 AM
  5. Setup
    By gvector1 in forum C# Programming
    Replies: 0
    Last Post: 07-10-2003, 09:22 AM