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
~522 People Reached
Favorite Forums
Favorite Tags
c++ x 19
Member Avatar for slawted

Hey folks, this is my first program and i dont know what to do to make it output my imput to a .txt file, can anybody tell me or show me what im doing wrong. thanks. [code]/*MuTech Computers Address Book by Michael Grayson.*/ #include <iostream> #include <fstream> #include <string> using …

Member Avatar for Sky Diploma
0
95
Member Avatar for slawted

hello guys i recieve errors when compiling my code [code] #include <iostream> #include <fstream> #include <string> int main() { std::string firstname, lastname, age, emailadress, message; char answer; std::cout << "Hello please imput your first name: "; std::getline(std::cin, firstname); std::cout << "\nNow please enter your last name: "; std::getline(std::cin, lastname); std::cout …

Member Avatar for Lerner
0
204
Member Avatar for slawted

hello this code seems to give me wrong results and i carnt figure out why :( [code]#include <iostream> int main() { float pi = 3.142; char area; float diameter; area = diameter * pi; std::cout << "Hello. Please imput the diameter of your circle... "; std::cin >> diameter; std::cout << …

Member Avatar for wildgoose
0
127
Member Avatar for slawted

hello, first of all welcome, secondly someone please help me? this wont compile :( [code] #include <iostream> int main() { float pi; float radius; float area; pi = 3.1415926535; radius = 2; area = radius * pi; std::cout << "The area of a circle with a radius of 2 is …

Member Avatar for slawted
0
96