General C++ Programming - April 2012 (Page 29)

by BotHH
Sum of an Array problem
 
Hi everyone, first post here but I've been lurking for a lot longer I just can't find an answer thro...
[11 replies] Last: That means 2.99712 x 10 9 . Basically the computer version of scientif... (by LB)
Error is giving the following code while printing the content of vector of structure
 
When I try to print the content of vector of structure of variant of vector the following big u...
[7 replies] Last: @Pravesh Koirala - Yes exactly. (by clanmjc)
by Deran
Composite class problem
 
Hey! My current project is divided up into four classes that manage different areas of the progra...
[2 replies] Last: If the four classes you have need to know about each other at all time... (by LB)
use of delete (class)
 
Having issues using a delete in another function to clear my new or anyone have any suggestions to j...
[3 replies] Last: Try making a constructor and using a reference: class CTBoneStake { pu... (by LB)
lightbulb moment please: for overloaded function prototype
 
Need advice on overloaded function headers...I have an error message that reads "overloaded function...
[1 reply] :                 RationalNumber operator* (RationalNum... (by LB)
by gws923
Updating members of std::list
 
Hello all, I have a PointManager class which inserts Points (another class) into an std::list. Poi...
[2 replies] Last: Interesting. The problem must be somewhere else. Right now it's just... (by gws923)
by dij
Class member Boost multiThreading recursion
 
Hi everybody, I have the following situation: This code compiling and runing Ok: #include <iost...
[no replies]
by Krome
'Native' Program in Visual vs gcc
 
My background: I am a new programmer, taking an "intro to programming II" class (as in white board a...
[4 replies] Last: Thanks for the help everyone :) The code under the while loop was mea... (by Krome)
How do I generate spaces into blank chars
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main() { string ...
[3 replies] Last: Alright thanks for all of the help! (by smurf12125)
C++ program for avg ship capacity.
 
Hello all, I have written a C++ program containing arrays, loops, and all other beginner material a...
[1 reply] : You never initialized totalcapacity. Also, you don't want to do the c... (by doug4)
Thread priorities and Debugging
 
Hello, I wrote a program to access 2 cameras, using 5 threads: 1 main Thread, 2 threads to transmit...
[no replies]
Help with inFiles & outFiles
 
I'm so close to finishing this program. Please offer your assistance, if you are skilled. ^_^ ...
[9 replies] Last: Put a break point @ while ((inFile >> id)) verify you are reading th... (by clanmjc)
by shaggy
RPG and <ctime> issue
 
Hello i decided to make a small text base rpg game, but i might add a GUI with SDL when im done. It ...
[no replies]
Calling for minimum among arrays
 
Hey guys, I have a program where I need to call for a minimum for each value of an array. I have no ...
[4 replies] Last: > I understand how min_element works ... but it had something wrong wi... (by JLBorges)
c++ calculating book age
 
Hi guys, I'm new to c++ and i cant seem to figure out a problem I'm having to calculate the ages of ...
[2 replies] Last: I get the full book list with that code. I want that but I want to ran... (by tomatoes1program)
Seemingly simple problem I'm having...
 
I'm writing a program for my computer science lab, and the professor provided us with the header fil...
[2 replies] Last: we can't do much without the code. (by buffbill)
File Input help
 
I am trying to make a simple input file to save as a text #include <iostream> #include <fstream> ...
[7 replies] Last: use an if statement or a loop of some sort and just make it so it stop... (by Iamcat)
Vector resize(unsigned int n, k=0)
 
I have my resize function working if two arguments are given( resize(4,9)). However when the compil...
[12 replies] Last: lol std; (by Iamcat)
by arooj
Program Flashing and Disappearing Problem When Executed,
 
When I try to start my program without debugging, the command prompt screen flashes and disappears, ...
[3 replies] Last: Check the post in the beginners forum for a lot of different way to co... (by Need4Sleep)
Problem with function inside forloop
 
Im having problems with using a function in a forloop. i keep getting an error saying its not declar...
[2 replies] Last: damn sorry its late. ha (by oobie2142)
April 2012 Pages: 1... 2728293031... 49
  Archived months: [mar2012] [may2012]

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