General C++ Programming (Page 8)

Console application that scrolls a text message following a sine curve
The program must be in the following order: It must allow the user to change the amplitude of the w...
[3 replies] Last: Yeah i can get through that solution. but in my program the user shoul... (by akashkannan8)
by smb15
Help with Search & sorting
Hello, I am needing some help with searching and sorting. We have to create a program that asks the ...
[1 reply] : so uhh.. did you finish this code? I also ran your code and you have t... (by TheGOAT)
Read Image into Array using C++
Hello everyone! I have been trying to program reading an image into an array, and to date, have a...
[6 replies] Last: Thanks for your input. I recognise that the header file is 54 bytes a... (by davidSpears)
by css416
Functions with Arrays (HELP PLEASE)
I'm having difficulty creating a function that adds all the positive numbers in an array and adding ...
[2 replies] Last: #include < iostream> const unsigned int NVALUES = 5; signed int va... (by Ericool)
cin doesn't work - skip to next cin
Hello, After one cycle of while-loop of the 2nd function (addItems) below is finished and I press...
[2 replies] Last: Thank you so much for your help. (by Deliberation)
Hi guys . i would like to show to you my code. i think its right but. 3 error showing up. the 3 erro...
[1 reply] : Move the seimicolons from the end of the function headers (below main(... (by coder777)
by BH11
Creating a matrix from a list of equations
Hello, I was wondering if its possible to create a c++ program where a set of 3 variables each have...
[3 replies] Last: Thanks for inputs, I'll use what you guys have said and research how t... (by BH11)
by Beju
Simple inheritance question
Hello all! I would like to ask for your opinion on possible solutions for my problem :) I have a...
[7 replies] Last: Thank you all for the suggestions! :) The "Base from Member" solution ... (by Beju)
by pep101
Priority on parameters using subclasses
Hello people, I'd like to make many child classes (say B, C, D, ... with a common parent A) respond...
[1 reply] : Cannot reproduce: #include <iostream> struct A { virtual void doSo... (by MiiNiPaa)
bad_alloc exception after call to function
void display(FlexArray f, ostream& out, int lower, int upper) // POST: display list of id and name ...
[2 replies] Last: std::copy(other.list, other.list + other.size, list) will copy the s... (by helios)
Project about timer with laps SOS 😭😭 beginner here
I have a project. The problem is make a timer. When the user hit enter key, the program will display...
[9 replies] Last: It's not about the intervals of the key press. its the elapsed time in... (by littlefrankeinstein)
by helios
Odd function resolution
Given: class A{ public: Foo foo() const; virtual void foo(Foo &) const = 0; }; class B : ...
[4 replies] Last: I see. Thanks. (by helios)
by Winsu
constructor from a string literal fails
I'm trying to create an custom array...but I'm having trouble with my constructor from a literal.....
[4 replies] Last: length() function doesn't include the null terminated character? No... (by cire)
Segmentation fault
Needed some help with a c++ program with segmentation fault. Unfortunately Can't post the code here....
[18 replies] Last: Ah well, sleep on it then ZZZZzzzzzz....... (by TheIdeasMan)
Impossible homework assignment, please help...
I know this is very long and I'm not asking anyone to do my homework for me but I'm having trouble g...
[4 replies] Last: Sorry for such a late reply but we got it! Thanks for your help, your... (by dakman96)
how do I subtract the ascii value of 'A' from a string array?
I am trying to perform a count of occurrence of the letters of various string arrays that are passed...
[3 replies] Last: ¿who did the ` IncrementLtrs()' function? That function already takes... (by ne555)
Audio over Ethernet
Hello. I just want to transmit a voice-quality audio stream from one PC(PC 1) to another(PC 2). Bu...
[1 reply] : I don't know much about these things, but a quick search came up with ... (by kbw)
Networking, sockets and cross compatability
So, I'm developing on a Linux machine but my stuff is going to be run on both Windows and Linux. I n...
[2 replies] Last: Thanks. (by RealGiganitris)
by sami01
How can I use class, constructors and destructors while drawing a circle?
How can I use class, constructors and destructors while drawing a circle? especially please tell me ...
[2 replies] Last: O sorry guys, I actually wanted to write "circle" instead of "graph" p... (by sami01)
Tower of Hanoi
Please Help me. I want to make a program to solve tower of hanoi. But not using recursion and binary...
[3 replies] Last: Search on "tower of hanoi non recursive algorithm" Yields: https://en... (by kbw)
Pages: 1... 678910... 32
  Archived months: [aug2015]

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