958 Posted Topics

Member Avatar for SteelSlasher

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.

Member Avatar for Ezzaral
0
230
Member Avatar for MosaicFuneral

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 < …

Member Avatar for ArkM
0
160
Member Avatar for nedsnurb

[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".

Member Avatar for MosaicFuneral
0
179
Member Avatar for Davidsen
Re: How

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.

Member Avatar for Narue
0
63
Member Avatar for krsnik

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.

Member Avatar for MosaicFuneral
0
197
Member Avatar for Emerald214

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]

Member Avatar for MosaicFuneral
0
2K
Member Avatar for MosaicFuneral

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

Member Avatar for MosaicFuneral
0
142
Member Avatar for hay_man

You've got it. Convert 4 characters into an integer. Then convert the next 4. Simple. To bad this is a zombie thread. :D

Member Avatar for Grunt
0
157

The End.