Oh, I didn't mean ditching my calculus class for a linear algebra class, I meant learning the subject in my spare time. Sorry for the confusion guys.
Thanks for the reply's superman3275 and menyo, keep them coming though.
- Viewing Profile: Posts: Czar05
Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics
Community Stats
- Group Members
- Active Posts 43
- Profile Views 2,252
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
403
Good
User Tools
Contacts
Czar05 hasn't added any contacts yet.
Latest Visitors
Posts I've Made
In Topic: Should I dive into linear algebra or follow the prerequisite first?
12 October 2012 - 09:20 PM
In Topic: Function Arrays problem
23 July 2012 - 06:13 PM
@King Mir
Thank you for the help, I am just curious on whether they're are cases where it is possible to send one function to another without including main() in C++
Thank you for the help, I am just curious on whether they're are cases where it is possible to send one function to another without including main() in C++
In Topic: Why is Getline() skipping user input?
18 July 2012 - 09:24 PM
I am sorry I don't quite comprehend what you saying, can you elaborate more(with code perhaps) if you can. Thanks for the quick response by the way, alvaro.
In Topic: Why aren't strings allowed in structures?
15 July 2012 - 01:53 AM
Oh I see, thank you very much all of you!
In Topic: Why aren't strings allowed in structures?
15 July 2012 - 12:38 AM
Sorry my mistake: that was a random example I made up. But my current program doesn't allow strings in my structure it says its undefined
#include <iostream>
#include <String>
using namespace std;
struct Pizza
{
String company_name;
int diameter;
double weight;
};
int main()
{
Pizza costumer;
cout << "Which Pizza compnay do you order from?" << endl;
cin >> costumer.company_name;
cout << " " << endl;
cout << "You order from: " << costumer.company_name << endl;
cout << " " << endl;
cout << "What is your desired size of Pizza (Diameter)?" << endl;
cin >> costumer.diameter;
cout << " " << endl;
cout << "Your favorite size, in terms of diameter is " << costumer.diameter << " inches" << endl;
cout << " " << endl;
cout << "Normally what is the weight of your pizza? " << endl;
cin >> costumer.weight;
cout << " " << endl;
cout << "Your pizza weight is normally " << costumer.weight << endl;
system("Pause");
return 0;
}
- Home
- » Viewing Profile: Posts: Czar05

Find content