Beginners - December 2017 (Page 5)

Adding odd and even numbers
Hi guys. Ive tried several ways of doing this program, taking 4 numbers, then adding the even togeth...
[4 replies] Last: Thanks a lot, I'm starting to have my normal day thinking being preced... (by danpbrown1973)
how would you store string in the object
Does anybody knows how to store the received message ( 'string' )to object? ErrorMessage err...
[3 replies] Last: To put what's been said another way consider the following; std::s... (by Joe C)
by Daim
Noob need help
l just want to know how "GetYN" function is working like in "GetYN" function i declare that the "ch"...
[2 replies] Last: Hello Daim, Welcome to the forum and thank you for using code tags. ... (by Handy Andy)
how to use <graphics.h> header file in dev cpp?
i got sample snake game code from an open source and it starts with the <graphics.h> header file. th...
[2 replies] Last: You need SDL_bgi . (by Duthomhas)
by Bopaki
I do not getting the output that I expect on my pogram
When I compile and run my program I expect 6 to be written to the output file, but I get 10757710 w...
[4 replies] Last: #include <fstream> int main() { const char infile = "file.dat" ... (by JLBorges)
if-else error
I am having problem with this statement please help.thanks for your time #include <iostre...
[7 replies] Last: thanks alot jonnin it was very helpful. (by salmanilyas)
creating an object in dynamic memory
Hello, i am unfamiliar with c++ and I was wondering how you could make helper function to create an ...
[3 replies] Last: JLBorges is demonstrating to you how you would accomplish this using s... (by Uk Marine)
return value doesnt match the function
I am getting an error saying return value does not match the function type at the return sku part. A...
[2 replies] Last: The name of the function sku in the inner scope hides the name of th... (by JLBorges)
bar graph
Create a program that displays movie ratings on a bar chart, similar to the one shown in figure 8-28...
[4 replies] Last: thank you. (by liz Lopez)
Why is my editSquare function not changing the value in the square?
Hi. I'm working on a project that's supposed to allow the user to play Sudoku. I believe I have most...
[4 replies] Last: Hi. I'll do this, but here's why I think it's not working. I'm suppose... (by Living4God1991)
Increment/decrement operator Problem
I need help with this increment statement: expected answer was 39 & 13 BUT i get 37 & 13 ...
[8 replies] Last: Ok thanks for your time sir really appreciate it. (by salmanilyas)
what is the use of :: in c++?
what is the use of :: in c++?
[1 reply] : "::" is the scope resolution operator, and it is used to define scope ... (by bheadmaster)
by hoogo
Game project recommendations.
Hey people! So I've had an idea for a game for a while now, while I'm learning C++. I think I can g...
[11 replies] Last: I thought of making the tutorial of the game first, implementing the ... (by MikeyBoy)
Beyond the tutorials & pulling data from webpages
Hey guys. So, I'm a noob. I just finished all of the tutorials, and I'm wanting to get started on my...
[4 replies] Last: Do download a file you can use URLDownloadToFile - no need for any lib... (by Thomas1965)
I will learn programming.
Hello, I will like to be good at programming. So I will ask about how to start. I have never used p...
[5 replies] Last: Go look at Bucky's videos: Pick a... (by Nexius)
please help me. i have a presentation tomorrow
#include <iostream> using namespace std; void display(); int fabricNum; //declared variabl...
[7 replies] Last: Oh dear, this is gold haha. How tempting is it to answer every post wi... (by hoogo)
by Sh0es
Is my constructor wrong?
I'm trying to make a working vector-type object as a personal exercise in data structures. I have th...
[7 replies] Last: AList<int> arr; arr = AList<int>() So here you have an object of t... (by Repeater)
by leorio
Strictly Increasing Sequence of Integers
Hey, guys. This is a problem on CodeFights that I'm trying to solve. Given a sequence of integers as...
[11 replies] Last: Yeah, I should have tested against more values but at the time of writ... (by rabster)
Binning an array of data.
Hi, I have an 1 dimensional array of values. I did plot a histogram of the data in python (using t...
[2 replies] Last: since you are using a vector you can actually do most of the work here... (by jonnin)
December 2017 Pages: 1... 34567... 23
  Archived months: [nov2017]

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