Beginners - December 2015 (Page 32)

Error 2019
 
The problem is that I get error 2019, but I don't know what's wrong. I searched about it and I found...
[8 replies] Last: Then in your first post datafloat should probably be a component_t typ... (by jlb)
Using Structured Array to create card deck
 
Okay, so I am new to C++ at Uni, We've been set an assignment to make a simple blackjack game. I am ...
[no replies]
Output buffer
 
what is an output buffer, please be detailed in your answers, I seriously need to understand this. t...
[1 reply] : If the buffer in question is the stream buffer tutorial: http://www.mr... (by JLBorges)
by Gather
Generate a list of random numbers
 
Hello everyone. I am having some issues with my homework assigment. they are asking me to generate a...
[4 replies] Last: When posting code, please use code tags. Highlight the code and click ... (by dhayden)
filtering duplicate lines
 
i need to filter duplicate lines from a text. it should store input lines in a vector and call a fun...
[3 replies] Last: Ok, you'd need to post the whole of the code in order for anyone to se... (by Chervil)
Designing a chess program
 
My aim is to create a program (backend only) to allow a game of chess to be played.It'll determine w...
[no replies]
handle recursion for 'subseting'
 
The question goes like this: build the recursive function bool isEven(int a, int b) that figures out...
[no replies]
If Else statement understanding
 
Hi I would like to know why the following code will give an output of 78.65. I know that the conditi...
[15 replies] Last: Thanks Peter87 for the clarification. (by Chervil)
C++ reading specific parts of a text file
 
I was wondering if this can be accomplished using the ifstream library and using only a text file. B...
[2 replies] Last: Have a look at this post: http://www.cplusplus.com/forum/general/21452... (by Thomas1965)
Help with this program..I only get the true valu of the condition.
 
I compared two strings but i only get the 'true' condition..help please..TIA! #include <iostream...
[8 replies] Last: strcmp returns zero when the two strings are the same. (by Moschops)
Need help with this programmig
 
char choice = '2'; double num = 2.6, gain = 5.5, result; if (choice = '1') result = num*gain*gain...
[2 replies] Last: I see mutexe has solved your problem :) Next time use code tags pleas... (by FighterCoder)
What is meant by routines in C++?
 
http://s7.postimg.org/czzvwe2ez/image.png Can you explain me that is meant by routines and ...
[1 reply] : http://stackoverflow.com/questions/3322911/what-do-linkers-do http://w... (by mutexe)
If Else statement without braces
 
I was just wondering what will happen in the following program. I know there will be a compilation e...
[3 replies] Last: I still do not understand why does the compiler recognise the else st... (by Moschops)
XCode output window
 
I would like to know if there is a way to get the output window on Xcode to pop-up rather than being...
[1 reply] : Just type in the selection in the 'output window' the same as if it wa... (by closed account 48T7M4Gy)
help compiling this
 
Hi just wondering if anyone knows why this won't work? The issue that I am having is with the end1;...
[3 replies] Last: Thank you very much FurryGuy (by nuttsy5)
by BEARS
Binary Search??
 
Can someone explain to me how binary search works exactly? I tried googling it, but it makes no sen...
[1 reply] : Binary search searches for the value in sorted array by comparing the ... (by codekiddy)
Passing Arrays Through Functions
 
I am writing a code for a simple calculator that will perform several decimal conversions (I am curr...
[1 reply] : Your main problem seems to be that you declare functions with certain ... (by ats15)
by APP LE
Very very basic question
 
I am a student who just started to learn programming with c++. So kindly excuse me if my question is...
[1 reply] : Here is the definition of the constructor for multiset: http://www.cpl... (by ats15)
Othello game problems
 
Well i've been trying to write code for a game of othello using Walter Savitch's game class as a par...
[no replies]
by ladwer
reading a txt files
 
Hello, I have a question regarding an assignment. You are supposed to read the input file line by...
[no replies]
December 2015 Pages: 1... 3031323334... 43
  Archived months: [nov2015] [jan2016]

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