Beginners - March 2008 (Page 2)

Char array and floats
 
Here is my problem, I need to make a char array with 20 spots called Name, in the code below I have ...
[2 replies] Last: This is how I fixed the decimal problem: #include <iostream> #inc... (by jonasja)
by nizbit
user input to multi-dimentional array
 
I just want the user to input values into a 2x2 array. At runtime my program will let me input infi...
[2 replies] Last: Thanks! (by nizbit)
Basic string problem
 
Hello Cplusplus members, I've been wanting to learn some C++ for a long time now. So I've came ac...
[1 reply] : I've found the problem. I type "end" with a 1 witch in the tutori... (by Justlearning)
Operator overloading
 
Hi, I'm almost a newbie to C++. I have a problem that i can't figure out. Hope you can help. I h...
[7 replies] Last: class Complex { public: Complex( double = 0.0, double = 0.0 ... (by lyecheey)
% for double
 
does anyone know a way to use the % for the double varible
[2 replies] Last: Maybe this is what you need: http://cplusplus.com/reference/clibrary/... (by ropez)
Inventory Class problems
 
For this program, I have to create an Inventory class with the private member variables itemNumber, ...
[no replies]
files with user defined names.
 
hey all need some help. :) I have already learned how to create a file, and enter data in the file....
[4 replies] Last: oh well i forgot to post this before.. im having trouble getting to re... (by Sydykov)
by udit
Question about linked list
 
Hi, I try to make a Linked List in C (not ++). My problem is that any entity in my list in differe...
[1 reply] : You may want to look at a ‘generic linked list’, this is a linked ... (by closed account z05DSL3A)
by kb2tfa
Is Visual C 2008, a dot net?
 
If someone could shed some light on this for me it would be great. I tool basic c/c++ classes abo...
[1 reply] : Basically Visual Studio generates a lot of files in the project struct... (by closed account z05DSL3A)
this is so easy i can't do it
 
This is embarrassing but how do i make a phrase like I'm happy for example repeat x number of times?...
[2 replies] Last: thnx (by residenteagle)
by morino
value of the variables
 
will like to knw the value of the variables at the end this code int a=23.34
[1 reply] : Should be 23, why don't you try it? (by ropez)
by cva
String^ str;??????
 
String^ str;...what does the ^ means...is it same as pointer?
[1 reply] : ^ is from C++/cli (.net); it is a handle to an object located on the m... (by closed account z05DSL3A)
by sansei
Read numeric datafile one line at a time
 
Hello All, I am trying to write a program about weather report.The program will read numeric data f...
[no replies]
i need to write a program to cal the gpa this is how far i have reached
 
# include <iostream> using namespace std; int main () { char name ; int co...
[1 reply] : # include <iostream> using namespace std; int main () { char name... (by gregv21)
Flush Stream
 
Hello everybody, I´m reading a text file with words, and something strange happens. Suppose that...
[3 replies] Last: I don't know if I understand the problem. After calling getline(), lis... (by ropez)
by sladeb
noob with problems
 
i have to have a homework project in by Wed. at midnight. the instructions state: define an array Pe...
[8 replies] Last: I'm asumming you are using a version of Visual Studio from the c1010 e... (by closed account z05DSL3A)
program that uses loops. need help
 
I have an assignment that requires me to use loops to find a person's salary. the assignment is as f...
[1 reply] : Output instructions Input the number of days and validate Calcul... (by closed account z05DSL3A)
What's wrong with my loop?
 
I need a user to enter two numbers. Then the output needs to show the square and cube of those numb...
[2 replies] Last: Thanks grey wolf. That makes sense. (by oatmeal1201)
cannot instantiate abstract class
 
Hi Everyone, When I try to compile a project, I get these errors: ------ Build started: Pro...
[1 reply] : You better post the code segment to see it how it is written. In si... (by satm2008)
Alternative option to getline
 
Hi. I'm trying to read words from a .txt file in the following format: wordA wordB wordC and...
[2 replies] Last: Thanks!, I already did it, I used the getline that is in the stream cl... (by karma4561)
March 2008 Pages: 1234... 15
  Archived months: [feb2008] [apr2008]

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