Beginners - October 2008 (Page 7)

'double' to 'float' warnings
 
I need a some help with my homework. I can not figure out why I am getting these errors 'double' t...
[9 replies] Last: That would work, but if you aren't planning on doing anything else wit... (by firedraco)
problems with functions
 
So here is my assignment: Purpose: Implement algorithms using functions (topic of chapters 5 of ...
[1 reply] : Ok, looking over you code, I noticed a couple of things... 1.) Use ... (by firedraco)
Question about Arrays and Strings
 
Question 1: About Arrays Must I specify a size when initializing an array? In my program the u...
[3 replies] Last: You will need to do this: char* userAnswers = new char ; ... (by firedraco)
by Zyerne
Input from file and vector<string>
 
I'm trying to create a little program that will help me disect some .txt files I have. I've tried go...
[1 reply] : Well if you mean read up until a certain character per each line, you ... (by firedraco)
Trouble with Factorial in C++
 
Hi everyone, I'm currently in my first semester learning how to program in C++ and i'm running in...
[3 replies] Last: 1 + 1/1! + 1/2! + 1/3! + 1/4!...+ 1/n! double result = 1.0; int... (by Zaita)
Radix Sort
 
I'm trying to implement radix sort into my program. Radix sort should take as input 2 parameters, R...
[2 replies] Last: Well it sorts when base is 9. I'm just not sure how to implement the ... (by mherald81)
by ruby09
Hi I am new to c++ and having problems with....
 
I am just now learning about function prototypes. Can anyone help me answer the folloing questions? ...
[7 replies] Last: It all makes sence now... thanks (by ruby09)
why no output?
 
This program is supposed to read 10 integers from an input file, save the largest and smallest integ...
[2 replies] Last: Thank you for your help! I changed some things around and this is wha... (by fg8ty64)
How can I count words in a BinarySearchTree
 
Hello I have a Binary Search Tree that reads words from a text file. I want to make a method that c...
[6 replies] Last: Since it is a binary *search* tree, I assumed it was sorted (of course... (by exception)
copy constructor
 
suppose we have a class as class integer { int m, n; public: integer () {m=0;n=0} integ...
[7 replies] Last: thaks bazzy and guestgulkan, i got it now (by Pritpal singh)
Graphics
 
Hi, I'm semi-new to C++ and I'm looking for a little help regarding a windows app that I'm trying to...
[7 replies] Last: Download Visual Studio C++ Express. The Visual Designer used to cre... (by Zaita)
by Foe89
multiple integer output
 
Alright(I've asked before, didn't get a clear answer), this program uses a sentinal controlled loop(...
[5 replies] Last: Without imposing hard-limits in your application you have to go throug... (by Zaita)
Advice needed on how to start this simple program
 
I need help getting started on this program. I have to write a program in C that calculates the per...
[1 reply] : http://en.wikipedia.org/wiki/Distance#Geometry http://en.wikipedia.or... (by cjmalloy)
Displaying 2d Array contents like a Graph (coordinates)
 
I'm having difficulty displaying the contents of a 2D array like a graph's coordinate system - i.e a...
[4 replies] Last: That worked. Thanks for the reminder about limits and the cout tip. Mu... (by Sophisto)
hi for every one...
 
Hello i'm new here and new for learning C++ language ,so i hope to find the one who guide me to ...
[2 replies] Last: By the way Tornado2: delete ur post from here http://www.cplusplus.com... (by Smok006)
class program
 
hi i tried this class working but theres an error in line mentioned below plz help me rectify tha...
[1 reply] : U can't declare int a and int b there. If u want u have 2 choices: fir... (by Smok006)
Quick Toggle question
 
Is there a quick one line way to toggle a value? i.e. instead of... if(togglevalue) toggle...
[7 replies] Last: cool beans! (by aeson25)
constructors
 
suppose we have a class which has both DEFAULT CONSTRUCTOR A::A() and DEFAULT ARGUMENT CONSTRUCTOR ...
[2 replies] Last: I salute your answer guestgulkan . Compiler should throw back a cou... (by Umz)
class prog
 
hi i tried this prog on classes but its having an error in line as mentioned below help me figur...
[2 replies] Last: thanks i got it now (by Pritpal singh)
hi for every one...
 
Hello i'm new here and new for learning C++ language ,so i hope to find the one who guide me to ...
[no replies]
October 2008 Pages: 1... 56789... 20
  Archived months: [sep2008] [nov2008]

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