Beginners (Page 2)

C++ Sea Battle Game
 
So I've been handed a project with skeleton code in order to make a C++ battleship game but I can't ...
[1 reply] : Please use code tags. [co de] [/ code] around your code. Edit yo... (by Ganado)
std::min function help
 
I have a simple question really I am trying to find the minimum between two values and use it as ...
[7 replies] Last: [quote=Ganado]can you explain what a diffusion-limited timestep is? ... (by lastchance)
Outputting addresses instead of dereferenced value
 
Hi, I'm just trying to write something simple up that will print out a polynomial. Issue I'm having...
[4 replies] Last: Why is Poly derived from Term? As a base to start from, consider: ... (by seeplus)
Not in FIle
 
I am following along with a tutorial that is creating a bitmap file and writing fractal images to it...
[5 replies] Last: Right, so your headers do seem to be initialised fully then. Is m_w... (by salem c)
What can i do with C++
 
Hi, I would like to start with a C ++ course, but first I would like to know: - what kind of app...
[4 replies] Last: Hey, So, the uses of C++ is unlimited and a few of them are as follo... (by Karthik Ram)
Right-center a string within another string?
 
Is there a way so that between two brackets that are a set distance apart, a string of varying lengt...
[1 reply] : You must edit your post and put the formatted text inside of [ output... (by Ganado)
Help with math functions
 
Background info: for every win is 5 points, every tie is 2 points, every loss is 0 points. i am tr...
[5 replies] Last: Hello ellgoose, After guessing at the missing code and after making t... (by Handy Andy)
stl algorithms and collections in workplace?
 
Hello, I am currently learning pieces of the stl, but when I watch videos about coding interviews et...
[7 replies] Last: Every reference I can find do say the standard itself doesn't use the ... (by Furry Guy)
Finding data in an input file
 
Hello! I am working on a program that asks the user to type in a zip code and the program will go th...
[19 replies] Last: Hello iUseCPlusPlus, Give this a try on "repl.it": #include <iostre... (by Handy Andy)
Deleting Content from a file
 
Hi, I am attempting to write a program will prompt a user to input there name and address. The prog...
[4 replies] Last: Re-factoring the code into functions etc, perhaps something like: #... (by seeplus)
Small comma issue in output
 
Hello, I'm having a minor issue and it's bugging me. I'm supposed to ask the user for 10 numbers and...
[4 replies] Last: #include <iostream> #include <valarray> using namespace std; templat... (by lastchance)
Reading a text file and using delimiters
 
I have a text file which has the following format: "coffee Black coffee; Cappuccino; Latte; ...
[4 replies] Last: [quote=Ellen2001]my problem is that the struct 'Item' has to be a clas... (by lastchance)
Class A members depends on Class B members: how to?
 
Hello everyone, i spot here from time to time when i come back to c++ development. I have a questi...
[9 replies] Last: This is the GameObject class: protected: virtual ~GameObject() {} I... (by mbozzi)
by Profio
Countdown project help no getting an output
 
Hello everyone, Sorry if this is a really beginner question but I am struggling to figure out where...
[3 replies] Last: Hello Profio, To the right of your code box is a gear icon with Edit... (by Handy Andy)
by alexas
Passing by reference in the parallel
 
I have a simple function which works well and pass the value by reference called poli_intersecting_r...
[4 replies] Last: Hmmm you are right, it does not work. But why? That kind of structure ... (by alexas)
Subscript Operator Overloading
 
Hello I need to build a subscript operator for my array of unsigned integers. I was wondering if th...
[2 replies] Last: Thank you! (by limonconsal)
Printing array and adding
 
Hello, I'm having trouble with my array assignment. The instructions are Create a integer type two-d...
[10 replies] Last: Sorry for the late reply but thank you for teaching me about uniform i... (by av16352)
Need help with a "general" if statement c++
 
okay, so basically i want to make something like this: Say i have an if statement with a string like...
[2 replies] Last: Prefix and suffix of string are relatively easy with substr(): http://... (by keskiverto)
Store backroom
 
Hello guys i am trying to build a "grocery backroom" here is where i want the user to enter an item ...
[5 replies] Last: Hello rezy3312, When I got the program to run I tried this: ------... (by Handy Andy)
list
 
help me understand how to add, multiply or make any other simple math. operations with lists STL. el...
[3 replies] Last: Or possibly like this: #include <list> #include <iostream> #include... (by seeplus)
Pages: 1234... 17
  Archived months: [feb2021]

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