Beginners (Page 15)

First 2-D Array (1,2,3)
 
Hello again, I have another program which introduced our class to 2D array's. Our book has very litt...
[40 replies] Last: Andy, I have made the corrections that you have suggested. From my p... (by CodeNovice01)
C++ Display Function in a Class for Outputting Private Data to a CLL
 
I'm having some issues getting a class to output some information, when called from another class. I...
[1 reply] : On lines 134 and 135 above, you are doing this: name = name; no... (by dutch)
use defed class + atomicity
 
Ok, so say I have a class and I want it to be thread safe. From what I can tell through my minimal k...
[7 replies] Last: Mostly I think I get it now, though I might have started overthinking ... (by highwayman)
Shortening Code
 
What can I do to simplify this notice that i'm a novice #include <iostream> #include <ve...
[2 replies] Last: thanks (by precausion3)
by hcool3
Student Report Card
 
I need some help with a student report card program for school. I am just a beginner and it is prese...
[4 replies] Last: Hello hcool3, Create a program that will read an input file So w... (by Handy Andy)
Using C++ to transpose a song to a different key?
 
I want to make a program that takes a music file (mp3 or similar format) as input and transposes it ...
[3 replies] Last: In addition to the already difficult task of decoding the mp3 file its... (by Ganado)
How can I set a triggering time to multiple functions?
 
I am a beginner in C++. Let's say I have 4 functions (func1(), func2(), func3() & func4()). And let'...
[3 replies] Last: #include <iostream> #include <atomic> #include <chrono> #include <thr... (by JLBorges)
Styiling?
 
Write your question here. #include <iostream> #include <vector> #include <fstream> #incl...
[1 reply] : What is your question? If you have the same question as in your other... (by dhayden)
Styling?
 
Write your question here. /* Devolver un vector de enteros con aquellos que son menor que el ...
[1 reply] : What is your question? (by dhayden)
How can i create schedule builder
 
Hey I am new to programming and as a college project I want to build schedule maker. I don't know ho...
[2 replies] Last: Thanks I'll try this (by hanumaaan)
Clean up code
 
Basically what the title says. What can I do to simplify this (cut it down to only the necessary par...
[2 replies] Last: #include <iostream> #include <ctime> #include <cstdlib> using namespa... (by lastchance)
shifting elements in an array
 
Hi everyone, I know this is a common question, but I've gone through all of the related posts that...
[9 replies] Last: #include <iostream> using namespace std; const int ARRAY_CAP = 10; ... (by lastchance)
Extract particular loop number from a loop
 
In my code, a loop is occurring 25 times, where the variable has been assigned as part. (example has...
[3 replies] Last: condition1 && condition2 is the same thing as "if cond1 and cond2 are ... (by highwayman)
by vysero
Include's
 
This is just a general "best practices" question. Let's say header file X has an include Y but heade...
[2 replies] Last: Oh yes, of course, that makes sense thank you. (by vysero)
passing a function a non decided amount of arguments/parameters
 
Hi there, I am wanting to have a function that i call from main that i want to pass a certain amount...
[5 replies] Last: @jonin we must have replied at the same time... lol this isn't weird!... (by markyrocks)
How to write destructor ( unique_ptr<T>).
 
I am working on a custom container class. My main method runs correctly. Iterating the contents and ...
[7 replies] Last: UPDATE : The original error - HEAP CORRUPTION DETECTED: before Nor... (by goozeberry)
Help with a Loop
 
Hello, I'm currently making a program that reads off a file and prints a list of movies playing with...
[4 replies] Last: Hi, I've implemented what you've suggested and I see what you mean no... (by Beararms)
Erase vector items exercise
 
Hi everyone. I am a student learning C++. I have a the following assignment that I can't get to comp...
[5 replies] Last: lucretia borgese reports again from the nunnery fatuaosa (by againtry)
Function not returning bool value
 
Given a list of numbers and a number k, return whether any two numbers from the list add up to k. ...
[3 replies] Last: Thank you so much guys! (by Vijay0753)
Add element to Custom STL Container Class
 
I am building a RingBuffer Container and I struggling with how I should be using pointers to interac...
[6 replies] Last: ┬┐how do you distinguish between a full buffer and an empty buffer? ... (by ne555)
Pages: 1... 1314151617... 24
  Archived months: [dec2019]

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