Beginners - December 2015 (Page 38)

problem with while loop
 
having an issue with my while loop. the program compiles and runs but only the first line in my data...
[5 replies] Last: void data_out(employeeType anEmployee) { cout << anEmployee.fname b... (by closed account 48T7M4Gy)
Program skips "if statement" if true?
 
Thanks Peter87, kemort, and TheIdeasMan! I'll keep those pointers in mind when I look to improve my ...
[7 replies] Last: Along those lines, http://www.roulette.com.au/strategy/playing-red-or-... (by closed account 48T7M4Gy)
by dana18
"segmentation fault.core dumped"
 
i don't know how to solve this , can anyone help me please? #include <stdexcept> #include <fstr...
[3 replies] Last: Line 10: The vector t is empty. You cannot access it like on line 19... (by coder777)
by dana18
convert problem
 
in main i have an error "cannot convert 'std::vector<std::vector<int>>' to '__gnu_cxx::__alloc_trait...
[2 replies] Last: http://www.cplusplus.com/forum/beginner/180210/ (by closed account 48T7M4Gy)
by Enot02
This form parameters are difficult!
 
I've tried to change a parameter of form(Form1 here, TForm1 class) and the errors pops. Code: /...
[5 replies] Last: Thanks programmers! Goodbye! See you next time! (by Enot02)
by Sakas
Fibonacci sequence into a vector<string> for sorting.
 
Write a function to produce the Fibonacci sequence. Use this function to fill a vector<string> with...
[no replies]
by jem19
Snipper for (for loop, while loop, do while loop)
 
How can I make a program using this instruction? Snippet for : a program that prints all numbe...
[3 replies] Last: See http://www.cplusplus.com/forum/beginner/179925/ (by closed account 48T7M4Gy)
by jem19
One Program (For loop, while loop, Do while loop)
 
Can I make a program together for loop, while loop and do while loop? Please help me . Thanks!
[5 replies] Last: See http://www.cplusplus.com/forum/beginner/179500/ (by closed account 48T7M4Gy)
EOF
 
Hi, I want to make a program in C which let you write something while the imput is != EOF. I think...
[no replies]
Stack as array
 
#include<iostream.h> #include<conio.h> void insert(int stack ,int &top,int n) { stack =n; top++...
[1 reply] : Even when I am not passing the stack array as reference in the in... (by coder777)
Count the frequency of words in array and delete duplicates
 
I want to user to input a string and then I will make substring array of words in that string. Then ...
[3 replies] Last: You need a variable to store the number of unique words after you have... (by Thomas1965)
Passing a file into an Expression Tree
 
First the program will open a file which contains an infix expression that is fully parenthesized. T...
[1 reply] : SOLVED: changed the build_tree function in the main to this: void b... (by stevecaboose)
getting errors with code please help
 
Write your question here. /*------Header File: Employee.h-----------*/ #ifndef EMPLOYEE_H ...
[9 replies] Last: OMG I GOT IT TO WORK (EXECUTE) THANK YOU SO SO SOOOOO MUCH!! (by leashbomb69)
by cspace
Storing address: intptr_t vs uintptr_t
 
In using an integer to store a hex literal address, what is the difference between using intptr_t an...
[4 replies] Last: I used "hex literal address" to mean the "literal" value here: (u)int... (by cspace)
by remone
One Time Pad- Encryption program
 
This is Final Project which i have never covered, i am having hard time, determining where to start,...
[12 replies] Last: #include<iostream> #include<vector> #include<stdlib.h> #include <stdex... (by gg101)
by asam22
class constructors and initialization - Implementation Help
 
Help! how would i be able to implement a class constructor responsible for performing any initializa...
[no replies]
Unrecognized operand error
 
Hi, I'm currently writing a program for my C++ class, and there's one error message that keeps poppi...
[3 replies] Last: For example which line in the snippets provided is line 137 in your a... (by AtticusOmundson)
why is Return 0 not leaving my method??
 
I have written this as a void and int method still returns me back to the top of the method, when i ...
[11 replies] Last: i see Thanks! (by nameishi)
Help with player movement
 
Hi guys, I am doing a little RPG in ASCII. Right now I have my map in an array and a little bit of f...
[2 replies] Last: I would guess that since you don't have a case '*' in your print fun... (by cire)
Having trouble with multiple or's
 
I am having trouble, which I think is being caused from my OR statements not being valid. What I am ...
[1 reply] : if ( (down_p || left_p ||right_p) && g_up ) { (by cire)
December 2015 Pages: 1... 3637383940... 43
  Archived months: [nov2015] [jan2016]

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