Beginners (Page 13)

help with assignment
i have no idea how do i even form this program let alone make it. My assignment entries will close i...
[3 replies] Last: [See other post] (by seeplus)
Load multiple class objects from file OR save/load vector of class objects
Hi there Stuck again... I have a class for player characters and store all instance of this class ...
[12 replies] Last: [quote=seeplus]char usually, but could be wchar_t or other types for u... (by Peter87)
Dynamic table (like a 2d array, but with vectors): How to increment size (like push_back)?
Time appropriate greetings! For something that I am working on I need a dynamic table of objects....
[13 replies] Last: There are several different ways to iterate through a std::vector . T... (by Furry Guy)
set method c++
modify the set method so it can change the nbOfWagons and weightPerWagon public: FreightTrain...
[4 replies] Last: Frankly, the implementation of FreightTrainRoute::FreightTrainRoute(s... (by keskiverto)
derivate classs in c++
modify the implicit constructor of freighttrainroute it will initialize the nbOgWagons with 0, the ...
[3 replies] Last: Consider: #define _CRT_SECURE_NO_WARNINGS #include <string> #inclu... (by seeplus)
Fireworks in C++
SO I need to code silver swirling dragon fireworks in C++, how do I do it? what will I need?
[5 replies] Last: You can draw graphics using OpenGL. My example shows how to draw a rot... (by Observer)
by Eclypz
Stuck with sorting struct array
Hi i'm new here and a total newbie to C++, i was tasked with creating a program that gives the user ...
[7 replies] Last: <algorithm> sort has more capabilities than qsort. https://www.cpluspl... (by salem c)
Vector Not Found Error! (sorting txt files)
I've spent the last 12 hours writing a code that is supposed to take two text files, one containing ...
[6 replies] Last: I managed to get it going using you all as a reference. Thank you all ... (by Struglling84)
Populating matrix diagonally from cordinates
Hello, here is the example of inputs and outputs. input: 6 10 R .......... .......... ...
[6 replies] Last: Here's an idea that might help you to think about directions just bein... (by salem c)
error in vs 2019 ??
any idea how I can fix this error please ?? << S...
[no replies]
Calculate the registration fee
Okay, so I'm trying to write a code that calculates the registration fee of different vehicles based...
[6 replies] Last: Hello kmcfall, Thank you for the input file. Very helpful. As mentio... (by Handy Andy)
Cmake and linked shared objects
Hello, I would like to ask about cmake and it's lining of shared objects. I compiled and installed '...
[1 reply] : > cd "/home/administrator The first thing I would suggest you do is st... (by salem c)
How to deallocate memory for different vector collections
So I have a few vector collections below that are in different files and I'm having trouble figuring...
[2 replies] Last: to get rid of one at a time: (by jonnin)
Need Help Sorting Two Different "txt" Files + Display
I was tasked with writing a program that took two texts, one with full names and another with phone ...
[1 reply] : Then post small samples of the text files into a post. Edit: Have y... (by jlb)
Need to figure out how to write this program
I need help writing a program that does this. I am new to this and I do not know how to start this o...
[5 replies] Last: They're a bit thin on the ground! #include <iostream> //const int MA... (by lastchance)
Converting a multiple 8-bit value to an unsigned char*
I am trying to write code for WASAPI that writes audio data to a buffer. Here is the buffer to be w...
[5 replies] Last: yes, I was typing too fast across the board I suppose. (by jonnin)
Compare two lines of arrays and return the elements that are in the first, but not the second
So i have 2 lines of arrays. First line is M, second line is N. On the first line the user inputs 2 ...
[3 replies] Last: All i want is to display what elements of N are not contained in m ... (by seeplus)
compile / runtime / casting
Hello, This may seem like a stupid question but I just want to make sure I understand. I am learning...
[2 replies] Last: > but the dynamic cast will compile even if what I am casting is not p... (by JLBorges)
Explain linear regression code
This code is supposed to generate predictions using linear regression. Can someone explain what each...
[1 reply] : throw that away. Its not useful. consider a simpler example: https... (by jonnin)
Question for my code :)
Hello all, I would like to ask a question regarding a coding exercise. I have an exercise where I h...
[13 replies] Last: Hello geovoulg, You are welcome. After working with the code I not o... (by Handy Andy)
Pages: 1... 1112131415... 18
  Archived months: [nov2020]

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