
please wait
by kittycat
linear to binary help
|
how would i write this code in to binary search ? #include<iostream> using namespace std; int lotteryList ; int main() { const int LOTTERY = 10; int n... |
May 13, 2013 at 1:49am
[4 replies] Last: Thank You :) (by kittycat)
|
by Aero9
Converting a memory Address into an int
|
Hello, I have been trying to figure out a way to convert a memory address, 0x200G69, or something similar, into an integer. I was hoping someone could help. I... |
May 13, 2013 at 1:09am
[6 replies] Last: Here, I think I have been making it seem more confusing. I am trying ... (by Aero9)
|
by lrmg14
I need help with adding something
|
I have a project file about an election. I have typed below the output of the project file. Waht I need to do now is to add a function to ask for the number of ... |
May 13, 2013 at 12:38am
[3 replies] Last: ohh sorry, the "voter" is used when i tried to do something else on my... (by lrmg14)
|
by Irishfitz
C++ without fear exercise 5.1.2 help!
|
There is an exercise in this book that asks to make an array of 5 integers, then print all of them and then the sum of all the numbers. I thought i knew how to ... |
May 13, 2013 at 12:06am
[13 replies] Last: Only it is a bad style of programming to use such identifiers as x as ... (by vlad from moscow)
|
by wavebulb
boolean functions problem
|
I am trying to write a code that will read a .txt file and then output the number of words.I am trying to accomplish this by having a boolean variable inWord an... |
May 12, 2013 at 11:48pm
[2 replies] Last: so I moved the function declaration outside of main and now my program... (by wavebulb)
|
by elmoro15
ARRAY..... Help????????????????
|
hello guys.. i know that an array is always passed by reference in C++ when we use it with functions. but what if we use the reserved word const for examp... |
May 12, 2013 at 10:46pm
[6 replies] Last: This function void get(int z ); id equivalent to void get( int *p )... (by vlad from moscow)
|
by cat023
Basic namespace query
|
I'm starting up C++ after being familiar with C, Java and Python. I'm unsure about some concepts behind including headers. I'm currently using the Eclipse C++ I... |
May 12, 2013 at 10:34pm
[2 replies] Last: Ok thanks, this is a lot clearer to me now. (by cat023)
|
by destroyer333
Postfix Operator help.
|
So i believe i got my prefix working, now i'm trying to get my postfix working so that the class object happy should have its day increased by 1. Not sure whats... |
May 12, 2013 at 8:07pm
[7 replies] Last: got the program working, thanks for the help Thanks vald from moscow ... (by destroyer333)
|
by the5thace
Why does this function crash?
|
I'm sorry about the question but I have been studying this for a while and can't figure out where the error is. This is a translator function that should be abl... |
May 12, 2013 at 7:48pm
[11 replies] Last: Well, this won't directly cause a crash, but it will surely cause inco... (by Chervil)
|
by Thewill4u
hellllllllpppppppppppppppppppp....how to fire a bullet in this code? SDL
|
how would I go about firing a bullet within this code? one method i did was create a n object and have it start up on key press buttttt when I did that it repla... |
May 12, 2013 at 7:28pm
[no replies]
|
by Bolong Yu
String
|
How to write a function that reverses a string but not the positions of the null terminator? |
May 12, 2013 at 7:09pm
[2 replies] Last: #include <algorithm> /*....*/ char x ; std::strcpy(x, "Hello"); std:... (by MiiNiPaa)
|
by tjnapster555
find the root of the equation ax2+bx+c=0
|
I want to find roots of the equation ax2+bx+c=0 searching different programs for quadratic equation I don't get the answer I want for example input a=1,b=1,c... |
May 12, 2013 at 6:58pm
[3 replies] Last: yeah but if it is +6 maybe b is 10 and then b²is > -1 * ( 4 * 1 * 6) ... (by giblit)
|
by M159LE
Just a few quick Q's!
|
Hi all... I just need help with a few short questions. I am still very new to C++. I am doing some excercises (which I don't have the answers to) in order to ge... |
May 12, 2013 at 6:44pm
[8 replies] Last: And another thing, English is not my first language, so it's sometimes... (by M159LE)
|
by Rascal
push_back
|
Hi, When I try to compile the code below I get this error: error: expected ';' before 'push_back' at line 17 but am unsure where I am missing it as I have tr... |
May 12, 2013 at 6:39pm
[2 replies] Last: Second set of eyes always helps. Thanks firedraco, appreciate your qui... (by Rascal)
|
by sakonpure6
how to make .exe file?
|
I made a hang man game and I want to be able to execute the code using a .exe file like hangman.exe. How do I do that?! Thank you for your time! |
May 12, 2013 at 6:15pm
[1 reply] : nvm I found the .exe file where I saved my project! xD (by sakonpure6)
|
by Dario z
Need a new C++ Book.
|
Hello, I was reading accelerated C++, and the first 2 chapters went fine, but when it went to loops(chapter 3) I didn't understand anything, and they used to... |
May 12, 2013 at 5:34pm
[4 replies] Last: Try Computer Programming For Teens . It has a very good structure, pl... (by SourceCoded)
|
by Rascal
strcat
|
Hi, I have the question below: Explain what is wrong with the following code: char sms = "Gr8", strcat(sms, " & )"), NB strcat concatenates " & )... |
May 12, 2013 at 5:07pm
[3 replies] Last: Thanks so much guys. The q is just to find what is wrong with it but i... (by Rascal)
|
by hatefacecore
Using a Return
|
I won't post the entire code because it ranges about 200 lines. Only one part of my code is giving me trouble. I made a function that returns a different number... |
May 12, 2013 at 4:57pm
[3 replies] Last: Great idea! Thanks! (by hatefacecore)
|
by Foxefde
Need serious help with SFML , BEGGINNERS SKYPE CHAT
|
Okay...Configured SFML ,did everything was needed with CMAKE ,made a new project,added a simple cpp file,simple code...compiled ,but what now? Wanna... |
May 12, 2013 at 4:53pm
[no replies]
|
by BeastlyHex
Game Over
|
Im New To C++ And When I Open The File The Window Just Opens And Closes. Ive Been Told To use pause but i dont know where to use it in my code HELP #include<... |
May 12, 2013 at 4:10pm
[9 replies] Last: Ah sorry I never use cstdlib (by giblit)
|