Beginners - October 2011 (Page 43)

Program only works sometimes...
 
Hello, this is my first post so here goes! I am working on a program that scrambles the letters of ...
[3 replies] Last: The second part of your message scares me... I have done it using a c... (by jackzuck)
Conditional statement help
 
So i'm having a bit of trouble with long conditional statements containing more than one operator. F...
[7 replies] Last: Ah right, sorry I hadn't quite understood what you were asking at the ... (by TheMeerkat)
Checking for a char input to be only a letter
 
When asking for a char from the user, how can I check to make sure it is a letter and then re-ask th...
[1 reply] : @Shadoninja Here's how I'm doing it, while getting the input if the u... (by whitenite1)
by Gui
Hello
 
Hello, I'm new to this site and wanted to say hi. I'm new to C++ and I'm taking a class right now....
[2 replies] Last: welcome ,welcome (by Dinesh subedi)
constructor help!
 
struct BinaryNode { Comparable element; BinaryNode *left; BinaryNode *right; BinaryNode(const compa...
[2 replies] Last: i see! thank you very much!!!!! (by liondancer)
by squik
can someone help me out w a line of code?
 
#include <cstdlib> #include <iostream> #include <cmath> double A; //Amount; double R; // Rate; d...
[7 replies] Last: ^ does not mean exponentation in C++. It means something else. You n... (by Disch)
error C2784. getline 3 arguments expected - 2 provided
 
I'm making a quiz program with vectors and I keep running into trouble. I keep getting getline erro...
[5 replies] Last: I'm using stringstream because I read on this site's tutorial to use t... (by GRex2595)
by Nybble
Reading own process memory
 
BOOL WINAPI ReadProcessMemory( __in HANDLE hProcess, __in LPCVOID lpBaseAddress, __out...
[3 replies] Last: I have this other question: How come when I try to read the memory fr... (by Nybble)
String Class Problems
 
Hi, I'm currently working on making a string class and there are a few parts I'm stuck on. 1. I...
[no replies]
Help with sorting elements from lowest to highest
 
hi guys, I need help sorting out the elements from lowest to highest. But, it seems that it sorts it...
[4 replies] Last: Perhaps you should have used a different operator? You know, the one t... (by Albatross)
Factorial Operator
 
Hi, I'm having problems figuring out how to add the factorial operator "!" to make n!=n(n-1)(n-2)..e...
[6 replies] Last: I have the same book. That author is Bjarne Stroustrup so he knows wh... (by nathan10)
Comparing chars to strings
 
I am currently working on a simple hangman program and I need to be able to compare the letter guess...
[3 replies] Last: What code would I need to use to go about checking the string for the ... (by Shadoninja)
C++ project dynamic array of string creation
 
Hey Guys, I am running into a couple of problems with the code below. I need to dynamically creat...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/dynamic/ or http://www.fredosa... (by BrokenSilenceDev)
by aasaa
local var
 
hey, #include<iostream> class Counter { private: int val; public: Counter() { v...
[3 replies] Last: No, the local variable no longer exists. You are not reading data fro... (by Disch)
by aasaa
local variable
 
Question: I have the Class Point: class Point { private: int x, y; public: ....... Point...
[5 replies] Last: Correct. Returning a reference or pointer to a local object is illegal... (by helios)
[ask] lamport bakery's critical code
 
Dear the Admin and all members. Could you please help me to write this algorithm into a complete ...
[no replies]
Issue with Fuction
 
solved
[3 replies] Last: Thank you very much! I understood what was wrong. (by Carreter)
Invalid conversion from 'const char' to 'char'....?
 
Hello. I get the error message Invalid conversion from 'const char' to 'char' when I try to run this...
[2 replies] Last: Oh, thanks. I will try it. Regarding the variable: Yeah it seemed st... (by shooninjo)
by Floeps
Extending templated class, with self referential templated class
 
Hi cplusplus forum, I am trying to translate the following java to c++, I'm still a bit new to C++ ...
[2 replies] Last: Thank you, that was it. I've added the code tags in the original post ... (by Floeps)
What looping am i going to use?
 
Hello.. I'ts hard for me to this. I don't know what kind of looping am i going to use. Make and r...
[5 replies] Last: do while is pretty much the same as a while with the exception tha... (by Stewbond)
October 2011 Pages: 1... 4142434445... 59
  Archived months: [sep2011] [nov2011]

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