Beginners (Page 3)

Implementing Stack on Array
 
Hello everyone so I have a quick question, my code is supposed to only take 6 character values so I ...
[1 reply] : Keep in mind that an array of size 6 begins at index 0 and ends at ind... (by EtDecius)
not important
 
what's the difference between visual studio and dev c++?
[1 reply] : Dev c++ is old, good in 2000s, extremely outdated in 2010s. Visual stu... (by SakurasouBusters)
finding the first character in a word?
 
Hello, I am very new to c++ and I was wondering if anyone was able to help me out! Essentially, what...
[1 reply] : Send me a private message. (by SakurasouBusters)
Integer To Roman Numeral Converter HElP
 
#include <iostream> #include <string> #include <algorithm> #include <ctime> using namespace std;...
[3 replies] Last: Thank You for the help. (by fivestar)
removed
 
The second pen order overwrites the first value of $1.20 in totalPen, so the code at the end is only...
[1 reply] : @ wpark6765 What you have done is not likely to make you friends -- a... (by Duoas)
What is a translation unit ?
 
What is a translation unit? What does it mean when a function is not used in the translation unit?
[5 replies] Last: http://www.cplusplus.com/faq/beginners/multiple-sources/ The compiler... (by Duoas)
Error when calling constructor....
 
Date.h class Date { #include "Date.h" using namespace std; public: Date(); Date(unsigne...
[1 reply] : I can't say exactly what caused the issue in your code, but the error ... (by EtDecius)
Declaring varibles
 
My teacher asked why I declare my varibles like: int x(0) and I told him I liked the way it loo...
[6 replies] Last: @Keskivertso: Oops! How embarrassing. Fixed it, thanks. (by Arslan7041)
by njenn5
"function does not take 0 arguments"
 
I'm just trying to get through this class, but I'm starting to struggle with basic things. This is ...
[3 replies] Last: double findArea(double area); double findCircumference(double circum... (by integralfx)
stringstream converter isn't working
 
Hey all, So I'm a beginner at this and the concepts are a little hard for me to grasp. But anywa...
[5 replies] Last: Thank you so much! (by peasforbrains)
Output only certain numbers of counter
 
I have been searching for hours and can't find help. Please help. I know it's gonna be some simple t...
[3 replies] Last: Thank you SakurasouBusters for the offer and thank you EtDecius for th... (by mechengvic)
Help with switch statement
 
Hello I am having trouble with my C++ homework as I do not fully understand how to use a switch stat...
[3 replies] Last: This is what I have so far but I do not know how to assign the convers... (by swigert93)
Overloading operator< for pointers to Objects?
 
Check out the simple code below: #include <iostream> #include <vector> #include <algorithm> clas...
[9 replies] Last: Taking a reference does not prevent from providing a pointer. (by keskiverto)
How to properly design objects
 
One thing I really struggle with is OOP. I don't know why it just doesn't click. I can program "Top ...
[2 replies] Last: Your decision to use pointers over real objects depends on your idea o... (by mbozzi)
by suppa
Storing multiple 2D arrays in an array
 
Is there a way where I can store multiple 2D arrays into another array like a vector? something li...
[no replies]
midterm help. (1,2)
 
I'm taking C++ class at college currently online and the teacher does not teach, just gives us power...
[20 replies] Last: Any responses to Switchy is going to keep him trolling so you might as... (by diemfdie)
by lavek
delete of memory
 
Hello everyone, I have a question. HumanPlayer is a class and players is a vector<HumanPlayers*>....
[1 reply] : With this code am I able to delete all the vector's elements previous... (by AbstractionAnon)
strcpy
 
I'm trying to make a function that copies a string to another string, but my output isn't right. Wha...
[6 replies] Last: I see, I used the forward slash by mistake. Thanks for helping! (by cpp1024)
by ahutch
C++ Cin Problem!!!
 
When I run this program and call the function BacteriaVariables, the program stops running before in...
[1 reply] : Your prompt for k says "[0.0-1.0]", but k is an int. It will not hold... (by AbstractionAnon)
Pointers
 
int *e=&a; How do you translate the above in english? Is it the value of e is equal to the addres...
[1 reply] : Is it the value of e is equal to the address of a Correct. ... (by AbstractionAnon)
Pages: 12345... 55
  Archived months: [jul2016]

Cannot post in this page. To post a new message, go to the first page.