Beginners (Page 4)

lambda question
 
I am learning about lambdas and confused about a few things i am being taught. I have read that a la...
[11 replies] Last: Ah, you name your lambdas in those examples. I see a lot of unnamed o... (by jonnin)
Just ran into my first "Program Received signal SIGSEGV" error. Some thoughts ...
 
So, I am just minding my own buisness and trying to get some code to work when suddenly the debugger...
[10 replies] Last: they have seemingly random values consider yourself lucky. If it wou... (by leander g)
What Is The Main Difference Between Float And Double Data Types?
 
Write your question here. Hello, Nowadays I am learning Data types in Cpp, and a little bit confus...
[1 reply] : The memory size determines the precision that the numbers can represen... (by Ganado)
Print items in structure with quantity < 10
 
Hi, i'm stuck trying to iterate through a structure, what im trying to do is print to a file items w...
[4 replies] Last: If you still have problems, post your code. (by seeplus)
help for the following exercise
 
hi I started programming a few weeks ago and I need help in the following exercise Write a proced...
[3 replies] Last: I need help in the following exercise What help do you need? Can yo... (by seeplus)
by L67GS
Duration of audio files
 
I've been looking for a way to derive audio file duration in milliseconds for nearly two days to no ...
[5 replies] Last: Oh yeah I see the sledgehammer, I'm not against using ffmpeg so much a... (by L67GS)
Store text lines from a file into a char array
 
I'm trying to modify this function so it will read lines of text from the file that the user is prom...
[5 replies] Last: Exactly what I needed. Thanks seeplus! (by ejulien18)
C-string vector acts differently than std::string vector?
 
Please consider the following example code: #include <iostream> #include <vector> #include <string...
[17 replies] Last: It was just meant to highlight that _exec??() is used with VS rather t... (by seeplus)
can someone help me
 
(sample) size: 5 First number: 5 5*4*3*2*1* __5*4*3*2* ____5*4*3* ______5*4* ________5* (I typed wro...
[12 replies] Last: Thank you. (by ayanokoji)
associative container?
 
What actually is an associative container, what makes it one? Is it just if there is a key value pai...
[3 replies] Last: > Is it just if there is a key value pair? Often, key value pairs, bu... (by JLBorges)
Function that can accept different paramter types possible?
 
Hello, I am back with more weird questions ... Is it possible to create a function that has one p...
[8 replies] Last: I know that "overloading" isn't a bad thing ... I just meant that as a... (by leander g)
ROV that doesn't work properly
 
Good night from Spain. The first thing I would like to do is thank you for all the posts on this fo...
[1 reply] : Too big and too many bugs to attach here, I put the Github page, where... (by asesorplaza1)
by kmce
overloaded << issue
 
I have overloaded the operator << but I am getting the error binary '[': no operator found which tak...
[6 replies] Last: and to demonstrate exceptions: int main() { using std::cout; Sta... (by seeplus)
Overloaded + constructor
 
I am having an issue getting my overloaded + constructor to work. Here is the code: class Book...
[2 replies] Last: Yeah, just a few minutes after I posted, I aksed a friend of mine and ... (by agent max)
by Unapol
can't figure out why only last part of if-else statement is doing anything?
 
hi, im learning c++ and this is part of a project i'm doing. i cannot figure out why only the last p...
[5 replies] Last: good! Make sure you understand this, it is IMPORTANT. c++ compiler A... (by jonnin)
getline function issue inputting string AND integer
 
Hello, I am trying to take in user input using getline(), but I am having an issue with the function...
[3 replies] Last: Without using regex, consider: #include <sstream> #include <iostrea... (by seeplus)
Binary Matrix Inscribed Circle
 
Hello! I am trying to define a binary matrix 512x512 with an inscribed circle centered in [0,0]. ...
[4 replies] Last: SOLVED! for (m = 0; m < rows; m++) { for (n = 0; n < cols; n++) { ... (by DanielDeChamps)
The minimum position in vector of the number x
 
The program reads from the keyboard, on the first line, the natural number n. On the next line reads...
[3 replies] Last: Note that dutch's solution does optimize on assumption that both input... (by keskiverto)
read in text file, store as string/int/char
 
Can somebody tell me how read in a text file like this? I am using a combination of string, int, and...
[4 replies] Last: Hi Andy, I was initially using '%' to differentiate between the othe... (by FeedMeTacos)
by akeilo
Need help
 
This is the first part to my code and I was wondering what is wrong with my if statements. #incl...
[2 replies] Last: akeilo; @jonnin is correct, you need a semicolon after pretty much any... (by agent max)
Pages: 123456... 23
  Archived months: [dec2020]

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