Beginners - November 2018 (Page 12)

by Bentz
regular pointer vs pointer to an array
 
what is the difference between "int* p" and "int (*pa) " in regards to point to an array in...
[4 replies] Last: thank you all for the input (by Bentz)
Help with string find() loop?
 
I am asked to use the find function for a string to find the number of blank spaces in string input....
[1 reply] : You problem is that using i as an offset in find(...) you will find th... (by coder777)
by l0k1
Undefined reference to vtable for screen logger
 
So im working on an assignment for school and i keep on getting an error that says: undefined refere...
[4 replies] Last: Thank you kbw! (by l0k1)
Changing array of class
 
Hi!I want to change array of integer in array of elements of other class. class Vector { pri...
[10 replies] Last: Thank you very much for all of yours answers. (by Zivojin)
Code won't make text file?
 
A while back I got into file stuff in C++ and it was working fine, like I've made small programs wit...
[2 replies] Last: > Doesn't the quotations tell the compiler to make the text file at th... (by JLBorges)
Suma de matrices
 
Podrian ayudarme a encontrer que está mal en el código por favor, al momento de copilar no salen e...
[1 reply] : #include <iostream> #include <iomanip> #include <vector> #include <c... (by tpb)
A few lines of the TicTacToe game:
 
cout << "Invalid move "; player--; cin.ignore(); cin.get(); } i = checkwin(); player++; } whi...
[1 reply] : Hello samtheman, Based on what you have "i" is being set to the retur... (by Handy Andy)
by Kreons
Help with Deck Shuffle Program
 
I'm trying to figure out why my sort function from the Player class doesn't work. Any suggestions wi...
[8 replies] Last: You have some fundamental problems. You declare Card arrays in Player... (by tpb)
Help with Game
 
Hi there, i have recently been trying to build a slot machine that emulates the wheel actually spinn...
[6 replies] Last: If you need to do multiple lines then you should take Guando's advice.... (by dhayden)
Having trouble with passby value
 
#include <iostream> #include <string> #include <iomanip> using namespace std; //*******************...
[3 replies] Last: Hello BruhImSkill, PLEASE ALWAYS USE CODE TAGS (the <> formatting b... (by Handy Andy)
by Tduck
When to use stacks instead of a vector?
 
From what I understand stacks are just vectors which can only be operated on from one end. Vectors,...
[1 reply] : I asked a question similar to this when I was newer. The answer prett... (by Ganado)
Keep getting 0 for the area of a rectangle HELP!
 
Everything is working fine and the program runs, the only issue is I keep getting 0 for the area whe...
[4 replies] Last: Your indentation could use some work. I suggest always using spaces in... (by tpb)
Container Class
 
I need help creating a container class for this code so I can then modularize it. Any help is greatl...
[4 replies] Last: I'd start with "multiple modules to organize your code". (by jlb)
Need help with my craps game.
 
Just having issues with my Craps game. I have the game working but how would you go about having the...
[4 replies] Last: Hello bored62, When I adjusted your program I found that the while lo... (by Handy Andy)
C++ Windows application start guide
 
Hi guys, I am trying to learn C++ and making some assignments to gain more knowledge. Found this ...
[3 replies] Last: Next you need to compute the velocity of the rocket ship. ... Ok, I ... (by jonnin)
by faidi
Having to input twice in a loop (C++)
 
Hello! I'm a new user here, please forgive me for any future mistakes that i will do. I'm trying to ...
[2 replies] Last: Hello faidi, I will try to explain what keskiverto is saying. You ne... (by Handy Andy)
constant constructors
 
Hello. In my program, I am trying to define a constant variable through a constructor, but it return...
[4 replies] Last: I think the point here is that it needs to be initialized in the memb... (by MikeyBoy)
I want to input entire dictionary in excel or notepad to run string algorithms
 
Hi there, I want to take Dictionary or few thousand words as a input in excel file or notepad file....
[2 replies] Last: A text file containing over 466k English words... https://github.com/... (by closed account 1vRz3TCk)
2-3 tree Algorism bug(memory allocation)
 
i am trying to bulid 2-3 tree insertion function,it seem successfully in the beginning(from 1 to 14)...
[3 replies] Last: thx all of u, i solve it finally. (by toby1a05)
Help with Rational Class Lab
 
I am having trouble with the main part but the class part is fine and was looked over by my teacher....
[1 reply] : Liners 64, 68 and 72: The way you call a method is object.method(). F... (by dhayden)
November 2018 Pages: 1... 1011121314... 24
  Archived months: [oct2018] [dec2018]

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