Beginners (Page 113)

by jc4bs
Derived Classes and Constructors
 
I am having trouble learning the correct syntax for when an object of a derived class tries to call ...
[1 reply] : Your derived ctor needs to take four arguments in general: two to call... (by Cubbi)
Trouble with my assignment
 
I'm a few months into taking C++ and this is my hardest assignment so far. I've read my book and gon...
[1 reply] : Hi :) For you char menu , is a function that requires to return a ch... (by osgwsy)
Can someone explain this?
 
Can someone explain how the last for loop works which prints out the user's input backwards?? Thanks...
[1 reply] : For the for loop, it will first start from i = 9, output the array nu... (by osgwsy)
problem in my assignment
 
my program does not arrange Salaries well when the //bubbl sort And gives me an error when calculat...
[10 replies] Last: here not work A program for collecting employee informat And displa... (by Man silence)
by Jace
Function error
 
I don't know where to input a certain file name into the function so that the function searches for ...
[16 replies] Last: I have no idea what that means.... so far my program looks like this: ... (by Jace)
warning C4227: anachronism used : qualifiers on reference are ignored
 
So I get that error when I try to do this: typedef double const (*t_p_training_function)(std::vect...
[4 replies] Last: My mistake, the error was cause on the line after that one... Sorry ... (by ausairman)
Need help with my homework.
 
I get the following error in my switch within the operations function Error: more than one instanc...
[5 replies] Last: @ booradley60 thanks for the insight took a look at what I did and you... (by ejhernandez381)
by misssy
Printing in increasing order
 
I having trouble completing my output function. The directions I was given were to: create copy of...
[no replies]
pass vector to function?
 
Does anyone know how to make that work? #include <iostream> #include <vector> using namespac...
[2 replies] Last: Thanks. What does adding the const do? Because the program runs, and i... (by eagleman)
confusion on why the void function won't recognize my declared variables
 
So my code is as below. #include <iostream> #include <string> using namespace std; void...
[8 replies] Last: Yes, declaring the variables globally. Thank you. I never thought of... (by jackbruns28)
keypress in dialog form
 
hi, I want to control robot, using keyboard, for example if I press s the robot will move forward...
[6 replies] Last: Thank you .. you solve my problem (by Daniel Sutopo)
Need some polishing advice or direction on this project.
 
I used "//" needing attention and direction. This program will compile if anyone is interested in g...
[no replies]
by Shala
std::cin, std::cout, peek, ws
 
Im going through my class notes online and my professor talks about ws and peek but i don't exactly ...
[2 replies] Last: std::cout is for output (C++ OUTput) to the console window, like in th... (by L B)
Arrays
 
18 E:\hw6aKJJ.cpp uninitialized const `array' //program will take a user inputed list of integer...
[1 reply] : The error tells you word for word what is wrong. You're declaring a c... (by booradley60)
by fiodis
Possible Memory Leak?
 
I've written a short, multi-source file program in native C++ using VS 2010 (I'm on Windows 7). I h...
[5 replies] Last: Sorry for all the walls of text, it's why I wasn't sure if I should po... (by fiodis)
by Daleth
Using getline properly
 
The following code works for half the time when getting user input. However, sometimes if the user p...
[7 replies] Last: I don't know of any problems other than not being able to use a custom... (by L B)
Cout/Print
 
I'm new, I am using Dev-C++ as my compiler. My program is compiling but does stay on the screen, i...
[1 reply] : http://cplusplus.com/forum/beginner/1988/ (edit: at least you didn't ... (by Splux)
Converting a Variable from a BTYE type to a WORD type
 
First post on C++.com so apologies if this has been answered else-ware (I couldn't find any answers ...
[3 replies] Last: Thanks guys. The MAKEWORD macro worked really well (after I worked ou... (by graham terry)
Enums in function parameters
 
I'm trying to make a function that will take a enum from a class and set it equal to whatever I call...
[5 replies] Last: Thanks again! (by Austin J)
Arrays and Averaging
 
I know what I need to do in this program, I just don't know how to do it. This program needs to s...
[10 replies] Last: Thank you Jilb for all of the encouraging words. you helped me a lot..... (by redheadAlyssa)
Pages: 1... 111112113114115... 120
  Archived months: [mar2013]

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