958 Posted Topics
Re: If you're writing the parser, then anything is possible! Oh course.... not everyone is insane as me. Sitting here writing a script parser for a game. | |
I'm on Dev-C++ 4.9.9.2 default options, WinXP SP3, P4 w/ HT. When I c-shift a value, and then back I get back distorted values. Using the standard _rotr() and _rotl. [code] /*somewhere in main()*/ str = "I'm a fairy! abc xyz ABC XYZ"; printf("\n%s\n", str.c_str()); for(i = 0; i < … | |
Re: [QUOTE=AcidG3rm5;734609]can you try this... [code] if(devisor==true) { cout << i << "is a devisor" << endl; } [/code][/QUOTE] Yes, it's the same thing. Since if() checks if the statement is true. When you say if(condition == false) you're asking, "if it is true that this condition is equivalent to false". | |
Re: Well yes, there is a way. Thinking back to all those old text based games. I need a little more clarification, on what you're asking. | |
Re: Get use to strings and files: [url]http://www.cplusplus.com/reference/string/string/[/url] [url]http://www.cplusplus.com/reference/iostream/fstream/[/url] Learn bitwise operations and casting: [url]http://www.cs.umd.edu/class/sum2003/cmsc311/Notes/BitOp/bitwise.html[/url] [url]http://www.aui.ma/personal/~O.Iraqi/csc1401/casting.htm[/url] That's what you'll want to know, if you want to go about cryptology. | |
Re: Emerald214, you already have this posted in the Game Dev. forms. Just try this first, then slowly add things back till you find the problem. [code] void display() { glClear(GL_COLOR_BUFFER_BIT); glFlush(); } int main() { glutCreateWindow("glut Test"); glutDisplayFunc(display); glutMainLoop(); return(0); } [/code] | |
Hello, here to warp my head with the C++ forums, and maybe keep up-to-date on tech related stuff(little bit behind, but pretty much the same). The only people that seem to use these intro threads are one-line posters who seem very bot-ish..... or am I imagining things? lol | |
Re: You've got it. Convert 4 characters into an integer. Then convert the next 4. Simple. To bad this is a zombie thread. :D |
The End.