Beginners - April 2021 (Page 9)

Problem of scope of variables
 
Hi, I'm testing on a super simple code. However, I can't understand why isn't the output as expect...
[2 replies] Last: Right, got it! Thanks a lot:) (by calvinfornia)
How to Display Image in C++
 
Hi! I'm trying to write a function in C++ to show an image on the screen. How could I do that? I hav...
[1 reply] : Which OS are you using? Which compiler / IDE are you using? Do you wa... (by salem c)
How to print out array in all caps
 
I'm working on a project for fun and was trying to figure out how do I capitalize whatever the user ...
[7 replies] Last: seeplus already showed you, you need some sort of helper function to c... (by Ganado)
Counting data input file
 
I am working on a program that has an input file containing a students last name, first name, and gr...
[2 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <s... (by lastchance)
dylib and how to use it
 
I want to use an external library I downloaded online. In the downloaded folder I have the following...
[8 replies] Last: Ah, ok. Well that's good! (by JRManx)
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)
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)
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 deleted account xyzzy)
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)
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)
Dynamic Array Class and Functions
 
Hello! I'm doing a Dynamic Array class in which I have to do some statistical function to do some ca...
[12 replies] Last: No problem. Hope it all worked out! (by MikeyBoy)
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 panconcafe)
April 2021 Pages: 1... 789101112
  Archived months: [mar2021] [may2021]

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