Beginners - September 2008 (Page 10)

Error: Program too big to fit to memory
 
Hello, This is my first post and I'd love some help. I have WinXP SP3 and am using MinGW as my cp...
[5 replies] Last: Try Dev C++ Really simple to use and works pretty well. (by bluezor)
New to C++ Classes design
 
Hi guys! Thanks for moderating such an informative forum...this has become my best resource for c++ ...
[3 replies] Last: I have a couple of comments. 1. By deriving Scanner from Token, yo... (by jsmith)
by Syx
Countdown timer
 
Hey guys, I was checking out this countdown code http://www.cplusplus.com/reference/clibrary/ctime/c...
[5 replies] Last: Thanks for the replies. @helios Actually, I'm not using any game ... (by Syx)
Structures and Classes
 
Hi. I don't understand what the difference between structures and classes. Can anybody explain it, p...
[5 replies] Last: Default access in a struct is public and in a class is private. Othe... (by helios)
by pino
about cin
 
I’ve not understood the working of cin. Given the following example int main() { int i...
[3 replies] Last: cin is for taking input, I would say avoid using it as an arguement ... (by Umz)
How in the world would I create a code for this...
 
Create a C++ console application that converts a time entered in minutes into either a hour/ minute ...
[4 replies] Last: bluezor: We generally try not to provide code for people who ask quest... (by jpeg)
by mlussi
Question about string replace [solved]
 
Greetings It's me again, with a question about string replacement. Here's my code: int...
[8 replies] Last: Alright, if "txt.find(find)" had no result it returned "-1". -1 is "ou... (by mlussi)
Console Flicker
 
So i have a game similar to space invaders and there is an enemey ship that scrolls across the top o...
[1 reply] : Use ncurses and similar libraries to get that kind of interface. Alte... (by helios)
Writing a code for incorrect input
 
I am new to C++ and have gotten an exercise to do but dont know how to do it..... Write a program t...
[2 replies] Last: thx it worked.... (by mbangur)
by sfx81
Simple exception question
 
hi. I started learning exceptions just now. The following program crashes without entering catch blo...
[6 replies] Last: It is an (unfortunate, IMO) part of C++'s design philosophy. Page f... (by Duthomhas)
sorting two parallel arrays
 
Hi, I have a text file with two columns: date and grades. I want to read in the file and bubble sor...
[1 reply] : 1. You mean like, a being a Class, calling atol(a)? If you do, then no... (by helios)
An Error
 
The compiler gives an error at 19th line: C:\Users\toshiba\Desktop\CPP\Empire\CharacterCreator.cpp v...
[3 replies] Last: If you want to use dynamic allocation, do so inside a function. E.g.: ... (by helios)
Square Root in c++
 
Hi, this is my first post on this forum! I've just started to program in c++ in school, and I've alr...
[6 replies] Last: Yeah, helios is pretty much right. I mean, there are methods for loop ... (by jpeg)
1st C++ Project
 
Hi all. I am brand new to C++ (3 weeks). I just got my first project to do. Basically the instructor...
[3 replies] Last: For this project, design and implement a Visual C++ .NET program that ... (by MTWill18)
Visuals
 
Hi,I've been working on a simple program lately and I want to make it look better , I want to look l...
[6 replies] Last: You now need to add an event handler for the control. To do this you g... (by Dudester)
Can't obtain the result
 
Once again hi. I have tried to make a simple program to tell me the area of a circle. I was able t...
[6 replies] Last: ah, yes. Obviously I am more used to printf :-/ endl flushes the bu... (by jpeg)
by Umz
Strings and character sequences
 
Is it better to use strings or character pointers to take input? I've only learned how to use charac...
[3 replies] Last: I asked because you could mean security as in which one is harder to c... (by helios)
selection sort
 
Two questions here 1.When i run this selection sort function it is not sorting the whole vector. It...
[4 replies] Last: Oh, look at that. I missed it. The for i loop is also too long. It sh... (by helios)
by rahs08
recycle in permutation
 
hello, dear all. i'have small problem. here is my algorithm #include <stdio.h> /** Read a ...
[8 replies] Last: Sorry, misunderstood what your program did. If thats the case just mov... (by Umz)
by jd254
String Comparing problem... I don't know why it's not working.
 
#include "stdafx.h" #include <iostream> using std::cin; using std::cout; using std::endl; ...
[3 replies] Last: Your problem is floating point roundoff error because .01 is not exact... (by jsmith)
September 2008 Pages: 1... 89101112... 16
  Archived months: [aug2008] [oct2008]

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