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

  1. #16
    Super Moderator
    Join Date
    Sep 2001
    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'...

    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
    Quote Originally Posted by Hunter2
    I vote for .txt

    .dat you n00b.
    Join is in our Unofficial Cprog IRC channel
    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
    San Diego, CA
    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.
    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:

    --File I/O
    --New Class

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

    Both operations require a program restart to take effect.

    As always, comments welcome.

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, 12:27 PM
  2. Suggestions?!
    By liljp617 in forum A Brief History of
    Replies: 3
    Last Post: 10-20-2008, 11:12 AM
  3. Free Book Suggestions!
    By valaris in forum A Brief History of
    Replies: 4
    Last Post: 10-08-2008, 10:25 AM
  4. Math Book Suggestions
    By curlious in forum A Brief History of
    Replies: 4
    Last Post: 10-09-2003, 10:43 AM
  5. Suggestions.
    By Shadow in forum A Brief History of
    Replies: 0
    Last Post: 02-06-2002, 12:21 PM