Beginners - September 2011 (Page 48)

...not declared in this scope
 
I'm a newbie and I've been reading C++ All in one for dummies 2nd Edition and the 'Hello World' program works fine, but when I type this (directly copied from t...
[9 replies] Last: @carebearboy I checked out the official site for the book and it app... (by carebearboy)
Blackjack
 
this is a revised version of the code that i thought would work better but it is not correctly adding a 1 or eleven to the total. the spot with all the slashes ...
[1 reply] : I didn't look it over in much detail, but IMO a better way to go would... (by Disch)
by wtf
This code doesn't work.
 
#include <iostream> using namespace std; int a = 0; int main() { if ((a) == (a = 1)) { if (a) { ...
[5 replies] Last: What I'm trying to do one line 8 is, take the value that is stored in... (by Disch)
I really need help with making my own functions!
 
Hello i was wondering you can help me.Every time i try to make my own function so i can get user input it fails and doesnt compile.Example of my failed code ...
[1 reply] : Inserted comments into your code, read carefully and write your progra... (by georgewashere)
exercise i dont quite understand
 
#include <iostream> #include <cmath> using namespace std; int main(){ int n, i, is_prime = true; cout << "Enter a number and press ENTER: ";...
[2 replies] Last: thank you soooooooo so so so so sooooooooo much! now i see! i thought... (by fartofagony)
How to store letters in a variable?
 
Hello. I was trying to use struct as a way to store more information a person in a variable, and then print out the information. However, if I want to request a...
[5 replies] Last: @Mathead200: Yes's its all binary. "a" = 0110 0001 = 141. (by Stewbond)
by sp2012
Boolean/ For-Loop Problem
 
Hi I am trying to write a program that will determine if a set of characters is a Palindrome or not. I can get it to run, but everything I enter is determined a...
[9 replies] Last: I got it. Thanks everyone! you are all awesome! For anyone reading... (by sp2012)
Clearscreen
 
How do you clear the screen in C++? I tried using clrscr() in <conio.h>, but I learned that this function is only available in the Windows Environment. I'm usin...
[4 replies] Last: Then do it right, like I give in the article: void ClearScreen() ... (by Duthomhas)
Simple multithreading?
 
Sorry for a newbie question. I worte a C++ command line program that monitors a live video stream. The size of the stream is not known, so currently the prog...
[7 replies] Last: thanks shacktar, this is what I needed! :) (by mondaytofriday)
plz help me
 
Hello, I am having this problem with this program that wants me to use a while loop as input validation to ask the user to enter 'Y', 'y', 'N', or 'n'. This i...
[2 replies] Last: Was it the single quotes around while(letter != 'Y' || letter != 'N')... (by Stewbond)
by topeh
I need quiz program
 
i need a quiz program for this using iostream and string only and i need also to output the total score :( kindly help me please Questions ------------ 1....
[7 replies] Last: You can't randomize using only iostream and string. (as far as I know)... (by Mohammed Abdul)
by boston
Payroll help!
 
Hi all, I'm a programming student whose textbook is a worthless piece of crap (errors in the text). Google and forums such as this one are all that are getting...
[15 replies] Last: Okay, check the folder with the saved .cpp file and see if the executa... (by wolfgang)
code writing methods
 
hello again, i was just wondering if there is any real reason behind the way people write code or if it is just the way they are taught. i mean int myInt an...
[2 replies] Last: Its mainly by choice. There's no real difference. The main thing you s... (by wolfgang)
September 2011 Pages: 1... 464748
  Archived months: [aug2011] [oct2011]

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