General C++ Programming (Page 11)

Need Help With a Brute Search
 
I need help with just getting something to display but I keep getting an error for comparison betwee...
[3 replies] Last: && board > board[j-1][k-1] Do you notice any differences between th... (by jlb)
by X2Star
Raycasting Engine
 
Soooooooooooooooooooooooooooooooooooooooooooooooooo... I want to make a 3D game HOWEVER i am not ve...
[4 replies] Last: Thanks for the advice (by X2Star)
A management system program - Difficulty in Data Reading and Data Saving
 
I am creating a Library Management System in which I am required to make four different type of user...
[1 reply] : You haven't shown the addStudent() method, but I suspect it does NOT a... (by dhayden)
GCC 9.1
 
gcc-announce: C++17 support is no longer marked experimental. ... and the C++ standard library sup...
[8 replies] Last: Thanks, JLBorges, for the update. (by Furry Guy)
Need recursion??
 
Most of the time, this function (below) works to find a word in a Boggle type grid. The times it doe...
[5 replies] Last: @dhayden It would probably be faster to check if the word is in the ... (by whitenite1)
void functions
 
How do I code this void function and then return to the main function? When I tried doing void...
[10 replies] Last: I figured it out. Thanks for your help, people! (by gongong)
Array C++
 
I am trying to "display the contetns of the array one character at a time using a simple loop" Now t...
[1 reply] : have a capacity that the number given to it is the bytes in total. ... (by jonnin)
Nested std::initializer list problem
 
I wrote this code here: Matrix::Matrix(std::initializer_list<std::initializer_list<int>> matrix) ...
[9 replies] Last: Is there other methods? (by zaahm18)
When using recursion, is it possible to remove unneeded function calls from the stack?
 
When a function is called, the call will be pushed on to the stack along with any member variables. ...
[4 replies] Last: All major compilers perform TCO. They are pretty good at it, too. How... (by Duthomhas)
by c1010
Problem: Analysis of Financial Time Series: USD/EGP Exchange Price
 
The daily USD/EGP exchange prices are available over the period from December 1, 2016 to April 21, 2...
[5 replies] Last: You might get more interest by using [c ode] tags around your code. ... (by salem c)
Need Preprocessor macro
 
Hello, who can help me. I need one preprocessor macro. Input: Name result: Modulename_Name #defi...
[5 replies] Last: ...and in C++17, you should be using filesystem::path for this kind of... (by Duthomhas)
2D Array Puzzle
 
Good evening, I am working on my final project for my C++ class and have run into a snag with my pr...
[5 replies] Last: Lines 23, 42, & 63: You've defined scores 3 times with 2 different t... (by dhayden)
Code applies wrong value in certain situations
 
I have a code section that was updated to write to a single bit in a file a flag of 1 or 0. A 1 = sp...
[5 replies] Last: A 0 speed value is a valid value and seems to be part of the cause he... (by dhayden)
Poker StraightFlush and FourofaKind
 
#include <iostream> #include <cstdlib> #include <ctime> #include <vector> using namespace std; s...
[10 replies] Last: You don't need to sort to check for a flush. Just check if all cards h... (by dhayden)
Sub-Namespaces for organizing features: Yes or No?
 
I've been working on a personal library called J118 for a while now, and it's starting to gain in si...
[9 replies] Last: Documenting dependencies. That is something I hadn't considered. Tha... (by Furry Guy)
Help with HashMap / typename declarations
 
I am working on a HashMap to learn C++ and I am using iterators and const_iterator classes to go thr...
[1 reply] : The compiler doesn't know that std::list<std::pair<key_type, mapped_t... (by Peter87)
Unary Opeartions Inside Ternary Operator
 
Hi Guys , As per the operator precedence table, unary operators have a higher precedence over tern...
[6 replies] Last: Thanks everybody for your explanations,I got it . ne555 thx for usi... (by NiharRNanda)
by slei
Working with ptr to items in containers, thoughts?
 
I recently see my self often trying to take pointers from non dynamic allocated objects from smaller...
[5 replies] Last: By reading it, this would mean it is actually safe, and wouldn't inva... (by mbozzi)
Matrix and vector multiplication in different classes
 
I want to calculate the matrix multiplication with a matrix and a vector. the matrix and vector hav...
[4 replies] Last: The real problem is the manipulation of matrix and vector in vector cl... (by zaahm18)
Comparing 2 literal strings
 
I saw a member asking about a game like 'Boggle', and thought that sounded like a nice project to wr...
[4 replies] Last: @JLBorges Thank you for your answer. I did forget to put in the '== 0... (by whitenite1)
Pages: 1... 9101112
  Archived months: [apr2019]

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