General C++ Programming (Page 13)

by stav
Forward declaring class: incomplete type
Hi I have the following code: MySceneManager.hpp #pragma once #include "my.hpp" #inclu...
[1 reply] : A forward declaration will only allow you to have pointers and referen... (by Peter87)
Flipping cards
Greetings,fellow members! I need help with my school project. My teacher don't understand this matte...
[3 replies] Last: Update - Just noticed there are double lines. Solved. (by edmundrw)
Doubt in a program
Question - To write a program using functions to check if a inputted number is prime or not, exit fu...
[2 replies] Last: Some Google search... (by chicofeo)
I'm stuck
I need to create a self solving maze that randomly moves around valid spaces until it finds its way ...
[13 replies] Last: guess my last post didn't post, but anyways ur code works just fine. b... (by imafailure)
chain of function calls and temporary variables with destructors
I am trying to create something like unique pointer for Arduino. Here is a simple example: #includ...
[4 replies] Last: This problematic code int *p = getPointer().get(); // note: no dere... (by mbozzi)
by KB93
Initializing Stack Constructor
Hello everyone, What I am trying to accomplish is initializing a stack constructor, setting the ini...
[no replies]
My Connect4 class wont print out the board. Help?
****main**** #include "Connect4.hpp" int main() { Connect4 player1; player1.DrawBoard...
[2 replies] Last: Wow, such a simple mistake. Thank you so much! (by joshgarza)
Complex Number Addition Function!
Hi everyone, i have 2 different complex number at my class. i want to be collection subtraction mul...
[1 reply] : To add or subtract two complex numbers, just add or subtract the corr... (by keskiverto)
by PitKid
Passing Struct Arrays to Sort
Alright, so I'm going to be pretty straightforward about this, 1. I'm very new to using these forums...
[1 reply] : You can sort any unsorted container using std::sort. https://wandbox... (by elohssa)
by hlbx
static library not working on all computers
Hi, I am creating a static library for my c++ project on linux mac and windows. (for now I have ...
[1 reply] : AVX is a feature of the CPU, not the operating system (just to be clea... (by NoXzema)
Regular Expressions in C++
Hello All, I have recently been experimenting with Regular Expressions in C++ (Regex). Fortunately, ...
[2 replies] Last: Worth mentioning that your input statement looks like some markup lang... (by mbozzi)
by WildB
Need help making a flag that is design by user inputs, while using mainly array for it
Directions : Write a program that will allow a user to create a flag of characters. The flag should...
[no replies]
Getting specific information from a string
Hey guys, I need help with some idea that I can get specific information from a string. For examp...
[2 replies] Last: #include <iostream> #include <sstream> #include <string> #include <ve... (by lastchance)
Get list of connecting lines/arcs
Hello Experts, I am having some line segments & arcs connected, my bottom line is fixed(as L1) no...
[1 reply] : If you have the endpoints, what are you asking? Do you know the slop... (by jonnin)
Classes inside classes and Monostates, oh my!
Hello people of the interwebs. I have two questions to ask! It seems when I'm tooling along in a ...
[3 replies] Last: JLBorges, maybe I misunderstand the OP's question, but I feel the use ... (by Ganado)
Help understanding some code
Hi I'm doing some research into brute force password cracking for my university course and my tutor ...
[3 replies] Last: the ascii table is annoying for that. I would just load up a (vector,... (by jonnin)
Error when trying to print out values from vectors
Hi , just wanted to ask.. because i was trying to access some data from my vector container. i was u...
[14 replies] Last: Thank you very much everyone. (by paulpv278)
Converting XMacro into template in C++03
I have an XMacro which I use to create a sort-of object database surrogate (kind of). Basically, eac...
[no replies]
by roger3
Letter count with reference variables! help
My code docent work! its spouse to return the most frequent appearing letter with the total occurren...
[1 reply] : Can use containers for such things. Even a plain array is ok #inclu... (by elohssa)
every time i build it fails? What am I doing wrong
//Zipoids is a level of currency used by obscure gamers. These gamers must pay tax in the following ...
[5 replies] Last: Thanks a bunch to those who helped and to those with rude snarky remar... (by closed account zCR4E3v7)
Pages: 1... 1112131415... 19
  Archived months: [jan2018]

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