Beginners (Page 64)

by vxk
friend class declaration
 
I noticed the following piece of code //#include "Alien.h"// #pragma once class Monster { frien...
[13 replies] Last: 1. A class declared at class scope of another class declares a nested ... (by JLBorges)
Help with Vector Median
 
Hi there, I am pretty new here. I need some help with this statistics program i am writing for a c++...
[5 replies] Last: how does look? No offence, but it's terrible. You're making the same... (by mutexe)
Need to Convert Classes Program to Also Use Vectors, Pointers, Polymorphism
 
My Intermediate C++ professor wants this program updated as follows: "The project should contain a v...
[1 reply] : I think he means your class Package inside the vector. Such as #incl... (by Callum5042)
by nemo3
Program gives me random results
 
In the first try block, for the first parameter, I am using a string of "1", "2", or "3" to test out...
[1 reply] : look at line int r = rand() % 100; of Client::open, for example. Yo... (by tipaye)
When outputting variables to a textfile, how could I make it skip a line after each?
 
Hello, my question is as titled pretty much. //sameple code while{ switch (char1) {...
[1 reply] : how could I make it skip a line after each? [...] I tried ' << "\n";... (by MiiNiPaa)
Please HELP!! final due tomorrow
 
I am trying to write a program where you enter a football team's win/loss record and it displays t...
[1 reply] : my fault, i entered in the txt file, Patriots 10 3 instead of Patriot... (by BeastlyMango)
References !
 
Hello every one ! I have completed my course of c++ in my university ! so i have completed and no...
[4 replies] Last: yeah ! thanks i was looking for google code jam and now here i have it... (by Muhammad Anim)
by Thor66
program not outputting anything
 
AM I missing something in my main that allows for outputs? class BLUEBOX { private: std::...
[1 reply] : yes. nothing in that class outputs anything. edit: give your class a ... (by mutexe)
by goldyn
Object Oriented Programming
 
So I'm learning Object Oriented Programming and I need to declare a class called myAccount. I hav...
[5 replies] Last: What further help do you require? MiiNiPaa answered the question fully... (by LB)
I need help please!
 
So i have been at it for the past couple of days, but i can not seem to find what is wrong, i have a...
[7 replies] Last: On lines 90 to 92, you are shooting yourself in the foot by using a fo... (by LB)
by Thor66
classes & constructors
 
In this class I have created a constructor...I call one member function (customer) in a another func...
[1 reply] : So through the constructor you call these functions to initialize the ... (by wildblue)
Can you tell me what is wrong with this code?
 
thanks everyone! this problem has been solved
[11 replies] Last: Please don't erase your post after people help you :) (by wildblue)
Command-line Arguments
 
Write a program that prints one complete line of output and nothing more. The output the program ...
[7 replies] Last: There's an extra { on line 6. And you're missing semicolons on lines 3... (by wildblue)
string::compare is not working
 
I need to do some breathing exercises. I have no idea why it is saying these two strings are not id...
[8 replies] Last: Thanks again. I tried using pop_back(), compare does not like it. Ve... (by disturbedfuel15)
Best approach to this task.
 
So I want to make a library inventory program and I have a pretty good idea on how I want the code s...
[1 reply] : I was thinking of using the .at member functions from the string heade... (by deathslice)
Array function
 
write the function int secondlargest(int x , int cap) the function returns the second largest value...
[4 replies] Last: Here is an example of sorting that I made for you. If you have any que... (by deathslice)
help!!!!
 
My prof gave us a question that states "Write a function according to the following specifications: ...
[9 replies] Last: Thank you so much for your help! I think I have it down now! (by KrisKringle)
Need Help
 
i have a code that is suppose to read from a file. but im trying to make the code output only the us...
[8 replies] Last: OK, but you'll read the data into the struct array first, not try to s... (by wildblue)
by EffyPT
do while loop not working properly
 
Hi everyone, my program should read in a number of judges and a number of participants and then ask ...
[8 replies] Last: I found other problems in your code code fixes: #include <iostream> #... (by jasonwynn10)
final project!
 
I'm trying to create a program that is for a car rental agency, its purpose is to find out what car ...
[1 reply] : I recommend these changes: leave your name on it, make the amount of c... (by jasonwynn10)
Pages: 1... 6263646566... 90
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.