Need suggestions for common C++ functions/macros/etc.

This is a discussion on Need suggestions for common C++ functions/macros/etc. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; To quote Strong Bad: "Well gee Mark, if you're really from England, shouldn't you have some kind of unnecessary vowel ...

  1. #16
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    To quote Strong Bad:

    "Well gee Mark, if you're really from England, shouldn't you have some kind of unnecessary vowel at the end of your name? (Marke) And what is this "thank you?" Whatever happened to, "cheers", or, "cheerio", or, "nevermind the bullocks." Pff... Call yourself 'English'...

    http://www.homestarrunner.com/sbemail22.html

    edit: (Don't forget to click "press conference" at the bottom of the newspaper)

  2. #17
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    Quote Originally Posted by Hunter2
    I vote for .txt

    .dat you n00b.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #18
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    To those who wanted macro functionality, it's now implimented (Un-intuitive, but it exists). I havn't edited any "pre-defined" C++ functions yet, but I'm going to be putting in File I/O and Memory allocation / deallocation, as well as any other (good) ideas tossed my way.

    To create a new macro, place the title on the first line, place macro below. Such as,

    File I/O
    std::fstream iFile(filename, std::ios::in);
    // Do stuff here.
    iFile.close();
    To delete a macro, type the position of the macro in the "Macros" menu dropdown in the edit box by itself, then select 'delete macro'. Yes, I am FULLY aware that this is clunky and akward, and it is going to get changed very quickly. I just wanted this to be useful as-is, and considering that adding/deleting macros is a single-time operation for each macro, I figured this interface was "ok" for the moment.

    Anyway, the example:

    -Macros
    --Test
    --File I/O
    --New Class

    2
    Will remove "File I/O" from the menu.

    Both operations require a program restart to take effect.



    http://lithorien.net:5001/ProgEd.zip

    As always, comments welcome.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Suggestions and question about bool pointers
    By Akkernight in forum C++ Programming
    Replies: 15
    Last Post: 03-22-2009, 01:27 PM
  2. Suggestions?!
    By liljp617 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 10-20-2008, 12:12 PM
  3. Free Book Suggestions!
    By valaris in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-08-2008, 11:25 AM
  4. Math Book Suggestions
    By curlious in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-09-2003, 11:43 AM
  5. Suggestions.
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 02-06-2002, 12:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21