Beginners - April 2016 (Page 11)

I think code is not ok
 
Program that displays numbers from 1 to 999 and then displays how many prime numbers are from 1 to 999. I am at beginners level so no complicated solutions. Th...
[no replies]
How to count the entries of array while taking them as an input from the user?
 
Hi! I have understand arrays a little bit. But the problem, I am dealing with requires to count the entries when they are entered by the user , which then defin...
[6 replies] Last: Yeah programming is Thinking. But it usually fails when you got exam n... (by sabbag learner)
Stock minimisation question
 
Hi, in this programming assignment I am required to find out the maximum profit (positive or negative) that can be earned during the week, given by a buyer. A p...
[2 replies] Last: int big_number = 1e99; We have something for that already that's a l... (by Moschops)
Wrong display Calculation
 
Sunshine Resort offers vacation packages that rent cottages and boats to use on local l
[1 reply] : Hi, Using the cpp.sh compiler with all 3 warning levels on: In func... (by TheIdeasMan)
Problem with function GETLINE
 
Write your question here. I am practicing inputing string from the keyboard. I use function getline to get them. However my code seems not working properly. ...
[2 replies] Last: Thank you very much! (by ivanov ivan ivanovich)
cout affects wrongly to char* variant
 
Write your question here. #include <iostream> #include <stdlib.h> #include <cstring> using namespace std; class CInteg { public: enum flag { Exa...
[1 reply] : If you create a local variable inside a function, when that function e... (by Moschops)
Help with error C2665
 
Can anyone help me I have an error on line 22. It says error C2665 no instance of overloaded function matches the argument list #include <iostream> #incl...
[3 replies] Last: Thanks that worked. I'm Still new to C++. (by Batman93)
My code does not divide well
 
When I write my code like this, it works: #include <iostream> using namespace std; int main() { int height, base; float ans; cout<...
[1 reply] : The 1 is an int. The 2 is an int. If both operands of the operator/ ar... (by keskiverto)
I need help understand a Queue data structure.
 
I've previous learned the strut push/pop, last in first out data structure but I'm struggling to wrap my head around a queue data structure. All the videos I fi...
[5 replies] Last: Think of it like this: A stack is like a stack of plates that need wa... (by jgg2002)
What is Double precision?
 
I am solving a problem that deals wit arrays. It states "The array should be capable of storing five double-precision numbers." Being new to arrays I have no Id...
[2 replies] Last: Thanks man ! (by sabbag learner)
Videoke program
 
Is anyone familiar of a videoke? If you are, then maybe there's no problem for that. I was actually asking for a help for a beginner like me to make such a c++ ...
[no replies]
by Dizi
Need help.. strcmp code
 
Hello, I am trying to compare two strings using the strcmp operator. The program is to prompt me if the word or number I typed in is a palindromes. Palindrom...
[4 replies] Last: Thanks for your help Peter! Really appreciated! (by Dizi)
input/output text files C++ need of saving
 
I dont know what i am doing wrong in this code because my answers on my output statement keep coming out wrong. In my input file I have each number a space away...
[2 replies] Last: Ok sweet, I thought my code was right and thankfully I only need to tu... (by asbsean)
Trying to compile and I get this:
 
Does anyone know how to fix this? I'm using visual studio express for desktop and working on the tree with user input project. >------ Build started: Pro...
[no replies]
HELP!!!
 
i want to be able to use the arrow keys on the keyboard to move characters. I don't know what code to use please help
[8 replies] Last: Aye, as you've already experienced; an awful lot of groundwork needs t... (by Moschops)
Date Validator
 
#include <iostream> #include <iomanip> #include <conio.h> using namespace std; void getDate(int& , int& , int& ); int ckDate (int, int, int); void dis...
[no replies]
by csnook
Any ideas? binary file reading.
 
I am trying to read a header binary file and output the contents of the file. I know what the output should look like and am getting a portion of the correct da...
[3 replies] Last: Nevermind I used this to shift it; fileheader.verCode = fileheader.ver... (by csnook)
Help With BlackJack Game
 
So we have to create a modified blackjack game with a minimum of the functions I have in the code (no leeway for those) If the users sum is > 21 they lose i...
[no replies]
Basic PDF reading and manipulation
 
I am a C++ beginner using Dev C++ to build a basic PDF analysis/modification program. The idea is to use user input to merge one PDF file over another to create...
[4 replies] Last: I keep getting errors while installing it. Is there an alternative way... (by primuspaul)
Help with Reading Memory?!
 
So I'm not very good with C++ yet as I am still learning the basics but I thought I would try to read process memory. For some reason I keep getting the followi...
[12 replies] Last: Thanks so much :D (by BinaryCode)
April 2016 Pages: 1... 910111213... 43
  Archived months: [mar2016] [may2016]

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