Beginners - March 2010 (Page 27)

eof() ?
 
I can't really figure out why I need to use eof() with files... I keep reading on it in my book for college but its just not doing it for me any help would be a...
[6 replies] Last: A mistake, and thanks for the help (by OnymousIllusion)
by Sean 1
Function Problem
 
Hi this is probably a pretty basic question, but i am trying to create a program that will find out if 3 numbers are all unique. I am trying to do this by us...
[7 replies] Last: Thanks alot Bozica, i understand now why mine wouldn't work, thanks fo... (by Sean 1)
Reference Function Parameter Problem
 
I need to return several values from a function and I looked at our notes and noticed a reference parameter section. I'm not sure how to use this in my situatio...
[1 reply] : I don't think you quite understand the idea of reference parameters. I... (by tummychow)
Cannot Call Function in While Loop
 
This code is due very soon, so quick help would be much appreciated. Here is the URL: http://codeviewer.org/view/code:c98 For some reason, I cannot get t...
[11 replies] Last: Thank you very much for your help. This is definitely something I coul... (by snazziosity)
by Aseel
Include header file problem
 
Hello, everybody I am writing a program consists of three files main.cpp, and linklist.h and linklist.cpp. The code is not the final version cause I want to en...
[5 replies] Last: no problem ;) just remember that you shouldn't write linklist list(); ... (by chimera)
by Horst
Bughunt! Now hiring! (Hodgkin Huxley Neuron)
 
Hi! I'm quite new to C++ and as it goes I have problem of which I think is quite trivial. However I'm completely stuck. What I want to do is create a simu...
[3 replies] Last: some further info: Variables m, n, and h determine how many channel... (by Horst)
Pass by reference
 
what is it
[2 replies] Last: See also http://www.cplusplus.com/forum/articles/20193/ (by jsmith)
aa Enqueue and Dequeue
 
Can anyone help me to do a output shown in the bottom. it uses enque and deque functions.i need it in my project. pls pls help me guys. Enqueue Dequeue ...
[1 reply] : Where in your code are you having problems adding it? (by Zhuge)
Stuck need advice please
 
Hello there, I'm new to C++ and I was trying to do kind of a calculator, with simple operations like subtracting two numbers. I read most of the guide, but I ca...
[9 replies] Last: Thank you Disch and chrisname. It works now. (by crisro996)
call back
 
I working with a graphics library and I am having a bit of trouble understanding call backs. Does anyone know of a source that would explain this construct and...
[1 reply] : A callback is a function pointer that you pass as a parameter to anoth... (by chrisname)
quick Question
 
He everyone. My problem is simple...well probably for you guys it is. I am writing a small program that requires user to input string. I want the program to ...
[1 reply] : Make a loop and check the user input with a list of valid values. If i... (by Bazzy)
problem with list<T>::iterator
 
who can help me #include <iostream> #include <list> using namespace std; class myclass { int i; public: void inti(int i) { this->i=i; ...
[4 replies] Last: thank you so much (by Black Spider)
by Schuan
Modular programming
 
Hi, i am requested to created a simple game by my teacher. this is the correct program and runable: #include <iostream.h> #include <conio.h> #include <io...
[3 replies] Last: Use int main() Anyway, you aren't defining the types in your chec... (by firedraco)
by cmccmc
make a program open a webpage?
 
how exactly would you make a program open a website?
[8 replies] Last: There is also the very friendly ShellExecute () function in Windows, ... (by Duthomhas)
Validating a float
 
Hey everyone. I have an assignment for class where I ask the user to input the start time of a phone call as a float in 24hr format (HH.MM). I need to valid...
[5 replies] Last: I am not aware of any locales where hours and minutes are separated by... (by Duthomhas)
issue with operator=
 
I just pulled apart my header file, it's giving me weird errors. Does anyone know what the compiler might be complaining about? I'll post it all just in case th...
[6 replies] Last: http://i49.tinypic.com/ztzw3b.jpg For some reason it only happens o... (by gcampton)
by gcr114
sum of multiple entered numbers
 
Hey, I've combed through the previous posts and I found something for finding the sum in a loop. Which is essentially what I need to do: Problem: Create a p...
[3 replies] Last: Nevermind I got it cout << "Please enter the number." << endl;... (by gcr114)
can you put loops inside of loops?
 
Coding for a simulation of a convenience store for a school assignment. Need a case in the switch statement to repeat itself until the right amount is paid. Rig...
[3 replies] Last: That's because after you leave the if/else if chain there you hit the ... (by firedraco)
Reading text file to structures
 
Hello, I am trying to learn Cpp language by rewriting my old QBasic and VB programms to Cpp and this goes wery hard. Here is example which I dont know what an...
[7 replies] Last: Hello imi, thanks for your reply. For learn something different peopl... (by beginplus2)
A Quick Question for Inheritance: Static Method?
 
class Parent { public: Parent(){}; virtual int Get() const=0; virtual ~Parent(){}; private: }; class firstChild : public Parent { public: fi...
[3 replies] Last: thirdChild would need to be given an instance of firstChild or secondC... (by jsmith)
March 2010 Pages: 1... 2526272829... 34
  Archived months: [feb2010] [apr2010]

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