General C++ Programming - July 2013 (Page 4)

Getting handle on edit control of selected window
HWND spamWindow = GetFocus(); if(spamWindow == NULL) return FALSE; ...
[no replies]
I don't understand the error
Hello, I have a code but I can't compile and I get an error like this: (for line 5) error C2109: ...
[8 replies] Last: Thank you very much Andy! (by gelatine)
passing values to functions.
Hello, I am trying to get some confirmation about how to pass to functions. If you want to assign de...
[4 replies] Last: Thanks again спасибо (by melvyndrag)
by Finn25
I can't seem to do this. How to do this? Need Help Quick!? Task: Numbers game Two players A and ...
[2 replies] Last: show us the code you have so far. (by Hertz)
robust corner detection
Hey guys I am trying to find a good way to implement a good corner detection function. below i...
[no replies]
passing extra parameter to operator function
Hello I have a class and I would like to be able to pass an extra parameter to the function that is ...
[2 replies] Last: Okay thanks for the answer. (by gelatine)
Error i can't fix
I'm working on a store management program, and i created a Windows Form for verifying login details ...
[1 reply] : show the code for textBox1/2 (by huike)
C++ Question
I had a question that involved arrays and 2 different classes.lecturer told us to make a Win32 Conso...
[no replies]
Having troubles regenerating a random number, gives me same number in C++?
Hi, I am trying to generate a random number, and then the user guesses it. Once the user guesses the...
[2 replies] Last: You should get your random number a medkit (by huike)
How to declare an array with const size inside of class?
I wanted to add that the template argument is needed because its a "special case" but if that doesn'...
[2 replies] Last: If it creates an array of size 2 then yes, that would be correct. (by lostwithcpp)
reading data from text files when given a specific line
hello, i am currently making a game where data is saved and loaded. i have used fstream to read and ...
[no replies]
input of the form: 2 4 1 3 2 1 2 0
how can we take an input of the form; 2 4 1 3 2 1 2 0 on the console from the user and then use th...
[2 replies] Last: thanks @tath (by haroonRasheed)
instance of 'std::out_of_range' problem
this is the message I get when I compile my program: terminate called after throwing an instance of...
[3 replies] Last: Why not just check that the string is long enough before looking for t... (by MikeyBoy)
Questions about passing values to functions
Hey guys, first time posting so i hope im not completely retarded with my code. Basically what im tr...
[7 replies] Last: You need to pass the values by reference to the function. If you... (by MikeyBoy)
by msadr
search in file
I want to search a txt file, when I find the word,i looking for; how can i go back in file, to searc...
[6 replies] Last: thank u so much, it was useful. (by msadr)
parameterless constructor question
A sample problem I've become stuck on.... Sally The Programmer is working to improve a class ca...
[2 replies] Last: A flash drive might have a substantial amount of initialization that m... (by htirwin)
by winten
Jsoncpp dll's?
Hi, I am new at c++ and I have a feeling that I am doing something wrong. I decided learn using json...
[2 replies] Last: but It does not have any .dll files I do not need to link anything? (by winten)
Input when equals key is hit
I am working with OpenGL and I'm trying to allow hitting the enter key to zoom in. However, it won't...
[1 reply] : void handleKeypress(unsigned char key, int x, int y) { const unsi... (by cire)
Please help -- Text Game problem
Hey everybody. I'm having trouble with a text-based shooting/decision game i'm making. The problem i...
[2 replies] Last: Thanks so much! (by reedrocks58)
need help with a program!! need help asap
I cant modify my main function and I have to sort students.avarage I got the code but it just does...
[5 replies] Last: I would agree with u on that but my professor gave me specific instruc... (by manuelsant)
July 2013 Pages: 123456... 34
  Archived months: [jun2013] [aug2013]

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