Beginners - April 2012 (Page 44)

file fails on second loop.
 
The code works well on the first loop, but after the loop, the opening of the file fails. It seem...
[1 reply] : It is running as it should for a loop and is terminated at line 59 on ... (by drhingle)
Help with external files.
 
Hello there. I can guarantee this question has been answered before, but I have spent the past two h...
[2 replies] Last: Thanks a lot! That did help quite a bit! I was able to calculate the s... (by PregoPuncher)
Program running slowly - please help find any inefficiencies
 
I'm practicing for the Google Code Jam on this problem: http://code.google.com/codejam/contest/43310...
[4 replies] Last: Initially, all the Snappers are in the OFF state, so only the first o... (by cire)
Looking for Reading material on op overloading
 
I have been studying operator overloading and I understand the - + () and a few others but I am stuc...
[2 replies] Last: Number Number::operator+(Number num) { Number temp; ... (by jamie7823)
error LNK2019; linking issues
 
I am a beginner programmer working on an assignment for school. At least most of my code is correct,...
[3 replies] Last: You never call any of your get methods, so it's not surprising that th... (by Moschops)
by Krent
Segmentation error help
 
Hello, I am working on a project for my C++ class and i am almost finished but i keep getting a segm...
[2 replies] Last: Thank you so much! I finished it thanks to your help. It turns out i d... (by Krent)
Sum of Numbers
 
Hi again, everyone; I've got another question for you. I'm supposed to be creating a console program...
[2 replies] Last: Worked like a charm; thank you for your help, vlad. (by xerinex)
by y4n
Arranging letters of a word, without upper/lowercase concern
 
Hi friends, Today I am asked to make a C++ app which is used to arrange letters of a word alphabeti...
[7 replies] Last: Thanks Moschops your code runs well. I forgot if struct should be lo... (by y4n)
Sorting an array
 
Hello, I am writing a program that measures the time that it takes to sort a large array. The sort ...
[3 replies] Last: Wow! I considered that maybe it was just sorting really slowly, but I... (by Teerlinc)
resetting a string and an array for a loop
 
Im trying to allow the user to input a file into a char. example: char file ; cout << "what is you...
[7 replies] Last: So from what you mentioned, my char should be reset each time it is us... (by drhingle)
What is wrong with my selection sort?
 
Hello, could someone look over my selection sort function and let me know if my logic is messed ...
[1 reply] : void selectionSort(creative_type creativeArray , int length) { in... (by guestgulkan)
Replace character in txt file Problem.
 
Hi I have a problem to replace some specifics characters in a text file. First, I read the file and ...
[5 replies] Last: What ui uiho posted will get the string and replace all instances of "... (by NerdTastic)
how to leran c++ and were to read the book
 
good day masters in the house. I am a new face to this forum .i registered today. Pls, were do i op...
[5 replies] Last: www.thenewboston.org (by Need4Sleep)
opening ifstream with char
 
The program runs, but it exits when I give it an ifstream file with a char variable entered by the u...
[1 reply] : Any suggestion? Debug your code to find the problem. For example, ... (by Moschops)
by rya729
Basic encryption and strings
 
Hey, so i have been playing with trying to encrypt something in C++ but when i try to put my results...
[no replies]
by adijo
Code not working
 
#include<iostream.h> #include<conio.h> #include<stdlib.h> class weather_report { int *dd; i...
[12 replies] Last: I have one more doubt. In this program why is everything passed by ref... (by adijo)
Object based program
 
I am a database programmer by background. As part of my college program, I am studying c++. For some...
[1 reply] : I don't know what C++ you're learned already, or the aim of your cours... (by andywestken)
y/n code
 
#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv ) ...
[1 reply] : while (cont ||'y'); Let's make this code a little easier to underst... (by Moschops)
by Lebron
c++ where is the problem please help :((
 
This function is supposed to write squares like. when you enter 3 +-+ | | +-+ or when you enter ...
[no replies]
SDL Sprite positioning
 
Hi everyone, I'm currently making a simple Fragger-type game using SDL and Box2D. At the mom...
[10 replies] Last: Thanks BlackSheep. i finally sorted it out. What was happening was I w... (by commodorejim)
April 2012 Pages: 1... 4243444546... 66
  Archived months: [mar2012] [may2012]

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