No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi, I wish to compare partial bits of two one dimensional vectors. I know how to compare the two vectors completely. [ICODE]int main () { std::vector<int> vector1; std::vector<int> vector2; int out; vector1.push_back(100); vector2.push_back(101); vector1 == vector2 ? out = 0 : out = 1; printf("out = %d \n", out); return … |
|
// Does anydody can help me with this program and make it work. // this is the main //Now just need to write average functions. [CODE]#include<iostream> using namespace std; // function prototypes. void getScore(); void calcAvg(); void findLowest(); int main () { int Score; //ret is for return :) another … |