Beginners - June 2016 (Page 20)

by ebto
Help with offset function for a calendar program
 
Need help with calendar program! The problem I think is in the offset function. This calendar is sup...
[3 replies] Last: You should be getting compile warnings that you need to fix! From the... (by jlb)
by Bivs17
Blank output screen
 
I have to write a program (description in code comments). I've debugged it but the output screen is...
[6 replies] Last: The first two parameters are passed by reference? Of course, my ba... (by TheIdeasMan)
Buffered cout and flush confusion
 
I was reading up on std::flush and stumbled upon the following: "By default, std::cout is buffered,...
[4 replies] Last: Thank you all for the detailed explanations - especially your demo Cub... (by DrZoidberg)
a function that returns vector
 
I'd like to write a function which returns a vector contains integer values #include <iostream...
[5 replies] Last: Thanks @jlb it works after getting rid of pointers . #include <cstri... (by neuronphysics)
by olaf94
ofstream - question
 
Hey guys, I#m currently at a roblem, that I can' overcome myself. I want to write some data into...
[1 reply] : FOR CREATING FILES IN DIFFERENT FOLDERS In order to achieve this, you'... (by taha ilyas)
c++ windows.h library and handles
 
for the past few hours i have been searching for at least the briefest explanation on handles and co...
[5 replies] Last: thanks man you helped me a lot ! i'm spending about 5-6 hours a day le... (by globaltourist)
[please help] converting text to ascii
 
I have to write console program where it changes any text to ASCII. The text has to be written to ar...
[3 replies] Last: Try it out with different sizes. Try 256. If you look up 'arrays' in t... (by closed account 48T7M4Gy)
by crepe6
why does this program terminate?
 
i'm not sure why this function terminates after selecting an option? example 'e' to encipher. I wan...
[8 replies] Last: yeah I think that worked. thanks. (by crepe6)
code to solve for variables
 
Hey, So I was thinking in math class about an easier way to to solve equations like 4=2/9x etc. I...
[2 replies] Last: If you want to work with any arithmetic expression then make them as s... (by Vabi)
by ebto
Help with an array syntax
 
So my question here is that this program is meant to ask for ten grades. Once you input those it sho...
[1 reply] : basically your averaageGrades function has a minor flawed logic its... (by shadder)
Problems with integers
 
This is going to sound stupid since the answer is probably in front of my eyes, but I'm currently ma...
[2 replies] Last: #include <iostream> #include <string> int main() { int menu_choi... (by JLBorges)
by ryhne
digit after decimal point!
 
I need to use digits after decimal point for my next calculations but I don't know how! this is wha...
[6 replies] Last: thank you everyone! it works now :) abstand is actually the same wor... (by ryhne)
Greatest common factor using euclid's algorithm
 
My task is to write a profram that finds the gcf of 2 integers. Im supposed to use a Euclidian algor...
[4 replies] Last: Here is a an amazingly clear video that explains Euclids algorithm: ht... (by Arslan7041)
by wolfv
Initializer list question.
 
I am trying to define a Composite class. A component needs a constructor parameter. How to initiali...
[2 replies] Last: Thanks TheIdeasMan! That worked. (by wolfv)
Int from file to file
 
Why this is not working? //... void variables() { //... int f1, f2; string a; //... } ...
[3 replies] Last: to make a global variable, declare it outside of any function(remove v... (by jdm1891)
by fntASY
How do I name a basic .exe console?
 
Hello everyone. I am VERY new to C++. I want to make 2d games, but I want to learn all the basics...
[3 replies] Last: Just got it! For anyone who also has this problem: You have to includ... (by fntASY)
by Axrol
Can someone help me with random chooser project
 
I am trying to do a simple project. The program should first randomly choose a car for you. e.g: La...
[9 replies] Last: To give you an idea (C++ 11 or later): #include <iostream> #include ... (by chicofeo)
Please help c++ beginner
 
Can someone please briefly explain why the output is 55 #include <iostream> using namespace ...
[2 replies] Last: Hi, You can figure out this yourself :+) Just put a cout that print... (by TheIdeasMan)
by h4ever
how to get value of pixel from image?
 
From one tutorial I have taken this code. I added the second block of loops and I have error on line...
[no replies]
compiler does not recognize ofstream
 
I'm currently working on a program to create special lists of people which should be written into f...
[5 replies] Last: Thank you very much, now it's working. You really saved my day. (by Kavanga)
June 2016 Pages: 1... 1819202122... 25
  Archived months: [may2016] [jul2016]

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