Beginners - October 2011 (Page 2)

Link List
 
Dear all I am new to Link List please give some idea about below program. Sample Run: 1- Enter s...
[2 replies] Last: Dear Thanks very much for helping me in Link list. (by Muhammad Arshad)
Reading Fractions
 
I'm trying to write a program that can do fractional arithmetic. I need to be able to input complex ...
[6 replies] Last: Theres 2 chapters in bjarne stroustrups book "Programming principles a... (by vlad61)
reading from a 4 column .txt file
 
i have a .txt file that im reading from that looks like this::: H 80 6 S M 15 0 D E 30 2 S M 2...
[4 replies] Last: Well, that's not right. In my example I wrote "cin", where I meant "in... (by hamsterman)
by gh24
Help With Vector Conversion
 
Hi Guys, I have a variable of the form vector<double> with unknown size. I need convert this i...
[11 replies] Last: I do need comma separated values That's just initializing the array... (by ultifinitus)
by Dwigt
Please help me understand why I'm doing this inheritance problem wrong.
 
Hello! Please help me understand the concept of inheritance. Actually, I'm not even sure inheritance...
[8 replies] Last: No, they are not. Do your random determination separately and then mak... (by ciphermagi)
help with classes
 
ok all i need help here, im trying to figure out in this code, in main, where it says it is going to...
[1 reply] : Well it looks like your constructor creates new objects, which in turn... (by ultifinitus)
Loading Text File
 
I have a game and when I try to load the saved txt file it only loads the string variables and nothi...
[no replies]
by fafner
making a command prompt
 
I'm trying to write a simple interpreter for a made up language, and I want to implement a command-p...
[1 reply] : You need to flush stdout. There should be details on the reference sec... (by kev82)
Help Please?
 
will someone help me find what is wrong? this is my program /* ...
[2 replies] Last: customerNumber++) { ... (by andywassup)
Problem with functions. specifically calling a function from within a function.
 
I am having trouble with a program that uses a function to get 5 numbers, then a function to find th...
[6 replies] Last: Thanks Lynnabelle:) (by Tony365)
fix errors with classes and question about syntax for main
 
ok, im trying to figure out here how to call two classes in main, and i need help correcting the err...
[no replies]
second attempt at class problem
 
ok here is the code and then the errors.....just dont see how to fix these errors /* christ...
[3 replies] Last: ok figured it out/....thanks (by seawolfmoose)
in_stream strings
 
Hello all, I'm trying to learn the basics of C++. I've been working on a project that is suppose...
[1 reply] : please forgive me, if anyone was wondering what was happening with thi... (by btrautm2)
how are these functions different?
 
void f1(int & k) { k = k + 1;} void f2(int * k) { (*k) = (*k) + 1; } void f3(int * & k) { (...
[no replies]
Loops doesn't work correctly!!
 
Hey guys, im new to the C language and i have a problem with loops. I need to calculate the cost of...
[no replies]
Two-Dimensional Char Array
 
Hello, I am having a problem writing this program. I'm supposed to make a two-dimensional array of c...
[13 replies] Last: Bingo. You're making good progress. Let us know if you need any more h... (by mzimmers)
Array/pointer help.
 
I'm trying to write a program for my class but I have been hitting a wall. I have a function that...
[3 replies] Last: my problem is that my program skips any user entry for name. I think ... (by keineahnung)
class function help
 
Why wont this work class hello { public: void guy(); }; void hello::guy() { } int main() {...
[2 replies] Last: Because you did not create an object from the class Try this class h... (by strongdrink)
Linked List Problem
 
Hello all, I'm trying to implement a linked list and enter data respectively. I've written a quite ...
[3 replies] Last: Actually, data 1 element past the end of the array. name only has el... (by andywestken)
October 2011 Pages: 1234... 59
  Archived months: [sep2011] [nov2011]

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