Beginners - October 2009 (Page 20)

Can't understand the syntax
 
I have a problem to understand the following code. Can anybody please help me to understand it. i...
[4 replies] Last: yes thats right 'bb' is a pointer of a class. (by turtail)
Dont know what is wrong with program?
 
I have a calculator program it ask you a for a number then ask for an operator +-*/.. this is wh...
[8 replies] Last: Warnis, it's a do-while loop. (by Chewbob)
Need more knowledge over c++ and programming in general
 
Hi all, new here. I was wondering if anyone could tell me what to do now? I'm 15 years old, have ...
[6 replies] Last: cool sending them now, if you have trouble downloading due to live not... (by gcampton)
File Handling
 
void main() { clrscr(); fstream frnd; frnd.open("C:/store.txt", ios::in|ios::out); if(!frnd...
[no replies]
while loop using char
 
Total Noob here, but I'm having a bit of a problem using the while loop using characters.. Can anyon...
[4 replies] Last: AHHH! Thanks so much bluezor!! That makes a lot of sense! (by keewong)
by hannes
const
 
How can you make a constant in a class so that every instance has that constant. but every instance...
[2 replies] Last: That is simply a non-static constant member variable non-static c... (by guestgulkan)
comparing arrays...
 
I'm completely lost on this project. I want to make a program that has two arrays. One array will ha...
[3 replies] Last: You said your arrays will contain "variables". Are they different var... (by PanGalactic)
While loop problem
 
The problem is: Write a code segment using a While loop that sums the integers, counting up from 1, ...
[6 replies] Last: you can also do a if flow control statement. Put this in the functi... (by brokenbot)
I don't know how to calculate average
 
I am doing a homework about calculating average. It is about calculating average of some intergers. ...
[11 replies] Last: There are several ways of receiving input that way, some more robust t... (by jRaskell)
headers
 
Hi.I am starting to write projects with separated files using .h and .make. However, I am very confu...
[2 replies] Last: Take a look at this article as well for even more detail. http://cplu... (by kempofighter)
Whats the point in pointers?
 
Hi :) I have been programming in c++ for only a little while and im going through semi ok and enjoy...
[11 replies] Last: http://home.netcom.com/~tjensen/ptr/ Excellent, very detailed, tutori... (by chrisname)
Another question that confuse me - Give an advice
 
Give an advice about How many lines will be appeared in the following part of the code ? for(i = ...
[5 replies] Last: being able to read and understand code without compiling it is an impo... (by closed account z05DSL3A)
by eiba
Code::Blocks, where to turn off end of program message?
 
I've just started using Code::Blocks, and one thing that bugs me is that when i build and run the pr...
[4 replies] Last: Yep, i didn't think it was my own program that gave that line in the e... (by eiba)
Can anyone advice me about what is the price of variable x given
 
what is the price of variable x given in the following command x=f(3,3,4); which f declared as fol...
[4 replies] Last: yes. (by jsmith)
by robezy
Could you spot the error in my code?
 
Hi, I'm trying to convert a 2d array given in the form of strings to integer 2d arrays. ie, t...
[5 replies] Last: Hi, thanks for this intput. I never used sstream before. So couldn... (by robezy)
Cursor problem?
 
Ok this is a sample code right here: #include<stdio.h> int main() { int num; char letter; ...
[no replies]
by wachtn
char array
 
How can I make this code work? What I want to do is assign a string value to a char based on user...
[6 replies] Last: That worked perfectly. Thank you! Now I can finish my program. =] (by wachtn)
by mcb413
2D arrays
 
Can anyone guide me with this please? 1. Array uses and notation Review the material presented...
[1 reply] : We don't do homework here but maybe this will help. http://www.cprogr... (by wachtn)
by Regine
What's wrong w/this prog.?It doesn't run.
 
#include <iostream> using namespace std; int main() { cout << "15.0 plus2.0 equals " << (1...
[3 replies] Last: It may be a typo in your post #include <iostream> using namespace... (by closed account z05DSL3A)
October 2009 Pages: 1... 1819202122... 25
  Archived months: [sep2009] [nov2009]

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