General C++ Programming - November 2012 (Page 35)

by noo1
my output text file grows uncontrollably
 
Can anyone tell me why/how I'm messing up this simple code? It reads a text file and outputs what...
[7 replies] Last: THANK YOU SOOOO MUCH!!! Here's my pretty new code. I really love lea... (by noo1)
SFML Networking issue
 
The program should run as follows: Client sends a message to the server, server then sends that mess...
[no replies]
How do I calculate the mean for this C++ program?
 
Define a getMean() function with the specification and prototype shown below: // Return the sum ...
[2 replies] Last: I don't understand your correct output results. Maybe lack of neccessa... (by Imadatobanisa)
Fastest way to output
 
Hi, I have a function which returns a 2d array. I want to print this 2d array out into a file (on...
[2 replies] Last: A while ago I was playing with "the game of life" http://en.wikipedia.... (by Chervil)
How to printf character whose decimal is above 127
 
I am trying to printf a character from a file whose byte value in hex is CC. it is printing 'ffffffC...
[8 replies] Last: I learn something everyday, I will go and trace it one instruction at ... (by mendozae)
Optimized return value
 
There has been lots of discussion and compiler experiments with optimizing the return value from a C...
[4 replies] Last: to instruct the compiler to elide the copy constructor You do that ... (by Cubbi)
Simple problem but cant seem to fix
 
here's my code: #include "stdafx.h" #include <iostream> #include <string> using namespace s...
[3 replies] Last: I found the problem, i also had to make the void function take and pas... (by Reaper1)
Dynamically Allocated Errors!
 
Hey, I was working with a few of my programs using dynamically allocated arrays and they never seem ...
[1 reply] : I'd normally recommend Memtest86, but Windows 7 already has a memory t... (by Catfish2)
Help on comparing two vectors
 
#include<iostream> #include<fstream> #include<string> #include<vector> #include<algorithm> #inc...
[2 replies] Last: If you're getting "core dumped", you are supposed to load that core in... (by Cubbi)
Vector unincrementable.
 
I think this has something to do with a problem I had before with pointers but I can't figure it out...
[7 replies] Last: virtual void onKeySpace() { for(e_it=entities.begin(); e_it<ent... (by cire)
program construction help
 
hi all, I need help doing this program. {a C++ program that generates all the possible representati...
[5 replies] Last: This seems hard. I'll come back tommorow, with a proper and correct re... (by Imadatobanisa)
Special Matrix, why doesnt work?? Please somebody help
 
Write a C program that prepares an m×n matrix of integers whose first line contains integers from ...
[9 replies] Last: #include<stdio.h> //Only Power() is changed int Power(int j, int i,... (by Imadatobanisa)
Need some advice to write binary numbers program...Please
 
Below is the output I need: COMMAND Operand #1 Operand #2 Shift Result -------------...
[2 replies] Last: I saw another question on a similar topic recently, and looked at how ... (by Chervil)
Updating existing deque structure element
 
Hi all I want to update the existing struct deque element without affecting anything else. he...
[1 reply] : If you know the index of the element then you can use it to access thi... (by vlad from moscow)
Pointer help
 
Hi... I'm trying doing a exercise. This (strange) exercise's called "A pointer data manager class...
[2 replies] Last: @Jackson Marie (26) Thanks you. But, I don't understand your algorithm... (by closed account E079216C)
Need quick Help regarding my program here
 
Hello, Can anyone do this program in C++: Write a program that will help you find the total cost ...
[3 replies] Last: are you available on gtalk ? Please tell. (by sachincoder)
Can I determine the number of member of a Structure?
 
This is part of my UCSD homework. If anybody does not feel answering it, I am OK with it. If I ha...
[10 replies] Last: It appears I do not have any choice, but I have to look inside the str... (by mendozae)
How do I get the last number isolated out of a count variable?
 
I've been working on this program to get input letters to repeat certain amounts of ones and I want ...
[14 replies] Last: I took this project a whole other direction with strings. Now all I go... (by Quantum7)
Help With boolean functions & return values
 
This is the prompt: "Your Target Heart Rate is the rate at which your heart should beat to get the m...
[3 replies] Last: Oh wow, how did I miss that. Thank you cire & kbw. (by someWeirdGuy)
Component reliability
 
I am working on the same question as another member posted here, but I am going about it slightly di...
[1 reply] : @zblackbeast Firstly, please edit your post so it uses code tags - ... (by TheIdeasMan)
November 2012 Pages: 1... 3334353637... 51
  Archived months: [oct2012] [dec2012]

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