Beginners - April 2018 (Page 12)

The bug of getting the word form the article(read txtfile)
 
Hello.I am trying to get the word from the article and count the frequency of each word.But there is...
[1 reply] : Hello toby1a05, The program ran fine for me. I could not duplicate th... (by Handy Andy)
by wnp007
string::erase alternative
 
Is there any alternative for erasing a string character when using a loop and still manage to keep t...
[3 replies] Last: I actually figured that it's not the source of error in my code. Thank... (by wnp007)
common elements in array and vector
 
hello everybody moving on my attempt to program A* pathfinding, i came to a question. i have an arra...
[5 replies] Last: thanks both of you, i think i'm getting close :D i tried mixing Enoiza... (by Stauricus)
by jcarbo
Visual Debugging
 
HI Folks, I have done some programming in the past, but I'm new to C++. Just starting out. I have...
[1 reply] : Visual Studio is probably the best option on Windows and it comes with... (by Thomas1965)
array in c++
 
#include<iostream> using namespace std; main() { int i,j; int a ;int b ; for(i=0;i<=4;...
[1 reply] : Arrays in C++ (and related) languages index from 0. So if you declare... (by lastchance)
Inheritance Problem Issue - getting a null return
 
The problem I am working on is the following: Design a class named Employee. The class should kee...
[1 reply] : I figured it out, here is my new code #ifndef lab10_h #define lab10... (by CoderParzival)
Help with using user input values of an array with constructors
 
I'm having trouble understanding what the issue is with my code. The error messages popping up stat...
[1 reply] : You should have a class called Skateboard where Skateboard has 3 publ... (by rjphares)
Sequential Access Files Program
 
Creating a program that lets me save payroll amounts in a sequential access file using a loop. Once ...
[5 replies] Last: The ios::app flag when opening a file for writing tells the program ... (by closed account E0p9LyTq)
out of range at memory location error
 
at line 59-60, my program always stops working says their is an error saying I am out of the range o...
[4 replies] Last: There is no one answer to undefined behavior. Using an undefined vari... (by closed account E0p9LyTq)
Problem with pointer addition?
 
My program is mostly written, but the hardest part for me is the addition of 2 polynomials which are...
[4 replies] Last: If you look at my code, I believe there is only one list. For each lin... (by Toasthat)
whats the code for this
 
Powerball® is a combined large jackpot game and a cash game. Every Wednesday and Saturday night at ...
[1 reply] : Hello sonia123, Welcome to the forum. The code starts off like this... (by Handy Andy)
Using Constructors to create an item listing
 
Hello, Below is my prompt and my attempt at fixing the problem. When trying to run my code, the fo...
[2 replies] Last: I'm having trouble understanding what the issue is with my code now: ... (by juliabrushett)
Error: no match for call to (std::vector<char>) (int&)
 
I get this error inside all of the for loops for the multiArrayCipher function. #include <iost...
[2 replies] Last: multiArrayOne(counter) is a function call. multiArrayOne accesse... (by closed account E0p9LyTq)
Column and Loop Error
 
I am having a problem of my output coming out lined up in a nice column. It's supposed to line up wi...
[3 replies] Last: You're welcome! It can be easy to get confused with nested loops. (by MikeyBoy)
Minesweeper program not working, and I'm unsure why
 
I'm trying to make a minesweeper program, but with gophers instead, and I'm struggling to get it to ...
[4 replies] Last: Delete it, that should be an option available to you. Better is check... (by closed account E0p9LyTq)
C++ sequences
 
Hi guys, I am writing this post, not to ask for an answer to a question, but to ask for questions....
[6 replies] Last: Take a look at project euler: https://projecteuler.net (by coder777)
by abir50
counting prime divisors
 
Trying to count prime divisors, tried doing it based on something i did before but it's wrong...... ...
[5 replies] Last: prime factorization has dupes. 8 is just 2*2*2 do you want an answer ... (by jonnin)
Menu or Gameplay first ?
 
This is a question about game development. I am wondering if I should implement the gameplay first o...
[1 reply] : no matter what you are building it is really helpful to be able to cal... (by jonnin)
The Use of Boolean values In sorting (C++)
 
THIS IS NOT A POST TO HELP ME WITH ANY KIND OF HOMEWORK Hi guys, I really can't understand the us...
[5 replies] Last: Thank you (by Jack Van Stone)
Sending a pointer to a function using classes
 
I am doing an assignment and I can not figure out pointers. We are required to send a pointer to the...
[1 reply] : Please post the entire error message. Line 47/48 is wrong. Change to:... (by coder777)
April 2018 Pages: 1... 1011121314... 25
  Archived months: [mar2018] [may2018]

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