Beginners - March 2013 (Page 79)

don't understand vectors
 
This was the assignment i was give i don't understand what i am suppose to do here can anyone explai...
[8 replies] Last: I went back and read your original post better than I did the first ti... (by atriumheart)
storing names in an array
 
THE PROBLEM HERE IS THAT I'M STORING STRINGS IN ARRAY. (e.g. name - names with four name values suc...
[1 reply] : Where are you allocating memory for the following pointer? char *name... (by jlb)
Void fuction
 
Hello,I'm getting this error. 1>LINK : fatal error LNK1561: entry point must be defined. Please for...
[2 replies] Last: Thank for taking the time (by SANA4SPA)
Functions won't compile
 
I can't get this code to compile. There are several global variables that I want to use. I can't get...
[2 replies] Last: Where should I define lowest? "count" is supposed to be global, why is... (by geharbison)
by TimZ
Function not recalculating
 
Below i have posted my project i have recently been assigned for a c++ class at my school. I am supp...
[1 reply] : You could put the code for printing the change in a separate function... (by vin)
why do i have to enter a extra character
 
vector/vector square reversing program every time i input something i have to enter a extra chara...
[1 reply] : Because you're reading input 11 times. You're inputting a number at ... (by AbstractionAnon)
Data Validation
 
How can we do data validation in bloodshed dev c++, in a if else statement?? how can we implement...
[no replies]
by Renov
NumberGuessing can't check "O".......
 
#include <iostream> #include <ctime> using namespace std; void prompt (int); void shuffle (int* c...
[3 replies] Last: Thank MiiNi and Chervil I know how to do now (by Renov)
variable not initialized error... but it has a value??
 
so, I am writing a program for class that has me asking the user how many people want admission to a...
[2 replies] Last: wow, thank you I feel stupid for making that mistake.. it runs now wit... (by AdmiralAxtell)
Putting rational objects into an Array
 
Alright so I'm working on an assignment and I ran into a snag. In the program, I'm supposed to c...
[1 reply] : okay I've changed this: Numerator = cRandom.getNumber (MIN_NUMERAT... (by blazer52)
Help with my code please
 
Edit: I am trying to make a simple tool that will add/subtract/multiply/divide and i cant seem to ge...
[13 replies] Last: Thanks all! (by noah sharbz)
explanation needs
 
can some body explain to me this code using comments what part of the function makes it makes...
[no replies]
how to include a nested loop for "sum"???
 
for (int i = 0; i < 4; i++) { if (i % 3 == 0) continue; sum += i; } ...
[1 reply] : You're not outputting the sum variable to see the result. Also, when y... (by Lynx876)
by EeAA
store data from file
 
I need to read and store data from file. The file has the following format: name size vote. What...
[3 replies] Last: struct Items { string name; int size, votes; }; int main() { ... (by blueberry)
How to validate an rpn expression
 
This is what I have so far. I am just a wee bit confused of how I should go about making sure that t...
[no replies]
class arrays
 
I'm writing my own calculator program and it's going to kick ass. I've defined a class called 'cte...
[8 replies] Last: I see. Thanks for your patience guys! (by billywilliam)
Having problem with creating a binary tree.
 
I'm following a tutorial on creating a binary tree but when I go to compile I get the following erro...
[no replies]
File Handling
 
Write a program that asks the user to input his/ her name, age and address then appends them on a t...
[3 replies] Last: #include <iostream> #include <fstream> using namespace std; int mai... (by m1rv9n41v5)
Multiple inputs
 
I have an exercise in my book that requires me to get five different inputs as reference variables ...
[7 replies] Last: Here is what I have so far, to give a general idea of what functions t... (by geharbison)
Random Word Generating
 
Sups :3 So I'm trying to generate a random word though i'm having some issues with it at the moment...
[3 replies] Last: Uhm I'm a bit confused do you think you could give me an example of wh... (by kingpulse)
March 2013 Pages: 1... 7778798081... 87
  Archived months: [feb2013] [apr2013]

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