oh well thank you very much!
Type: Posts; User: Cherry65
oh well thank you very much!
Where's "game()" declaration?...that should be the problem...and why u use for(;;) for that?...just use and if, else sentence.
Thank you very much! it works!
just one more question, what is memset for?
A good way to do this is:
#include <iostream>
#include<cmath>
using namespace std;
float Fahrenheit, Celsius;
int main()
{
How can i display the color dialog of windows API? ive tryed this:
#include <windows.h>
#include "resource.h"
#include "commdlg.h"
#include <string>
using namespace std;
HWND ghDlg = 0;...
hmm ya i tryed that too, but it wont solve the problem...it still displays 1 option at a time...and the scroll bar is just 2 buttons(1 to go up and the other down), theres no scrollbar...
How can i make the combobox's list bigger in height, so it displays more than 1 option at a time...At the moment my combo list displays just 1 option at a time, and id like it to display at least 3...
That was what i was looking for ;). Well i didnt want to restrict the mouse so i deleted that but it works! thank you! and...can you explain me why you used the numbers 32768 and 65536?
and...how...
Ims tarting with Windows programming with C++. I did this program with the help of my book, but i still have one problem. While im hlding the mouse Lbutton, if i want to continue draging it to the...
Thank you anon! i dont know how, but you always know how to solve my problems. This is how i fixed the problem:
template<typename T>
void LinkedList<T>::removeFirst()
{
LinkedNode<T>*...
well i fixed that like this:
LinkedNode<T>* oldNode = mFirst;
mFirst = mFirst->next;
delete oldNode;
oldNode = 0;
but now im having some problems in other place.(its the one in bold...
daved, any possible solution?
thank you !
Post it so people can help you. But i think you should start with something simpler first, since youll get to a point were youll need more advanced knowledge.
it compiles and runs, but in one moment it gives me an unhandled exception. I tracked the problem till i found it. it is the line in bold in my code. Whats wrong with it?
"LinkedList.h"
...
oh so ill have to use an int first. thank you very much!
and stiltskin, the script works fine, you should compile it and check.
well i did it like this:
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
int main()
i dont know. The simplest one. With divisions or bitwise operators.(i dont know what bitmasks are).
Ya i know i have to wrtite a code, but i dont know how to do it. Can you give me at list a clue?
When you "return" from a function, the function closes and continues the main program, so for the first time the for loop executes it returns just the result of the first loop. I dont know if you...
how can i do this code to display "C" in binary numbers?
#include <iostream>
using namespace std;
int main()
{
unsigned char A = 0xF8;
thank you very much!
Oh, it didnt compile right, i dont know why but before i posted i dont know what happened and compiled. i changed _m for mNumRows and now works fine =D
but now i have one more dude...what does...
matsp i know what does _m represent, but what i dont know is why does that compile without errors if _m was never defined...
i was reading a code from the book i study from and i saw that it appeared a variable, or i dont know what that is named "_m" this was never declared, and it apeared only once in the whole code. I...
Thank you salem. Ill use .ignore() now ;)