General C++ Programming - October 2012 (Page 4)

How to include a menu using an array
 
from this code how to include a menu using an arrray.by adding getNames, sortNames, displayNames, fi...
[no replies]
General Header-file question
 
I'm certain that this is a very basic question, but i'm hoping for a little guidance. NOTE : I'm ...
[4 replies] Last: yep, no class is needed (by Need4Sleep)
CAN A TEMPLATE CLASS HAVE A FREIND FUNCTION IN IT?
 
Hi everyone, Can a template class have a friend function? like this: template<class Type> class m...
[4 replies] Last: You declared non-template friend function but are trying to define it ... (by ne555)
cash program guidance
 
-
[5 replies] Last: for future reference, when your topic is finished simply mark is as so... (by Need4Sleep)
error in the main
 
#pragma once #include<string> #include<iostream> using namespace std; class Student { int ...
[1 reply] : Please don't make us guess. If there is an error message, tell us what... (by Moschops)
by Mary90
How to declare a function?
 
Hi, first of all, I'm beginner. Sorry for the stupid looking question. I want to split my codes s...
[4 replies] Last: Glad I could help! (by SuperSonic)
solve c++
 
• Class Node: • next, a private member that points to the next node in the list. • back, a pri...
[2 replies] Last: I didn't know C++ was a problem, what have I been doing all this time ... (by closed account o1vk4iN6)
not clear on the refrenced parameters
 
so far on my code i have the code for distance, slope, intercept , and line equation. i have to do a...
[1 reply] : What exactly do you not understand? The function takes 6 parameters, t... (by Need4Sleep)
Probelm with a c++ makefile
 
Dear forum members, I am writng in relation to a problem I have, when trying to compile a c++ sou...
[9 replies] Last: I just tried replacing icc with g++ / icpc and everythig is fine. I he... (by wronski123)
by ekorad
Attaching a c++ program to a file
 
Hello everyone! Can anyone please tell me how to attach a C++ program to a file? (i mean, when i ...
[11 replies] Last: I knew i could do it with the CreateProcess() but i was hoping you cou... (by ekorad)
Random Number guessing game enhancement
 
// Reaper #include <iostream> #include <cstdlib> #include <time.h> using namespace std; int main...
[3 replies] Last: no prob (by closed account 2wpSLyTq)
Don’t know why this doesn’t work
 
The code in BOLD is supposed to calculate whether the sum of a number’s factors are less than, e...
[2 replies] Last: Thank’s figured it out :) But now when I have it return one of the I... (by Connor Williams)
Help multiplying complex numbers. I cant seem to figure out how to get the math part sorted out correctly. Can anyone help?
 
// s Complex Numbers.cpp : This program should allow the user to add, subtract, and multiply compl...
[5 replies] Last: No problem. Glad I could help. :) (by jumper007)
SimpleInventory Program C++
 
Is there other way to solve this solution other then this one? // A simple inventory progr...
[1 reply] : Nice program What is the purpose of argv ? One problem i found is if... (by SamuelAdams)
by gghf
I need help creating a beginning program
 
Hi I need to create a program that makes the user input numbers and the program then tells them if t...
[9 replies] Last: I'd like to make it clear enough for you @gghf. A number is even if n ... (by jumper007)
by bezad
Msvcr90.dll Not Found
 
I've been seeing this error too many times in VS2008. "The program can't start because MSVCR90.dll ...
[2 replies] Last: This happens in both debug and release mode. I've found out that turn... (by bezad)
please help by filling 2Dvector
 
Hi; I want to fill a 2D vector by some floats. can i use list.push_back again? How?for example I ...
[3 replies] Last: lets say you want a matrix like this: 0 1 2 3 4 5 6 7 8 Just const... (by Stewbond)
problem with "<<"
 
although y and the vectorm temp is defined as floats it gives an error about this line. y >> temp....
[9 replies] Last: should i not use v.push_back?? how to define v? (by noktalivirgul)
Random # (1,2)
 
i was wondering if there was a better way to generate a random number than srand(time(0)); ra...
[21 replies] Last: @Helios @Disch Thanks for the time(0) info. I thought I read somewher... (by whitenite1)
What does this code do?
 
Hello people, I'm looking through a program for school, and I found this code inside it: #import ...
[4 replies] Last: Ok, thanks for the info. This helped a bit :) (by SuperSonic)
October 2012 Pages: 123456... 50
  Archived months: [sep2012] [nov2012]

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