General C++ Programming (Page 4)

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)
Force the user to enter ONLY an integer
Trying to figure out how to force the user to enter an integer ONLY when prompted after choosing eit...
[2 replies] Last: There are two things that must be understood about input to process th... (by Duthomhas)
C++ practice problem help
POSTNET (Postal Numeric Encoding Technique) is a barcode system that was used until 2013 by the Unit...
[2 replies] Last: the sample is this I just didn't know how to... (by Boldjon)
I need a bit of help with some C++
Here is what I am supposed to do. Create a program that implements text based characters and inven...
[4 replies] Last: Here is my final code #include <iostream> #include <iomanip> #inclu... (by CrystalPlu)
C++ Sequence class error
When I try to run the program, I eventually get a message saying "assertion failed" so I figure ther...
[1 reply] : The assert that is triggered is on line 106, inside the advance() func... (by Peter87)
sum of fraction
I know to code for the sum of numbers but does anyone have a code to add fractions.
[4 replies] Last: Input a,b,c,d (however you want). (a/b) + (c/d) = (ad+bc)/(bd) Work ... (by lastchance)
Help with family tree program
Hi there, I'm still working on the same family tree program, but I'm having trouble with implementin...
[13 replies] Last: You copied the code properly and made some perfectly ok enhancements s... (by CPPAWhile)
Pages: 123456... 20
  Archived months: [dec2017]

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