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
~10.8K People Reached
Favorite Forums
Favorite Tags
c++ x 7

4 Posted Topics

Member Avatar for J☼E

I'm a newbe myself but this works: [CODE]#include <iostream> using namespace std; int main() { int number1,number2,answer; cout << "number1? "; cin >> number1; cout << "number2? "; cin >> number2; answer = number1 + number2; cout << "Answer is " << answer; }[/CODE] Hope this helps Fishman

Member Avatar for NANDHINI G
-1
748
Member Avatar for fishman

Hi I am trying to teach myself C++ coding but am having a problem with classes and objects. I need to pass my objects to a function which may use various object attributes in calculations but may also change the original values of these attributes. My code is: #include <cstdlib> …

Member Avatar for Narue
0
10K
Member Avatar for iamboredguy

Try this code, coloured text and backgrounds in dos #include<iostream> #include<conio.c> using namespace std; int main() { char intro[] = "Color Demo for Dev-C++ 4.9"; for(int b=0; b<=26; b++) { textcolor(b+1); cout << intro[b]; } cout << endl; cout << endl; textcolor(WHITE); textbackground(BLACK); system("pause"); cout << endl; cout << "TEXT …

Member Avatar for fishman
0
145
Member Avatar for fishman

Hi After getting great help with my first post here I thought I would try again. I need to create a (dynamic) number of objects of two types, eggs and fry. I then need to be able to delete the fry and then make a new group of fry objects …

Member Avatar for Bob
0
246

The End.