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
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 20
c x 5
Member Avatar for arikeri

consider this [CODE] vector<int> :: iterator it; int i; vector<int> A; for (i=0; i<5; i++){ A.push_back(i); } for(it = A.begin(); it != A.end(); it++){ cout<<*it; }[/CODE] vector<int> :: iterator it; int i; vector<int> A; for (i=0; i<5; i++){ A.push_back(i); } for(it = A.begin(); it != A.end(); it++){ cout<<*it; }

Member Avatar for Narue
0
72
Member Avatar for arikeri

Hi, I want to declare a function, which takes input of a set of integers and returns a set of set of integers , I tried this but, it ain't correct , plz tell how I should do what I want [CODE]#include<iostream> #include<set> #include<string> using namespace std; int Q; int …

Member Avatar for Dave Sinkula
0
226
Member Avatar for arikeri

Iam reading in a 4row 3column table. Iam refering to char_function[4][3] in the following code.This is a part of a larger program. You can neglect all other things and look at char_function my aim is to print it out [code]#include<iostream> using namespace std; int N, Q, M;//number of user inputs, …

Member Avatar for Dave Sinkula
0
198
Member Avatar for arikeri

I not able to decide how to read in a data of the following table A B(initial values) | x = 0 | x = 1 ------+--------+-------- 0 0 | q=0, y=0 | q=3, y=1 note: q=0 means A and B are 0, 0 1 | q=0, y=0 | q=2, …

Member Avatar for Dave Sinkula
0
105
Member Avatar for arikeri

Hi, I have an assignment which entails coding a sequential state machine form arbitrary charecteristic table of a flip-flop and the state specifications given. .For example, if the user wants one input x and one output y, and the following excitatoin table for the state machine: | x = 0 …

Member Avatar for Dave Sinkula
0
125
Member Avatar for arikeri

consider this for [code]int i.j; for (i=0;i<=5;i++){ for (j=i+1;j<=5;j++){cout<<"\n"<<i<<"\t"<<j<<"\n"; } }[/code] now suppose we have[code]list<string>::iterator l,m;[/code] the corresponding thing[code] for (l=0;l<=5;l++){ for (k=l+1;k<=5;k++){cout<<"\n"<<i<<"\t"<<j<<"\n"; } }[/code] won't work because "l+1" is meaningless here. How do I solve this problem?

Member Avatar for Narue
0
67
Member Avatar for arikeri

As a part of a larger problem I have to solve the following:: *input - number of variables (say n=4) *input - 'n' numbers in decimal (say 1,3,5,7) *I need to check for all the grey code neighbours i.e, to say, 2=00000001(a fixed length string) and 3=00000011(a fixed length string) …

Member Avatar for arikeri
0
208