Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~470 People Reached
Favorite Forums
Favorite Tags
c++ x 11
Member Avatar for Fenlevi

Hi guys,I was interesting,how to write a function,to determine the nearest square number that is equal or greater to the length of the string( for example 16 is the next square number after 13) I don't even know what is the mechanism of this function:-/

Member Avatar for Robert1995
0
95
Member Avatar for Fenlevi

Hi guys, In my lab I was given a source code and was tasked to write the function to compute the largest value of a vector, and a for loop to show how elements does the vector has.But the output is now right,it gives me the largest element is zero,and …

Member Avatar for MyrtleTurtle
0
139
Member Avatar for Fenlevi

[CODE]#include <vector> #include <iostream> #include <iomanip> using namespace std; typedef vector<double>row; typedef vector<row>Matrix; Matrix grade; void read_matrix(Matrix&grade,vector<string>&names); void display_matrix(const Matrix&grades,const vector<string>&names); void read_matrix(Matrix&grade,vector<string>&names) { int grades; cout << "Reading data into a Matrix " << endl; cin >>grades; if(grades== 0) { cout << "Making vector empty." << endl; grade.resize(0); } …

Member Avatar for WaltP
0
103
Member Avatar for Fenlevi

Hi people,in the assignment I was give the main function and was told to write a class, and the output is supposed to be like this: BLANK(0,0) Destination (6.2,16,7) BLANK (45,0) Destination (6.2,33.4) The x coordinate of source is:45 The y coordinate of source is :33.4 The label of point …

Member Avatar for jonsca
0
133