Beginners - August 2016 (Page 19)

How to create 2 push buttons
 
//Iam not an expert in WIN32 // how can I create two push buttons? I got a source code but there is // only one push button, I need two push buttons // find...
[7 replies] Last: if (wParam==IDB_BUT) The button ID is extracted with LOWORD(wParam... (by closed account E0p9LyTq)
Documentation of c++
 
I want to find a documentation of c++,like the java API.Does any one know something like that ? thank yon!
[3 replies] Last: a couple more (from http://en.cppreference.com/w/cpp/links ) Microsoft... (by Cubbi)
by aloz
very simple program lvalue required
 
I get lvalue required in if statement.. but can't figure out what's wrong. Thanks. #include<iostream> #include<conio> int main() { int num = 0, even =...
[2 replies] Last: haha how could i be so dumb.. thanks! (by aloz)
by stas76
help with CodeBlock
 
Hello I've installed Code Blocks 16.01 But have a little trouble with it. I can't find how to switch on the bookmark. I added a photo and marked what I mean. I...
[3 replies] Last: What do you mean by "bookmark"? When you click on "Projects" it will ... (by jlb)
Null objects?(can't think of better name)
 
so here is a binary tree example from alex allains book I'm still not too sure really how it works but anyway the main question I wanted to ask is with the firs...
[7 replies] Last: Here is a fairly exhaustive book list for C++: http://stackoverflow.co... (by jlb)
by RobCh
gluLookAt() cont. Roll, pitch, yaw problems?
 
I think I have fixed the pitch rotation. See here: http://www.cplusplus.com/forum/beginner/195403/. I now need some help with roll. gluLookAt( x, ...
[2 replies] Last: Firstly, I have realised an error with the pitch. This being that it o... (by RobCh)
inheritance compiler error?
 
hi I'm using inheritance in my code yet I get an error everything looks fine to me but it's not fine to the compiler the error I'm getting is undefined referenc...
[5 replies] Last: Thanks petter that makes sense I finally figured it out after all it w... (by adam2016)
request for member '...' in '...', which is of non-class type 'int' (1,2)
 
I got this error: and idk how to fix it, can you help me? Thanks in advance! request for member 'at' in 'nw', which is of non-class type 'long long int' ...
[25 replies] Last: :) (by closed account 48T7M4Gy)
by RobCh
gluLookAt() center vs up?
 
I have found through a lot of searching and a lot of chance how to properly link GLUT in codeblocks. I feel as though I am grasping it, I have a torus example p...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/195405/ (by closed account 48T7M4Gy)
Not obtaining data from source file correctly
 
program done
[8 replies] Last: http://www.cplusplus.com/forum/beginner/195383/ (by closed account 48T7M4Gy)
Battleship
 
Hy guys. I made a simple Battleship game. I am actually okay with its functionality but maybe you have some input to improve it. ;) #include <string> ...
[2 replies] Last: I would use loops in DisplayGrid() Imagine you want to change the siz... (by Thomas1965)
by cojeap
advice concerning statements inside if
 
My question is not about a bug, but for some advice. before i move a square i check to see if it will out of bounds, if so then it moves on and so on the ...
[1 reply] : I find if((pozX+moveSizeX)<(sizeX-100)) more readable. (by Thomas1965)
consonant counter
 
Hey guys. So I have this assignment: Write a value-returning function, isConsonant that returns the value true if a given character is a consonant, and otherwi...
[3 replies] Last: :) (by closed account 48T7M4Gy)
by stayne
Compilation error in C
 
I wrote the code in Dev C++ and saved the file with the .c extension as it was a c file. I can compile the file successfully. However when I try to run or debug...
[no replies]
by loni
C++ Write line to text document in original order
 
Hello, I'm beginner, just trying to write words and phrases into text document, on each cycle one line under another like this. word1 word2 word3 etc. ...
[5 replies] Last: http://www.cplusplus.com/reference/ctime/clock/ (by closed account 48T7M4Gy)
How do I loop back if it is invalid input?
 
Anyone kindly teach me how to loop back to input when it is not an integer?It will very much helpful to improve my c++ skill #include <iostream> using name...
[1 reply] : There are many permutations on the same theme, this is one: #include... (by closed account 48T7M4Gy)
hide in .exe
 
Hi all. I know we can input/output with .txt files. My question is can we hide this files in .exe?
[2 replies] Last: If you are using Windows you can use an RCDATA resource to include raw... (by closed account E0p9LyTq)
Program that has student name, id number, and classes registered
 
Hey guys, I need to write a class named student that gets the 1. student name 2. integer id number 3. classes registered- using array of strings I'm suppos...
[5 replies] Last: Thanks guys, I ended up getting it. (by closed account ozTkSL3A)
quick problem with class member variable not being saved
 
within my code i'm supposed to create a code where i get the speed of a car and add 5 to that speed with each loop and then display the value after each loop fi...
[10 replies] Last: double Car::brakeFunction() { return carSpeed = -5; } you are going... (by ne555)
August 2016 Pages: 1... 171819202122
  Archived months: [jul2016] [sep2016]

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