Beginners (Page 69)

string type does name a type even after adding <string>
I don't know what I am doing wrong.I have been trying to figure out the problem for an hour now and ...
[3 replies] Last: Thank you guys so much. Have a lot to learn. (by Adaptron)
by Musica
Tmplate Class w/ User-defined class as argument
I have no idea how can I pass the class I created (Trivial class) to the template class (Stack class...
[6 replies] Last: I guess I need to put some codes of the Stack class implementation ... (by Musica)
what am I doing wrong
Hi guys I have a small program here that sets a power of an attack,now this question is mainly about...
[5 replies] Last: thanks cire and Moschops,it does actually work I'm not sure what was g... (by adam2016)
by Eli1
It does not copy the answer
When I run it, it does not copy the answer. Any help? please. -----------------------------------...
[5 replies] Last: i + 2 does not change the i. Perhaps i += 2 (by keskiverto)
Loop not working correctly
I have only been learning C++ for a few weeks and I have run into a problem trying to write a simple...
[3 replies] Last: That worked, I really appreciate the help on this. I was getting so fr... (by Sdavis5)
Problems with cin.getline
Hello! I'm writing a Mad Libs project, and I'm almost done! I have just a few minor issues that I'm ...
[4 replies] Last: So by typos: I mean the code is fin >> somevar; should it be ? ... (by Bdanielz)
by specbk
swapping letters in a string
Hi. Yesterday i did a code which swaps the letters that are next to each other in a string. For an e...
[2 replies] Last: To begin with, your buffer is not large enough to hold a 4 character s... (by cire)
Does anyone notice any patterns?
Hi, I'm working on a nested for loops problem that wants us to output a large plus sign (user specif...
[3 replies] Last: @Chervil Yes exactly! Now if I could just find some patterns... (by rrspamrr)
by Eli1
x was not declared in this scope
I declared 'x' but I don't know what' wrong. Please help me, thank you. (Here you have the 'wrong' p...
[3 replies] Last: Thank you very much :D (by Eli1)
returning pointers from functions?
Hi I am getting the following compile error when compiling the code below: func_ptr.cpp: In...
[2 replies] Last: ok, got it. so obvious in the end. thanks for replying. (by bluefrog)
by alitt
file problem
hey guys i have a little problem with files in read (line 29) #include <iostream> #include <fstre...
[2 replies] Last: got it thank you (by alitt)
by dajoao
Define member variable in class to initialize vector size
Hello together, I am relatively new to C++. After investing quite some time researching and trying ...
[2 replies] Last: Thanks a lot, works like a charm! (by dajoao)
Practice problems Jumping into c++
Q3. Create an address book program that builds on problem #1—this time, the user should be able to...
[6 replies] Last: To make it difficult to change a value after you've initialised it. (by Moschops)
by Areey
one dimention Array
when i debug this code it shows me this error message, Stack around the variable 'A' is corrupte. wh...
[2 replies] Last: Thanks alot... it gave me an insight of what was wrong.. now this code... (by Areey)
Establishing a for loop in functions
Hi. I need to establish a for loop or at least a loop that will help me repeat a program 5 times whi...
[1 reply] : The problem you have is on line 111. You declared a statement outside ... (by OxBADC0DE)
Text based game problem.
#include "stdafx.h" #include <iostream> int win(); int whoWins; int main(){ int playerHorizonta...
[4 replies] Last: Thanks so much! (by Idiotal)
by stoned
VST controller parameters
Hi, I was looking around some IPlug code to make a VST plugin. And my quest is to figure out how ...
[no replies]
Linked List Help. Elements with the same name?
Hello all, this is my first post here so let me know if I did not provide enough information! Bas...
[1 reply] : The program runs just fine, with no compiler error. It's just that aft... (by shiniko)
Multi-Dimensional array printing only one dimension.
#include "stdafx.h" #include <iostream> int main(){ char grid ; int i; int j; for (i = 0; ...
[3 replies] Last: Thanks guys! (by Idiotal)
Program does not work.
Hi, I'm trying to make a program that finds and states all the perfect numbers in a given range, bu...
[3 replies] Last: Just tried, this works Try to simplify your solution as much as possib... (by ephraimr)
Pages: 1... 6768697071... 89
  Archived months: [feb2016]

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