
please wait
by Josh Henry
Histogram Array!
|
hey so I have an almost complete program that asks for test scores all entered on the same line and a sentinel value of -1 after the last score is entered your ... |
Feb 26, 2013 at 2:48am
[no replies]
|
by Ch1156
xoring values from vector?
|
Ok so im trying to xor values from the vector but im not sure how to go about doing it? #include <iostream> #include <vector> using namespace std; ... |
Feb 26, 2013 at 2:37am
[2 replies] Last: xor needs another value after the operator: 34 ^ 89 cout << (vars.a... (by Smac89)
|
by saidalbahri
Arabic Numerals to Roman Numerals
|
In this question, we will utilize a web service that converts Arabic numerals to Roman numerals. Below is a skeleton for using this web service (gsoapNumRoman.r... |
Feb 26, 2013 at 2:24am
[no replies]
|
by saidalbahri
x[i] = i( i=0, 99 ) please help
|
Hello there, Because my lab instructor is so annoying and he absolutely explains nothing.. Can I get help with this: Question 1: One-dimensional Array ... |
Feb 26, 2013 at 2:12am
[4 replies] Last: Thank you so much for explaining. (by saidalbahri)
|
by am0n
Can someone please explain this algorithm to me?
|
using namespace System; void main() { int n; int key; int i; int A = { 66,55,444,33,22,111}; ... |
Feb 26, 2013 at 1:56am
[12 replies] Last: n = sizeof(A)/sizeof(int) This calculates how many items (of type in... (by DevMentor)
|
by t1tmoney
Function Understanding
|
a = "First" b = a //does this not the value "r" to b ? does this work on numerical values? Can I grab more than one at a time? I am working on a projec... |
Feb 26, 2013 at 1:05am
[3 replies] Last: I don't know what port1 or port2 are. As for sending the values, y... (by closed account zb0S216C)
|
by sh129951
Changing an input to output a "space"
|
I've been fumbling around with making this tic tac toe program work correctly. When the user inputs a " . " (period) in the array, i need it to just print a b... |
Feb 26, 2013 at 12:48am
[3 replies] Last: No problem. (: (by Lynx876)
|
by ausairman
typedef scope!?
|
This is probably something quite simple, but I'm having trouble declaring a typedef in my namespace scope. Here's a simplified example: // typedefs.h namespa... |
Feb 26, 2013 at 12:30am
[3 replies] Last: [quote=ausairman] // class_a.h #include "typedefs.h" namespace MyProj... (by closed account zb0S216C)
|
by ApacheOmega
Why is the last part of my sequential search algorithm not functioning correctly?
|
I built my sequential search program and everything checks out ok, but at the last part where its supposed to catch a non existing value and output a message "V... |
Feb 25, 2013 at 11:36pm
[4 replies] Last: Thank you fellas I finally figured it out by setting i=sSearch. I didn... (by ApacheOmega)
|
Class Help |
Hello, I am currently a programming student, and i have a question that is similar to nested class's. I want to have a few class's that are coding wise ... |
Feb 25, 2013 at 11:30pm
[3 replies] Last: Do you mean something like this: ? Engine.h #include "gameBoard.h" ... (by Lynx876)
|
by Sspangler
Identifier not found
|
I'm getting the error on add, subtract, multiply and divide. I'm sure i'm missing something really simple but for the live of me i can't figure out what it is. ... |
Feb 25, 2013 at 11:17pm
[4 replies] Last: I got it. Thanks for the help, much appreciated. (by Sspangler)
|
by Lynx876
c++ 11 Copy constructor.
|
So, I've never used a copy constructor before and saw the following post: http://www.cplusplus.com/forum/beginner/93795/ So I thought I'd have a go at it. I... |
Feb 25, 2013 at 11:11pm
[2 replies] Last: Oh, ok! Thanks. (by Lynx876)
|
by Belyvr
Tic Tac Toe Problem
|
Ok so a follow on to my last post still a newb at this so please bare with me, I can get the game to play but declaring a winner does not shut the game down it ... |
Feb 25, 2013 at 11:09pm
[9 replies] Last: I think the last few lines of function CheckWin() [code firstline=23... (by Chervil)
|
by ADTR2012
Help with Lottery program
|
I am having trouble with this program. It works correctly if the user loses but not if the user wins. If the user wins it prints out nothing. #include... |
Feb 25, 2013 at 10:54pm
[4 replies] Last: Thank you everyone! Makes sense now, just a dumb mistake I didn't noti... (by ADTR2012)
|
recursion problem c++ |
#include<iostream.h> #include<conio.h> using namespace std; int re(int); int main() { int a, asd; cout<<"enter number\n"; cin>>a; asd=re(a); cou... |
Feb 25, 2013 at 10:29pm
[2 replies] Last: The original program doesn't print all the numbers, it just decrements... (by jim80y)
|
by bondman
3 Functions with Loops
|
Hi guys, Trying to solve an issue while studying but I am stuck. Basically, I have 3 functions. For the first function, I have to convert an input f... |
Feb 25, 2013 at 10:15pm
[4 replies] Last: You have a mix of two approaches. If you don't need the values of out... (by jim80y)
|
Maths Teacher |
Hi, I'm trying to develop an application to answer any maths questions. As a maths teacher the maths is easy for me. But how do I print out a divide symbo... |
Feb 25, 2013 at 8:22pm
[9 replies] Last: thanks a million, works a treat: http://www.cplusplus.com/doc/ascii/ ... (by paulbrassington)
|
by tpinon
passing arrays to functions
|
hi guys, need your brains. I'm getting an error when trying to compile. "variable of field "Input" declared void" What's wrong with void? I'm not returning a... |
Feb 25, 2013 at 8:12pm
[10 replies] Last: What if user enters 2 employees? Then the entire program will print ir... (by Smac89)
|
by jimJohnson
very simple question - multiple source.cpp files
|
Feel like anidiot for asking this but I am trying to build a program with multiple .cpp source files. When I try to run the program it only will run my main .c... |
Feb 25, 2013 at 7:36pm
[2 replies] Last: Multiple files could be considered as just a convenient way of handlin... (by Chervil)
|
by am0n
What does this mean?
|
Hello, can you tell me what does this mean int A = { 66,55,444,33,22,111}; n = sizeof(A)/sizeof(int); And what's sizeof(int)? |
Feb 25, 2013 at 6:27pm
[6 replies] Last: Thank you all. (by am0n)
|