Thread: Forced Breaks

  1. #1
    Registered User yodoblec's Avatar
    Join Date
    Jun 2003

    Forced Breaks

    I don't know how to make a forced break in C++. How do you do? (A forced break is like hitting enter when typing.)

  2. #2
    Registered User
    Join Date
    Apr 2003
    For output?

    You can use '\n' or endl:

    cout<<"Hello world.\n"<<"This is on the next line.";
    cout<<"Hello world."<<endl<<"This is on the next line.";

  3. #3
    Registered User major_small's Avatar
    Join Date
    May 2003
    i think he means kinda like when you type to the end of the screen, he wants it to wrap around...
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Forced moves trouble!!
    By Zishaan in forum Game Programming
    Replies: 0
    Last Post: 03-27-2007, 06:57 PM
  2. Forced to use constants
    By Night_Blade in forum C++ Programming
    Replies: 6
    Last Post: 08-08-2005, 04:30 PM
  3. sentence word breaks...
    By aker_y3k in forum C++ Programming
    Replies: 4
    Last Post: 10-13-2003, 11:52 AM
  4. Breaks
    By wuzzuppy_123 in forum C++ Programming
    Replies: 6
    Last Post: 05-09-2003, 12:31 PM
  5. switches and breaks
    By volk in forum C Programming
    Replies: 11
    Last Post: 01-10-2003, 08:55 PM