
please wait
by suko123
Guess the Number Game
|
Hello, I am a beginner in C++ and really need help finishing my code. My program asks the user to guess a number from 1 to 1000 and when the user guesses the nu... |
Oct 16, 2014 at 8:54pm
[1 reply] : char response = 'y'; do { // generate number // // while( guess !... (by Esslercuffi)
|
by Slashdash
C++ Creating a design (instead of cmd)
|
Hello everyone I'm new to C++ and i wondered when you run your program after compiling it always opens up in a CMD window, right? My question is: Can I create m... |
Oct 16, 2014 at 8:50pm
[4 replies] Last: it is available in VS. When you create a new project, select a type o... (by Esslercuffi)
|
by bigmakk
Taking my first programming class.
|
Hey guys, I am taking my first c++ class and having a lot of trouble. I understand how to do basic stuff but I'm lost in using while loops and these other fu... |
Oct 16, 2014 at 8:45pm
[4 replies] Last: thank you very much guys I hope this will help might be a little too l... (by bigmakk)
|
by buddha87
new array must has a constant size?
|
When I use "new" to create a array like: int *a = new a ; do I have to declare the array with the constant size? Can I declare like int *a = new a ; ... |
Oct 16, 2014 at 8:29pm
[7 replies] Last: Thanks for all replies. Yes, vector is choice if I need the array size... (by buddha87)
|
by peter1993
need help to make this program run
|
Write your question here. #include <iostream> #include <iomanip> using namespace std; int main () { char Category A, char Category B, ... |
Oct 16, 2014 at 8:23pm
[no replies]
|
A intelligent library database |
Hi, I am using Xcode and i wanted to build a intelligent library database management system. I am a beginner. I want the user to enter what he wants to do... ... |
Oct 16, 2014 at 7:57pm
[8 replies] Last: Yup! looked it up in C++ Primer Plus book. Thank you all. (by omkarborkar95)
|
by DcGCodes
New wanting to learn
|
Hey im new and want to learn C++ What would you say the best method to learning is? Because im struggling here should i look at the code write it in notep... |
Oct 16, 2014 at 7:52pm
[8 replies] Last: If you're using windows (which I'm guessing you are since you're using... (by Esslercuffi)
|
by NOD32
Need help fixing these errors
|
I'm writing a program that takes input in the form of two fractions and then performs multiplication division subtraction or addition. I must use the 4 function... |
Oct 16, 2014 at 6:55pm
[4 replies] Last: ok i referenced those variables in the argument and the program is wor... (by NOD32)
|
by mitoma
Error switch, help me please!
|
hi guys, i have a problem whith switch.. help me please.. errors: - expected unqualified-id before "switch" - expected `,' or `;' before "switch" #inclu... |
Oct 16, 2014 at 6:32pm
[1 reply] : I hate to point these simple things out but it seems that your switch ... (by Tom56785)
|
by soranz
VS2010 new directory for classes to include/link to projects
|
I have a couple of classes split into .h and .cpp that I placed together into a separate 'classes' directory so that multiple projects can access them. Under ... |
Oct 16, 2014 at 6:28pm
[2 replies] Last: The classes have been tested in their own consoles so the definitions ... (by soranz)
|
by Ryuko Matoi
What did I do wrong that setw() function not working?
|
Correct me if i'm wrong. From my understanding of setw() function is to make spaces? So why is that my code not working? #include <iostream> #include <iomani... |
Oct 16, 2014 at 6:26pm
[2 replies] Last: setw creates spaces on one line.. if you want the output to be on line... (by coltehrman)
|
by patriic48
Passing objects from a swapfunction
|
I need to sort the vector and have made a swap function. I can´t pass the name and age to the function and don´t know what I´m doing wrong. Put the c... |
Oct 16, 2014 at 6:24pm
[2 replies] Last: Thanks tipaye! You solved Everything, now I have to study it. Incredib... (by patriic48)
|
by Bounnoy
Infinite Loop
|
Hi. I'm having a problem with this code. If I enter an integer value, it works just fine. However, if I type in a non-integer value, it keeps printing out the e... |
Oct 16, 2014 at 6:01pm
[8 replies] Last: You originally intended to reject entries less than zero or greater th... (by PCrumley48)
|
by sakonpure6
How does this code work?
|
Write your question here. # include <stdio .h> int abc (int a) { int x =10; printf ("\ t in abc before increasing : x= %d\n", x); x=x+a; printf ("... |
Oct 16, 2014 at 5:42pm
[3 replies] Last: int x =100; int a =20; a=abc(x); x=abc(a); This is in your c... (by Manga)
|
I just started with class and I need help debugging. |
I wrote this code and I cant figure out where it's all gone wrong. My complier says "ld returned 1 exit status" #include <iostream> class Employee { publ... |
Oct 16, 2014 at 4:31pm
[5 replies] Last: Thanks I did it and it works. I will update the code. PS: I am learni... (by IvanErlic2000)
|
by xello
Argument passing clarification
|
Hello guys forgive the code dump but if i can direct you to the few lines I have highlited in bold about half way down, I am looking for some help not with the ... |
Oct 16, 2014 at 4:26pm
[5 replies] Last: Thanks a lot for that info that clears it up for me. I'd be all over y... (by xello)
|
My ternary operator |
I don't think I'm understanding how this works. int diceTotal = diceDisplay() + diceDisplay(); //combine total of both dice cout << "You got: " << di... |
Oct 16, 2014 at 4:20pm
[1 reply] : Then the ternary operator is inappropriate. What you're saying now (tr... (by booradley60)
|
by CaseyM
Triangle Problem
|
Hello Everyone! I've been taking a intro to C++ class at school and was given the following practice problem: Write a program that asks the user to input ... |
Oct 16, 2014 at 3:59pm
[2 replies] Last: Straightforward solution: 1) Find offset O by substracting respective ... (by MiiNiPaa)
|
by omerl1232
Program to check numbers inputed
|
Write your question here. I was asked to write program that checks numbers inputed by a user. It basically checks whether the number inputed is a perfect num... |
Oct 16, 2014 at 3:54pm
[1 reply] : Line 65: num is a local variable. You don't pass it as an argument t... (by AbstractionAnon)
|
by thor36
strcpy_s from an old C/C++ library in C++ program
|
Hello all, I am trying to write a program that uses a library, which is rather old and was originally made for use with C, but is supposed to work well with C+... |
Oct 16, 2014 at 3:26pm
[4 replies] Last: Since the strcpy_s() function was used incorrectly in the first place,... (by jlb)
|