Beginners - February 2013 (Page 20)

by rcast
Using Classes and Inheritance
 
First time really using the OOP side of C++, working with classes. Is the following code appropriat...
[3 replies] Last: @maddy1445 - Please don't hijack someone else's thread. (by AbstractionAnon)
Help with code please
 
I am trying to get this function to work. It will display: Name...... Street.... City...... ...
[3 replies] Last: In line 11 of the original code you wrote: const char FileName = "c:... (by eraggo)
Confusion with the if/else statement
 
Hi. I am having trouble with a programming assignment as it pertains to the concept of the if/else ...
[7 replies] Last: You will also need to look at the different types of "Loops" available... (by Jerseppi)
Creating Connect four
 
Hello i am trying to create connect four as the title says I went to make the check win function and...
[1 reply] : When a piece is placed, you could add up the number of consecutive pie... (by Branflakes91093)
by nein9
Program formula needs fixing
 
I need this program to do http://pastebin.com/2Kuf9ekD . The program runs fine, however, when I inpu...
[7 replies] Last: You're right! Thank You! :D (by nein9)
Please Help
 
Hey everyone this my first post but I am having trouble with an assignment for my C++ class. I was s...
[1 reply] : Function find_average() void find_average(ifstream& input, double... (by Chervil)
by fx11
Class, Arrays, Operator overloading = instable code. Why?
 
Hi All! I am a beginner to programming. I learn C++ from site cplusplus.com. I wanted to try op...
[1 reply] : The problem is when the objects are copied, it will just copy cAry and... (by Peter87)
C++ infile problem
 
My problem is simple - read an input file that has 3 lines of text : This is a test - This is also a...
[5 replies] Last: I think I figured out the problem here - the cout and out statements a... (by Kenneth Howard)
by krutuk
Problem with template
 
The program is primitive, yet I still cann't find out mistake. Here the program is: #include <iost...
[7 replies] Last: No problem wasn't in cout. I did like this: #include <iostream> usin... (by krutuk)
std::string .find()
 
So, for some reason I never bothered to learn about string functions. I've written some code to remo...
[4 replies] Last: Ha! I cut/paste it wrong when I moved it! Edit : I had a ';' at the ... (by Lynx876)
help!!!
 
Create a program that will display all the composite numbers from 0 to 1000 and has a maximum column...
[7 replies] Last: thanks for the idea.. i already get it :)) (by MEandYOU)
Please help. I am unable to find the error !!
 
#include <iostream> using namespace std; template <class T> void swap(T&x, T&y) { T temp=x; x=y;...
[3 replies] Last: Thanks a lot !! :) (by newbie456)
by lolwe
Help with 1 function
 
I need a function which count and display nodes with maximum outgoing edges/arcs/ in graph Here...
[no replies]
How do I read ints separated by commas in a file?
 
I'm trying to read something like this: 1. Oliver, 42, 405023, 12 I know about the getline(readFi...
[3 replies] Last: I like the suggestion from Stewbond . If you have an input file whic... (by Chervil)
help me about QUEUE
 
what wrong with my code?? #include<iostream> #include<iomanip> #include<queue> #include<cstdlib...
[2 replies] Last: thank you. I'll try again. (by vuonganh1993)
How to read from a file specific elements
 
Afternoon, for my c++ class I am taking, we are tasked with reading from a file of people that gives...
[1 reply] : Sounds like a case for std::map. It's an associative array where you c... (by plexus)
Help with future value program and interest
 
I have to write a program for my computer science class to determine the future value of a given amo...
[4 replies] Last: double futurevalue=deposit*pow(1+(rate/100),years); Something lik... (by closed account j86M4iN6)
Help with palindrome program
 
This program is supposed to determine if a word is a palindrome and reverse a string. The reverse st...
[no replies]
Can't figure out this error
 
I'm using VS 2010. I keep getting Error 1 error LNK2019: unresolved external symbol "void __cdec...
[5 replies] Last: my personal way of choice http://en.wikipedia.org/wiki/Rubber_duck_deb... (by K0T4K0t4)
by js404
interesting input issue.
 
Here's my code: int talkto(string name){ string talktoinput; talktobase: cout << "\...
[2 replies] Last: How are you calling the talkto() function? There are some unread char... (by jim80y)
February 2013 Pages: 1... 1819202122... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.