Beginners - March 2013 (Page 29)

Very (hopefully) quick class question
 
If I wanted to call a member function inside another member function, how would I do that, if it's p...
[no replies]
total gross correct??
 
Here the code: void grosspay(double &hours, double &payrate, double &gross_pay); double tgp(int...
[3 replies] Last: i change some of your codes... here is it : #include<iostream> #inclu... (by mae956)
by klay2
rougelike game dev help needed with wall collison detection!!!
 
Hello I am new to these forums and need help, I walking through walls. I found its the if statements...
[18 replies] Last: haha that's where I learned!!! (by klay2)
Stuck in this program
 
The problem that i am facing is that when i choose economy class i have to choose it five times befo...
[no replies]
std::bad_alloc
 
I'm working on a program and was suggested I work on it one part at a time. Currently I'm working on...
[1 reply] : In your default constructor: vArray = new float ; vSize = 0; vSize i... (by toum)
Problem with compiler Dev-cpp 4.9.9.2
 
My program started off fine, then after a few error (of mine) it obviously shows something wrong, bu...
[2 replies] Last: Yes of course, I'll upload relevant source code and error messages as ... (by TheBeardedQuack)
anyone could solve this ? :(
 
I have done a code for my college assignment. I want the user to have 2 choices bill in "body treatm...
[15 replies] Last: I did notice that, it's the characters used in all the if's and else's... (by TheBeardedQuack)
What is this error?
 
Error 1 error LNK2019: unresolved external symbol "public: __thiscall Employee::Employee(class std::...
[5 replies] Last: That was it. The member functions was not define. Thanks guys for you... (by stinker)
C++ while loops
 
Hi, I am really stuck on this question and I was wondering if someone was able to help me with it. ...
[no replies]
extraction and collection
 
How can I do multi-digit numbers, extraction and collection c++ with series
[1 reply] : in <cstdlib> you can use atoi() or atof() which converts a string (arr... (by Stewbond)
C++ Project Guidance.
 
So I'm still a beginner but I'm finding the best way I'm learning is when I create programs. I was l...
[4 replies] Last: I can do classes, both within main.cpp and creating a new class file, ... (by dathtom)
I messed up
 
So in short, I wrote this large overcomplicated function (if you want i can post it) which produces ...
[3 replies] Last: Thank you for your help I tried passing an array as a parameter before... (by patr1ot)
by iNiko
Compare to the element line.
 
Given two words. For each letter of the first word (including repeated letters in the word) to deter...
[no replies]
reading file question
 
i notice when i execute the executable and the txt file is in the same folder it does what its suppo...
[8 replies] Last: ok I see what you mean, and I did mix up the two xD. (by Stormhawk)
What is a bidirectional stream?
 
I presume something like fstream fs("output.txt", ios_base::in|ios_base::out); but what exac...
[1 reply] : A bidirectional stream is one that you can both read from and write to... (by Computergeek01)
Help with a class project
 
I need help with creating a program for a suspension system on a car so far i have read in the data ...
[3 replies] Last: Your problem is that you have defined car_name as a single char instea... (by jlb)
Bow Tie
 
Hi, I am stuck on this question and I was wondering if someone was able to help me with it. To pr...
[no replies]
unexpected end of file error
 
class book { private: int price;char name ;char pub ;char author ; public: void input()...
[6 replies] Last: oh thanks to both of you i have removed all those errors and my progra... (by student2341)
by yaraa
help me please
 
#include <iostream> using namespace std; int main() { const int n=7; float iarray ; float d...
[2 replies] Last: how can you put 2 and your program between 0 to 1 !! for(int i=0... (by odai)
by Bribee
Need c++ help
 
I need help creating a c++ program using while that terminates the loop when two intergers become eq...
[2 replies] Last: Thanks for the red do I put something else there or just put what you ... (by Bribee)
March 2013 Pages: 1... 2728293031... 87
  Archived months: [feb2013] [apr2013]

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