Beginners (Page 84)

Want to change a char in a vector of chars
I don´t know what I´m doing wrong in the code. Need some help. #include <iostream> #inclu...
[6 replies] Last: @patriic48 - Your if statement inside your last for loop is wrong. Wh... (by art1986)
Passing values between 2 functions
When I try to compile my program, I get a build error that n1 and n2 aren't being initialized. I wan...
[3 replies] Last: n1 = from; n2 = to; that's exactly what's missing in your first post.... (by ne555)
PC too dumb to read
So i get almost all my declared variables undeclared... any suggestions? #include <iostream>...
[4 replies] Last: It could. But honestly, the standard library string is so widely used... (by Esslercuffi)
deleted function
Hi,I need some help with a certain code , okay The problem Is I keep getting an error that I can'...
[6 replies] Last: I stick to lambdas from now they are really cool lol. (by andy1992)
Classes - function that will access another class?
#include <iostream> #include <vector> using namespace std; class NPC { protected: int hp, ...
[3 replies] Last: but hp is protected, not public :X And? I am accessing it from inside... (by MiiNiPaa)
No such file or Directory
I'm new to I/O streams and working with files when it comes to C++ and I'm trying to write a program...
[3 replies] Last: Here"Shopping.txt"); for examples I use Windows ... (by andy1992)
by Waka45
Unitialized local variable
Hi guys I'm new to C++ and I'm taking a class for this but I'm sort of stuck on this assignment. I k...
[2 replies] Last: I was able to figure out the problem, I had to set my computer guess i... (by Waka45)
correct way to get char input
First I use this, the compiler show no error but the cmd stop working. char * binput; cin>>bi...
[1 reply] : the cmd stop working. What memory binput point to? You are trying to ... (by MiiNiPaa)
I have to Develop a program that determines the number of days, hours, minutes and seconds it took a...
[6 replies] Last: Thanks for your help, I appreciate it :) (by JayJay007)
by cyter
Persistent redefinition error
Hi, I have edited and re-edited my code but this error never seems to go away: The error is: ...
[3 replies] Last: thank you JLBorges (by cyter)
pow ambiguous call to overloaded function
The purpose of the program is to remove a specific substring from the string, but for some reason it...
[no replies]
Order of Operations Help
Ok, I wrote this simple code and it works my only question is when I dont use parentheses around the...
[2 replies] Last: kind of embarrassed i didnt catch onto that quicker. Thanks (by Vesuvius803)
How can I align the text horizontally and show every name
If you run this program all the names of every college and university will be aligned vertically and...
[7 replies] Last: Alright looks good. (by deathslice)
by Jon15
Variable Scope/Global Variables
I am trying to calculate the value of e to a given accuracy. I am using a separate file for my funct...
[5 replies] Last: I am not supposed to have any arguments that are not global variables ... (by Jon15)
Cant get the size of the array
Write your question here. // vector::operator #include <iostream> #include <vector> #include <st...
[2 replies] Last: Why are you using 3 different variables ( inputString , s and myVec... (by Peter87)
Printing index of elements in a char vector
I have a program which writes a number of chars into a vector but I can´t print an index of them. I...
[2 replies] Last: Solved it! Thank you :) for (int i= 0; i < myVector ; i++) { std... (by patriic48)
Need HELP!!
My Assignment:Today BandN book stores have a deal on eBooks. If you order today you get a discount. ...
[1 reply] : Your PrintInstructions function should return the number of books requ... (by ajh32)
#include in MV2013
I have 2 files: Source.cpp and Header1.h. #include <iostream> #include <Header1.h> I ke...
[2 replies] Last: Thank you. (by gabor53)
class and header
how can i access the functions in header to a class in main.cpp i mean what is the use of header...
[10 replies] Last: @ajh32 i see but it doesnt work due to my issue (by Lorence30)
by clodi
2D lattice, quick question
Hello, I have to work with a 2D lattice. I have been storing it as a 1D array. Would storing ...
[8 replies] Last: Stack-wise / performance-wise and everything else-wise there is NO di... (by MiiNiPaa)
Pages: 1... 8283848586... 132
  Archived months: [sep2014]

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