Beginners (Page 15)

deque push_front, how it actually works?
Hi, I am learning about deques and their operations, and on push_front() and I am pretty sure I know...
[2 replies] Last: While not a complete answer directly, more generally it should be said... (by Niccolo)
by alexas
find the center of the rotated cube c++/glm
I have a cube and I need to find its center after the rotation has been applied. So as you can see, ...
[3 replies] Last: Also posted here: (by Ganado)
Number to Letter
Hello, How do you write a program that prints out the alphabet out to the "nth" letter? For exam...
[3 replies] Last: #include <iostream> using namespace std; int main() { int n; ... (by lastchance)
Linked List
Working on inserting a node at the front of linked list. First time I ran code worked perfect but n...
[4 replies] Last: ah its usually something that basic that i overlook. Thanks Seeplus fo... (by robjs111)
VS 2019 C6385, array, fstream
Hello World! I´ve got this warning (C6385, Reading of invalid data from "sammlung": the readable s...
[5 replies] Last: Hello xCriminaL, To start with it is always a good idea to provide co... (by Handy Andy)
by akeilo
Need help
How would I rearrange this to get constant variables. I need three of them. I am using this to calcu...
[5 replies] Last: I interpreted this as using symbolic constants in the place of numeric... (by booradley60)
R/C/C++ library for N-dimensional arrays
I'm looking for a library that is either in R or easily wrappable with R, that can do the following ...
[2 replies] Last: Also a edit post spammer. (by Furry Guy)
sequential access / sequential containers?
I have been learning containers. Now learning sequenial, and it says " The data structure they imple...
[8 replies] Last: fair enough, but you can still always do random access in front to bac... (by jonnin)
Exception error
Hello everyone, I am getting the following exception error in visual studio Unhandled exceptio...
[2 replies] Last: If the debugger isn't sufficient by itself, you may want to try Visual... (by Niccolo)
I have issus with this code: How can i make it to display this condition. It has to be with recur...
[1 reply] : #include <iostream> using namespace std; void rec( int n, int r = 1 ... (by lastchance)
Variables in while loops
So I'm doing an assignment where I need to take a partID and quantity from a text file and put it in...
[6 replies] Last: @domweng: * Refactoring code to functions can simplify * What if part ... (by keskiverto)
Use static in function - C
Hello, Why we should use "static" char of array in function? Thanks #include <stdio.h> ...
[2 replies] Last: Note that you don't need () around the returned value. Return is a sta... (by seeplus)
by Ch1156
invalid min and max arguments for uniform_int
Im having some trouble and im unsure whats going on. So in my code i have attacks that an enemy can ...
[4 replies] Last: I got it working, I had my enemy vector set before i set the attacks s... (by Ch1156)
by L67GS
With maneuvering the filesystem relative to the working directory to enter various sub-directories I...
[5 replies] Last: compile string for future noobs like me learning to use std::filesyste... (by L67GS)
using count() question (1,2)
I'm trying to use the count() to see if 2(or more) elements from row are in row . If false, then ...
[27 replies] Last: Here are the timing results for this method #1 of count_intersection: ... (by Brian845)
by bstroe
Maximum submatrix
We have an A matrix with N rows and M columns. Find the maximum sum submatrix in the matrix. The ...
[1 reply] : I can't "repair" your code because I don't have a clue what you are do... (by lastchance)
loop a output for certain amout of times
I'm trying to make the code in a way so that the output "its a Yes or no question" will come out lik...
[8 replies] Last: thanks guys (by newbieguy105)
Expected primary-expression before '(' token
Hey, I have been trying to compile my c++ code in OpenFoam and for some reason I keep getting expect...
[18 replies] Last: Actually I am using a modified version so the constructors were all wr... (by Thugfreak)
program ends unexpectedly
This is my code. Everytime I want to run for the 2nd or 3rd time, before i even get a chance to type...
[5 replies] Last: Hello coder0101. Did a little work on your code and came up with this... (by Handy Andy)
How to check if input is valid, if not reask question.
I understand (!cin) but I need to check it for multiple user input variables, how do I do this? A...
[4 replies] Last: > I understand (!cin) but I need to check it for multiple user input v... (by ne555)
Pages: 1... 131415161718
  Archived months: [feb2021]

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