
please wait
by AandR2024
Need ideas.
|
I'm new to C++ and have a program that the person talks to the program. It is about 500 lines and has different responses depending on what you say. It asks que... |
Jul 8, 2012 at 3:38am
[1 reply] : -Modify it so it's easily readable. -Modify it to ask some of the same... (by Phil123)
|
by scout51
Identify Items in the code
|
I need to identify some items on the code below, Is pretty much done but I need to make sure I have the correct answers. Need to identify: a.- Function protot... |
Jul 8, 2012 at 2:16am
[5 replies] Last: Thanks so much guys for your input. (by scout51)
|
by AlitCandle
Array help
|
I'm trying to get the user to enter in 5 numbers into an array using a for loop. This is what I'm using. #include "stdafx.h" #include <iostream> using names... |
Jul 8, 2012 at 1:03am
[3 replies] Last: :) (by Phil123)
|
by ainhoss07
Cannot take multiple string inputs in an infinite loop.
|
Concept: The following code was developed to perform simple encryption/decryption on a TEXT(string) input by user(read using scanf), by XORing it with a KEY(int... |
Jul 7, 2012 at 11:55pm
[5 replies] Last: http://cplusplus.com/reference/clibrary/cstdio/fflush/ if it was open ... (by ne555)
|
by PhonyWizard
Overhead involved in searching a vector?
|
Hello and thanks in advance! I am writing an application which uses a vector to store quite a few elements; as the program goes on, the vector will come to s... |
Jul 7, 2012 at 11:08pm
[2 replies] Last: Ah, this sounds great; thank you, sir. (by PhonyWizard)
|
by Riches321
Pokemon C++ help.
|
Me and my friend are making a pokemon game in C++. Right now we are on the Engine, we do not know what we need now. Pastebin link - (Code to long) http:... |
Jul 7, 2012 at 9:54pm
[6 replies] Last: About movement, you should handle your WM_KEYDOWN and WM_KEYUP message... (by S G H)
|
by JoelGuru
Arrays and nested for loops
|
i am trying to write a c++ program that would accept string values from user at run time. eg, firstname, lastname,matric number etc. the user should terminate i... |
Jul 7, 2012 at 9:43pm
[8 replies] Last: Thanks a lot of the help, guess i can move on with formatting the outp... (by JoelGuru)
|
by tableforone
Going beyond basic text based functions?
|
Hi, I've been studying basic c++ programming for a while now using Dev c++. I have a good foundation of the basic functions C++ has to offer. But I've noticed t... |
Jul 7, 2012 at 9:33pm
[2 replies] Last: Well. There are many libraries in the internet offering functions, suc... (by eraggo)
|
by Fransje
Passing by Reference
|
Hi all! Could someone explain in detail to me what passing by reference actually is, and what the difference is between passing normal variables and passing th... |
Jul 7, 2012 at 7:37pm
[5 replies] Last: @Fransje: Sorry I changed it from a '*' to a '&' (by Script Coder)
|
by BR41NFCK
Function of unknown or union type
|
Let's imagine a situation like this. We have a function that performs some sort of calculations. The result can be either 1,2 or 3. Depending on the result we w... |
Jul 7, 2012 at 7:24pm
[9 replies] Last: Here is a working example by analogy with the example in the message a... (by vlad from moscow)
|
How Should the std::initializer_list Be Passed to a Function? |
Should it be passed by reference, constant-reference, or value? I get the feeling that it should be passed by reference. Wazzak |
Jul 7, 2012 at 7:00pm
[3 replies] Last: It's not an array, it's a view. A pointer and a size or two pointers. ... (by Cubbi)
|
SFML1.6 to 2.0 |
So I finally made the change over, and brought up a test project to test some things out. Linking the to lib folder alone gave me errors about missing dll's, so... |
Jul 7, 2012 at 6:45pm
[13 replies] Last: @ResidentBiscuit Did the threads Laurent pointed you to suggest if thi... (by naraku9333)
|
by Solarmew
Creating a dynamic array and sending it to a function.
|
ok, so I am a total noob :D I'm actually math major, only took intro to compsci. I've been playing around with trying to create a genetic algorithm to calculat... |
Jul 7, 2012 at 6:44pm
[19 replies] Last: yeah, so i definitely messed up my algorithm >.< would anyone like to ... (by Solarmew)
|
Functions with pointers to arrays of arrays |
I've been trying to use a 10x10 matrix: int nAreaGrid ; to represent a two dimensional area of 100 square units. To do this I've been intending for eac... |
Jul 7, 2012 at 6:25pm
[8 replies] Last: Sorry it's taken me so long to reply here, I've been busy/frustrated. ... (by Commisar Jimp)
|
by omgcplusplus
Creating a monetary conversion program
|
Hello everyone, I am obviously a beginner at c++ but have referenced your website many times since I began this class. I NEED help in writing a monetary conver... |
Jul 7, 2012 at 6:21pm
[5 replies] Last: hello Script Coder, Thanks for the heads up, I did as you suggested b... (by omgcplusplus)
|
by Blessman11
running cmake from terminal
|
What command do you type to start running cmake from the terminal in ubuntu 12.04? Or, Would I have to locate cmake instead? (I installed the latest version ... |
Jul 7, 2012 at 6:06pm
[4 replies] Last: Alice To run cmake from the terminal, you type cmake in a terminal. ... (by ne555)
|
Reference arguments in ellipsis |
Here's a simple function with an ellipsis in it. void func(int n,...) { va_list list; va_start(list,n); int arg = va_arg(list,int); // what am I sup... |
Jul 7, 2012 at 5:29pm
[9 replies] Last: Thank you! That's exactly what I was looking for :] (by closed account DGvMDjzh)
|
by Digiza
Random Number with Weight
|
Hey Guys / Girls I recently got a little Arduino which uses a c++ platform. What im trying to do is make a little applet that will on button press light a... |
Jul 7, 2012 at 5:29pm
[2 replies] Last: Couldn't you just use a switch or if else nesting? (by Callum5042)
|
by rithan
need to calculate total volume of the sphere at the end
|
This is my coding i done..I just stck at the end part where i have to add the total all the value of volume. #include <iostream> #include <math.h> us... |
Jul 7, 2012 at 4:53pm
[4 replies] Last: 4/3 In C++, that equals one. Try 4/3.0 (by Moschops)
|
by fen
How to use mathematical expression in string format as a function
|
Hello everybody! I'm writing program solving differential equations. I'd like to have an option of inserting my equation through standard input. I define an eq... |
Jul 7, 2012 at 3:57pm
[2 replies] Last: Parsing can be an ugly process, and kind of frustrating. I think regex... (by ResidentBiscuit)
|