Beginners - November 2014 (Page 65)

Can someone please explain this simple code?
 
Write your question here. int m=12345; while(m>0) { d=m%10; cout<<"d="<<d; m/=10; cout<<"...
[3 replies] Last: Sorry it was my mistake. M is never 5. :( (by Al Biruni)
first time c++ prime and perfect
 
Write your question here. i cant seem to understand how to place number to plug in on their own and...
[2 replies] Last: so i made it more complicated then it really is? the thing is i know a... (by poseidn)
Arrays
 
In the beginning of the program a set of 50 numbers is randomly generated to populate an array. The ...
[1 reply] : Hi there you can do this easily by assigning different roles to differ... (by closed account SECMoG1T)
illegal else without matching if , would love if my mistake is explained
 
would love if my mistake is explained #include <iostream.h> void main ( ) { int x; cin>>...
[3 replies] Last: thank you very much ispil , i just started learning this language and ... (by yazeedasad)
Asterisks Again!
 
I know that asterisk questions are all over the internet, and I really did not want to add to them b...
[1 reply] : can be done in a single loop. start with string of 80 asterisks each ... (by Esslercuffi)
While loop excutes else statement before ending
 
So I thought I made a while loop that would not run when I typed in "done" or "quit". But it turns o...
[2 replies] Last: #include <iostream> #include <cctype> //// tolower using namespace st... (by anup30)
Help with functions/call functions
 
Dev-c++ is telling me:`init_game' cannot be used as a function, along with 'ask_move' , and 'declare...
[2 replies] Last: Oh thanks! sorry I didn't see that (by thaneofthunder)
by akai09
do while statement
 
Hi can anyone help me with this? so when i enter 0 i want no processing of any numbers and just end....
[4 replies] Last: #include <iostream> using namespace std; int main() { int numbe... (by shadowCODE)
Subfunctions
 
Can somebody please tell me why this will not run I keep getting told that "value" is undefined on l...
[3 replies] Last: You have this sequence: printf("\nEnter PropertyID: "); fflush(stdi... (by pheininger)
November 2014 Pages: 1... 636465
  Archived months: [oct2014] [dec2014]

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