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
~3K People Reached
Favorite Forums
Favorite Tags
c++ x 8
c x 1
Member Avatar for Asif_NSU

i will be given a set of any length and my program will have to produce the power set. For example: input: c d e output: empty c d e cd de ce cde total number of subsets: 2^3 = 8 I will try to write my own code, but …

Member Avatar for elemes
0
1K
Member Avatar for gallas

I have a silly problem. I want to make a class (let's call it Classone) that has an object that's an instance of Classtwo as an attribute. So far so good, but when Classtwo has an attribute that's an instance of Classone, I get a compilationerror. I would appreciate if …

Member Avatar for jwenting
0
195
Member Avatar for BSaltturk

Greetings everyone... I'm new to Standard Template Libraries thus I'm encountering problems now and then... I managed to get some examples on integer lists to work but the string lists give me nothing but grief... What I'm trying to do is to read a series of words from an input …

Member Avatar for khuman_nb
0
1K
Member Avatar for Flawless

How can i declare an array with variable size? i dont want it to be dynamic array, it have to be static. I mean the following: [code] int size; cin>>size; float array[size]; [/code] the previous code when compiled gives me that a constant expression required for the array declaration, although …

Member Avatar for Chainsaw
0
140
Member Avatar for JoBe

Hi guys, Quick question, I was trying out to determine the second smallest number of 10 random entered numbers, this is what I got: [code] #include <stdafx.h> #include <iostream> #include <iomanip> using namespace std; int main(void) { int s=0,x=0,y=0; cout<< "Input ten random numbers with cin and determine the second …

Member Avatar for JoBe
0
126