Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 69334

Code that is written to the 2011 version of the C++ standard, sometimes known by its pre-publication name of "C++0x". Use in conjunction with the 'c++' tag.

2 votes

Right triangle side length calculation

All prompt messages could be replaced by predefined strings holding them: Instead of: //This line outputs directions for the user to follow. std::cout << "\nEnter real numbers for side lengths.\n" …
Ziezi's user avatar
  • 1,174
3 votes
4 answers
892 views

Striped closed poly-line

I'm working on class Striped_polyline which represents a closed poly-line filled with equidistant horizontal lines1: stripedpoly.cpp: #include <iostream> #include <vector> #include <algorithm> #inc …
Ziezi's user avatar
  • 1,174
0 votes

Printing all the permutations of a string in alphabetical order-ver1.1

In addition to what has already been said by @Loki Astari, you could add some input parameter check, for example: stream tests/ error handling, after std::ifstream infile(filename); in void readInput …
Ziezi's user avatar
  • 1,174