Beginners - September 2013 (Page 22)

iterating and merging two arrays.
 
Not homework. I am doing exercises out of "C++ Programming: From Problem Analysis to Program Design"...
[1 reply] : > Not homework $ dict homework Studies or other preparatory work done... (by ne555)
by aggsyb
Grabbing a char for a vector from another vector
 
//Prototype void getChars (std::vector<std::string> *chars); void getFileNames(std::vector<std::st...
[no replies]
unknown escape sequence help:
 
I have try searching some info but I didn't understand it. ||In function 'int main()':| |20|warni...
[3 replies] Last: Or you can use raw string literals , a C++11 feature: #include <io... (by Duthomhas)
by darqan
Can't get simple script to work :/
 
Im going crazy.. Can anybody explain why this is failing? Thing I want to do is simply to make th...
[4 replies] Last: size() is a member function of the vector container, randomPick.size(... (by Chervil)
Catching arguments at the command line
 
Hello everybody. I'm having a hard time with this one. Any help is kindly appreciated. I'm writ...
[5 replies] Last: @ne555 Thanks for picking that up. (by Chervil)
by aggsyb
Passing multiple vectors to a function
 
How do I pass more than one vector to a function? //Prototype void getNum (std::vector<int> *numbe...
[2 replies] Last: //Prototype void getNum (std::vector<int>&,std::vector<int>&); int m... (by aggsyb)
by mguinn
Help with if/else
 
I am trying to write a program to do the following and I cannot seem to get it to work correctly. Co...
[1 reply] : Without actually trying to run this, I can see a few errors. void ma... (by Chervil)
infix to postfix
 
Hello all I am writing a program that will read in an expression and output the expression in postfi...
[no replies]
i need help this wont work
 
#include <iostream> #include <string> #include <windows.h> void ifunc(); using namespace...
[3 replies] Last: I compiled and ran the program with no problems. What happens in your ... (by Chervil)
Parallel Arrays
 
I'm working on a program which deals with parallel arrays. The information is user entered and must ...
[1 reply] : What exactly are you trying to achieve? Here's what your addphone() ... (by xismn)
by aggsyb
Returning vectors ints + strings from a function
 
How would I write the following with a vector? I have not had much experience with them yet and I am...
[1 reply] : Managed to solve this one myself, if anyone else needs it. #include... (by aggsyb)
Undefined reference to class::function
 
I have three files: Main.cpp, Security.h, and Security.cpp. I have declared my class Security (incl...
[2 replies] Last: Typo? void Securtiy ::Driver() It is best to post the actual compi... (by norm b)
Text based rpg (loop help)
 
Hi, I am having trouble with the loop function. I have to write a text based game. When the use...
[3 replies] Last: Thank you. I will give this a try. (by chris88alfonso)
Number of lines
 
Hello, I am a C++ student with very limited experience. I looked through the forum, and I found som...
[4 replies] Last: Great. Thank you. That helped me better understand it. I thought that ... (by JaroScc)
C++ class assignment
 
I am having a few problems writing a program for my class. I have to write a program that allows the...
[3 replies] Last: Setprecision() should apply for anything after it was used. I believe ... (by IceThatJaw)
by RLC
return error
 
This program fails with a message of: Run Time Check Failure #2 - Stack around the variable 'hol...
[3 replies] Last: holdarea is a local variable in function parse_words() . When the f... (by Chervil)
sdl linker error
 
despite of linking -lmingw32 -lSDLmain -lSDL-lSDL_image and adding include and libraries to sdl ma...
[2 replies] Last: I don't understand what you mean (by Sharan123)
please help me
 
How to write a program that defines an integer variable named age and a float variable named weight....
[2 replies] Last: #include <iostream> using namespace std; int main() { int age; floa... (by Uk Marine)
class to represent rational numbers
 
Hi, I am having trouble understanding what a set of instructions on my homework means. The part is C...
[1 reply] : Take a look at this -> http://learnzillion.com/lessonsets/240-convert-... (by IceThatJaw)
by mhel22
banking system
 
What is the errors in void wid_det(), void dep_det() and in trans_det()?.. I only want to display al...
[7 replies] Last: Better yet, post the actual error instead all this ugly code. If you h... (by IceThatJaw)
September 2013 Pages: 1... 2021222324... 64
  Archived months: [aug2013] [oct2013]

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