General C++ Programming - December 2019 (Page 9)

Object Oriented - Correct Design/Layout - Questions
 
Hi, I’m still very new to C++ but want to keep my coding style to OOP. I want to practice perfect ...
[7 replies] Last: Thank you dutch_cap for that comment. (by againtry)
How to simulate a Particle Motion 1D Acelerated Movement??
 
Hello. I am Enrique. I am studying at my university a first course of 1D Particle Motion Acelerated ...
[1 reply] : const double acceleration = 1; // m/s^2 const double timestep = 1e-3... (by helios)
How do I change a root after a double rotation?
 
I am writing a program where I am attempting to perform a right-left double rotation on a binary sea...
[2 replies] Last: Thank you so much! Making k2->right and k3->left point to nullptr fixe... (by vaderboi)
Struct
 
College Student Bibi is a lecturer who manages a student database at a university. Before Bibi exis...
[4 replies] Last: 1. Use code tags when you post code. 2. Use -Wall (or equivalent) whe... (by salem c)
by jebek9
remove 0 from linked list
 
Hello i want to delete 0 from the linked list
[3 replies] Last: reconnect the pointers around the items. your delete should maybe be b... (by jonnin)
by volang
Stop at the last char in array
 
Hello. void str_search(char * haystack, char * haystack_end) { cout << &haystack + 3 << "\r\...
[10 replies] Last: Thanks buddy (by volang)
C++ best way to launch another process?
 
The requirement is: I have to update a XML file(I did it using xerces). Then want to run another p...
[2 replies] Last: Thank you coder777 for the reply. Don't want to use the boost lib. I... (by akash16)
Draw a Diagonal Lines in the image
 
Hello. I have an image and wants to draw multiple diagonal lines in the image. I have the height and...
[1 reply] : How are you updating the image? Are you changing individual pixel valu... (by Repeater)
by Ric
Librarian's Assistant Program Help
 
Hi, I need some help with a program. The software needs to build the software to manage the libra...
[6 replies] Last: What kind of help do you need? (by coder777)
to calculate addition more than 30 digits
 
how to calculate addition of two very large positive integers. The size of input integer is lar...
[2 replies] Last: Store/convert the numbers as two separate integer arrays (<vector>'s o... (by againtry)
Assignment-Stream&Vector
 
I am taking a C++ intro class and we are currently learning stream, vectors and we have learned clas...
[1 reply] : Create two strings, filename plain and filename binary. string fil... (by Repeater)
HW Assignment
 
Can anyone help with this type of assignment? The only library I can use is <iostream>. For this as...
[16 replies] Last: Did you mean this, @jonnin? similar. I was saying only one bigger lo... (by jonnin)
Im Stuck
 
Need help with breaking up the functions into 4 separate <.h> files. This is what I have so far a...
[2 replies] Last: int enterRecords(Customer person) { char again; fstream records("r... (by W1743625)
How do i loop through a c++ map<string, vector<string>> until i reach a certain string vector value?
 
Hello, everyone. I've been working on this project for the last 2 weeks, and i'm very close to finis...
[9 replies] Last: I think the professor is running them all on the same compiler (by mildlyamused)
Please help with Errors in Program create 10 integer randomly then print average and standard deviation
 
#include <iostream> #include <cstdlib> #include <ctime> #include <cmath> using namespace...
[4 replies] Last: Thank you, It works well with my rand() : void fillArray(int array , i... (by dienbaquang2002)
constant length string from random length string
 
I have a BigInteger class. It kérős the number in a string and for RSA encryption i need these num...
[7 replies] Last: Feel free to ask, if still something ins unclear to you. (by nuderobmonkey)
More addition
 
Jojo, Lili, and Bibi is playing game about addition. Of course, addition is not a big problem for th...
[4 replies] Last: thanks! (by Alsya11)
by xunsus
trying to make a pokemon like in c++
 
So i am still learning c++ (by myself) and i thought that making something like this might help me m...
[6 replies] Last: So i changed up my code a bit hope it's a little cleaner now,managed t... (by xunsus)
by auzar
defined function
 
mind to explain this program for me? #include <iostream> using namespace std; static int i ...
[2 replies] Last: ^^ the program is likely a nonsense program to help you understand var... (by jonnin)
undefined reference/unresolved external symbol error
 
i have been stuck with this error for a while i tried lots of things and nothing worked yet any hel...
[8 replies] Last: can u tell me what is the difference between both of them ? There i... (by againtry)
December 2019 Pages: 1... 78910
  Archived months: [nov2019] [jan2020]

This is an archived page. To post a new message, go to the current page.