Beginners - November 2010 (Page 6)

by murva
linked lists
 
Hello, I am hving a hard time trying to figure out how to build linked lists:Please see below the code I wrote: #include <iostream> using namespace std;...
[no replies]
samble calculator with if and else ;
 
hi , i need to create a sample calculator with IF And Else ---------------- -------------------------------...
[5 replies] Last: #include<iostream> using namespace std; int main () { int x,y; c... (by hamsterman)
by Jabu
confused
 
ok I have knowledge of data structures and not exactly sure what to do now to improve my programming skill in C++, can anyone please give me any idea where to f...
[2 replies] Last: "The C++ Programming Language" I would recommend you to read this ... (by firix)
glut32.dll is no longer in my system
 
I just accidentally moved it to my documents after i had searched it on windows7. were do I return this folder in the system files for visual basic 2008
[no replies]
by gibran
How to read/print from a data file.
 
I am having a problem reading a set of data from notepad that looks like this: 300 450 500 210 510 600 750 400 627 100 420 430 530 621 730 530 200 050 058 ...
[6 replies] Last: It does not matter :) (by firix)
by Minky
Problem with program getting stuck in an endless loop.
 
I've been having trouble with this program I've been working on and the problem happens when you enter a letter into an integer variable. The program actuall...
[1 reply] : hi, if you add the following you should get away from the endless l... (by shredded)
Is there any problem using Japanese characters in strings?
 
I'm sure this is going to sound like a dumb question, but I'm going to try to build a simple console program to help me study Japanese and I was wondering if c+...
[1 reply] : I'm sure it's possable , you'll probebly have to use the wchar_t data ... (by Faff)
by EdoMan
Sequencing through something an array.
 
I need help writing a program that will sequence through a series of rooms. When you sequence through the rooms, you must first close a door that is currently o...
[no replies]
Need direction with my Class declaration, and probably a few other things...
 
I am having some trouble with my Class declaration and definitions. Specifically defining the class with specific declarations and variables, and then using th...
[5 replies] Last: Cannot convert from 'this' pointer from 'const Color' to 'Color&' I ... (by ne555)
My Functions are not passing their references
 
I am only able to get one reference passed back to the main function however it is causing an indefinate loop could someone please help!!! #include <iostream...
[2 replies] Last: thanks!! (by twentfiveu)
Crash and trouble Inputing values in an pointer-to-int-array
 
const int months = 12; char * Month = {"January", "February", "March", "April", "May", "June", "July", "October", "November", "December"}; ...
[2 replies] Last: Yeah I figure that out shortly after posting this, took me 30 min of s... (by Ecnahc515)
vectors of classes & custom constructors
 
I have a vector of a class and need to use the push_back() function to add an unknown number of data to it. For each new instance of the class in the vector, I ...
[4 replies] Last: I found out the problem is my class had an iobookstream class inside i... (by invelios)
Lowest Score Drop
 
how do you call main? And Call calcAverage? // Morris Lowest Score Drop.cpp : Defines the entry point for the console application. #include "stdafx.h" #in...
[2 replies] Last: Not 100% sure but I thing this would work. I'm sure there's an easier ... (by JohnB1975)
How to use functions
 
Hey guys, Im having a hard time understanding functions. I would like to make a function to follow this code for (iLine = 40, iLine > 0; iLine--;) { cout <<...
[4 replies] Last: Yes, just stick that in in between two brackets in a function and it w... (by Ecnahc515)
by qaz123
Program Keeps Crashing
 
I am making a program with Dev-C++ 4.9.9.2. The program is taking a word and writing it backwards. It is not using recursive or anything. Just an array. And the...
[2 replies] Last: thanks that helped a lot it was still crashing but i changed the ints... (by qaz123)
Pythagorean Theorem solver
 
I've just started learning how to program C++ about a day or two ago, and made a simple pythagorean theorem solver. #include <iostream> #include <math.h...
[2 replies] Last: Thanks hamsterman! It is working perfectly now, I think the console ju... (by pwnedu46)
Simple loop, cant find a simple reason it doesnt do anything.
 
#include <iostream> int main() { using namespace std; const double DaphneInterest = .05; const double CleoInterest = 1.05; double Daphne = 100; d...
[2 replies] Last: For some reason my compiler messed up and the console window had two p... (by Ecnahc515)
by pika
problem with templates and inheritance
 
Hey guys, I was hoping if you could help me with this. I can do templates, and I can do inheritance, but when they're mixed up I get confused! :( I keep gettin...
[4 replies] Last: Yup, I did that. Well, I also just compiled the main program, and got ... (by pika)
where do i get random.h library from?
 
I want to generate random numbers. Where can I get the random.h library from?
[1 reply] : You can use rand() from <cstdlib> http://www.cplusplus.com/reference/c... (by Bazzy)
String comparison error
 
Hey everyone, Ive been trying to make a calculator, a portion of its code is shown below. #include <iostream> #include <string> using std::string; using st...
[2 replies] Last: Hmm thanks a ton! that worked, i thought double quotes where used for... (by Nave1695)
November 2010 Pages: 1... 45678... 42
  Archived months: [oct2010] [dec2010]

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