Beginners - February 2012 (Page 59)

Just a slight bit of help.
 
So im currently working on a hangman game and was wondering if i could just get a little help into w...
[1 reply] : I'd say that your next step is to fill out the gameSearch function. ... (by Stewbond)
quick question on fstream
 
so when i read a file into a class object like this object.read((char*)this, sizeof(object)) ...
[1 reply] : Yes. If you read data into an object from file, you can access its mem... (by The Palm Tree Magician)
by bailey
Calling the variables from a constructor function in a function outside the class
 
/class CRectangle { private: double S0; double U; double D; double R; public: CRectangle (ve...
[6 replies] Last: For this functionality you once again need to do one of two things: 1... (by Stewbond)
Simple cout question
 
Below program gives output "me here". That mean's it's eliminating the initial 5 characters from the...
[3 replies] Last: I got it. Thank you ihato and L B. :) (by ITFreak)
need help
 
Write a program that outputs the following variables: -Define a variable called S3 that represent...
[1 reply] : You haven't even made an attempt yet? Show us what you've got started... (by closed account 3TkL1hU5)
Calendar Program (Hard part is over!)
 
Hey guys. I have to write a program that, by entering the year, will output a calendar for that yea...
[4 replies] Last: Build the string in the function and return it. #include <iostream> #... (by histrungalot)
by Steves
I dont understand pointers.
 
Hey guys I'm on the pointers section of C++ and I understand that & is a reference operator. so if y...
[12 replies] Last: you declared that a= the address of b so when you output a alone it i... (by Athar)
problem with simple conditional
 
I'm about at my wit's end here. All I'm trying to do is get this function to work. Every time it hit...
[3 replies] Last: The condition if (attempt != 'A' || attempt != 'B' || attempt != 'C'... (by fatal1ty92)
by fanasy
include <iostream> cause different result
 
testPoint.c #include <stdio.h> #include <iostream> using namespace std; void swap(void *a,voi...
[2 replies] Last: oh, thanks athar. (by fanasy)
DESPERATELY confused...
 
Hi, I was assigned this homework but I'm just a beginner and have absolutely no idea at all how to w...
[13 replies] Last: Well, I tried to do the assignment myself but I got caught in a bug I ... (by Tork)
vector strings and ouputing user input
 
I am trying to write a program where i let the user input a string, and compare it to see which word...
[3 replies] Last: well here's what the programming principles and practices using c++ bo... (by vega512)
Learning profiling, Where do I start?
 
I have to learn profiling but I'm not even sure of where I can start on this. What are the best star...
[1 reply] : You could look into gprof http://sourceware.org/binutils/docs/gprof/ h... (by histrungalot)
Need Help -- String Reference
 
Hi. I'm supposed to be creating a very simplistic auction sequence where only one bid per person is ...
[1 reply] : What happens if you comment out string getName(string bidder1); strin... (by histrungalot)
Class member variable array
 
Since everyone here has been so helpful, I have another question for forum gurus: Suppose I wish to...
[1 reply] : An array size must be a constant. So, the example you showed above won... (by Wisely Done)
problem with inheritance
 
//usingemployee.cpp #include <iostream> #include "salariedemployee.h" #include "administrator.h"...
[5 replies] Last: Im using Code::block to build and I just got the problem solved. For s... (by superaitaotao)
Random Number
 
Hello, For the purposes of an algorithm class that I am taking, we are asked to create an array of ...
[6 replies] Last: What if its a random integer between two other integers? int rand... (by closed account 3hM2Nwbp)
Dynamic Multitype Array
 
Hello! I'm trying to make a simple array that will increase its column size dynamicly and it will...
[2 replies] Last: Another way to skin your cat could be std::tuple if you're using a com... (by closed account 3hM2Nwbp)
Prime Numbers Function and Driver
 
I need to write two separate functions (preferrably void), one that determines whether it is a prime...
[1 reply] : [co de] "Please use code tags" [/co de] Read the definition of pri... (by ne555)
Bug: undefined reference to `_countof'
 
The thread I'm coming from: http://board.byuu.org/viewtopic.php?f=10&t=2421&start=0 This is the ...
[6 replies] Last: @Moschops: Following your directions, I changed the first few lines as... (by closed account 9EqM4iN6)
by mowali
Can someone help me on Arrays.
 
Can someone help me on this? a. After the first pass, the largest number is guaranteed to be i...
[1 reply] : Can someone help me on this? I take it you actually meant "Do my ho... (by Athar)
February 2012 Pages: 1... 5758596061... 64
  Archived months: [jan2012] [mar2012]

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