Beginners - December 2013 (Page 68)

Return type for main( ) ??
 
Why is return type of main( ) always int ?? Why not char or float or something??
[15 replies] Last: Arudino comes with a freestanding C++ implementation See Michael Meiss... (by JLBorges)
by azad90
Function logic error
 
Hello everyone, Do you mind checking my whole coding below, the program is purposely created to c...
[1 reply] : 1) implementation of "EnterDay" is weird use std::string (or at least ... (by codewalker)
by Jane J
How to read line by using while loop?
 
Hi, I'm a beginner for C++. I want to use while function properly, but there is a tricky part. I...
[2 replies] Last: Thank you very much!! I understand clearly. I was looking for this ki... (by Jane J)
by RabMac
Dev C++ - including header files
 
Hi, I have made my class interface and saved it as "Factorial.h". I have then written the class i...
[1 reply] : Well I now know that my header file is working and my problem is due t... (by RabMac)
by enemy
array in outer function
 
Hello! Is function OrderArray using m2 from main or sth else? All the other is ok functioni...
[2 replies] Last: Hello!žHow can I get the array m1 to get MEMORISED in main and trans... (by enemy)
function definning and calling
 
small]before asking question i tell you that i am new one learner of c++ explain answer in simple w...
[2 replies] Last: This looks like your homework and I suspect you will have very little ... (by RabMac)
The ID was sorted but the contents aren't
 
Hello there, I'm trying to build a sorting program that will sort product ID's and it's contents. I'...
[4 replies] Last: Product temp; (by keskiverto)
SDL resize event not responding
 
I typed this from a tutorial. The tutorial shows though the window being resized however on mine, yo...
[no replies]
How to check if values are inside an array?
 
The below code is able to see if a value is inside the string array of names in the main function. H...
[2 replies] Last: thanks! (by CuriousGeorge)
error massage for new line at the end
 
Whenever i try to compile a perfactly working code in my compiler Quincy 2005 <www.codecutter.net/...
[2 replies] Last: @JakeTheHuman hmmmmmm.......OK so what am i supposed to do ? 1) Chang... (by closed account 4jzvC542)
by hilft
exception question!
 
why is "mine caught", when b is thrown? isn't it supposed to catch "yours"? can someone explain plz...
[1 reply] : This is because the "b" variable is an instance of class "a". If you n... (by J4ke)
Black Jack Game need help
 
I am making a simple black jack game and I good idea on what I need to do to finish it. However, I a...
[no replies]
Wrong output being shown on screen.
 
I have written a code here that gets data from the input file from the user and returns and output o...
[9 replies] Last: If I were to ignore all the help I'm getting here, then i'm not gainin... (by fahmankhan75)
Opening a new screen
 
Basically, I would like to make it so that once you make it to the end of the part containing string...
[1 reply] : Is this what you mean? http://www.cplusplus.com/articles/4z18T05o/ (by Duthomhas)
by khal
Finding the Power
 
Hi, I am trying to take a number and round it up to the nearest power of two, and then get what powe...
[1 reply] : The logarithm is the inverse of the power function. y = log b x x = ... (by Duthomhas)
My program is DISEASED?? It crashes when I call a function??
 
I am very desperate. I don't know why my program is not working. The problem happens when I call a c...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ (by ne555)
try to understand pointer
 
Hello! I was reading the tutorial about pointer on this website and I found a sentence that I don't ...
[3 replies] Last: Let's put some context to that (excuse my variable names; I was typing... (by long double main)
Multi dimensional array.
 
Can you help me to start this dimensional array. The output will be: N N² N³ N4 1 ...
[2 replies] Last: Here's a rough outline to do this: int ar ; //declare the 2D array ... (by heebleworp)
Print out prime numbers using an array
 
I need to code a program so that it can compute all the prime numbers less than a number input by a ...
[13 replies] Last: Thanks for the info on arrays. I was able to set up some arrays that o... (by Garion)
Only "assigns" the number to the variable if I cout?
 
I have a variable I'm trying to set to a certain number, but it won't do it unless I cout that varia...
[3 replies] Last: The main problem is that: int secondFunction (string theArray , int n... (by Chervil)
December 2013 Pages: 1... 66676869
  Archived months: [nov2013] [jan2014]

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