I trying compile my program but it all time write error: stray '\32 ' in program , I have there some graphics instruction, I think its error with directx but Im not surre. If somebody want i can send him my source.

Please post the code and line number where the error occurs. I left my crystal ball at home and so I can't see what causes this error

hmm so how u want :) but i dont know if its help u :)

error is at last line , there where u see square after }
this program work on Turbo C with small changes like clrscr, etc.

I don't think that's what niek meant. The compiler gave you a line number with the error, yes? Post that line of code, plus whatever other lines you think may be needed to give you help. Use C++ style code tags

[code=cplusplus] // paste code here

so that line numbers are generated, give the exact error, along with the relevant line number of the code you posted, and anything else that may be helpful. No one is going to sift through that much code.

All I can tell on this subject is: compilator do not detect problems or errors with directx, only withyour C++ syntax.
Try get Dev C++ help on that error. Errors often are indicated at end of file, but they can occur anywhere. It is good to use 2 compilers so you can compare compiler output. I use MS Visual Studio 2008 and it works very well so far. Free download from MSDN.

so thanks :) i will try it

so thanks :) i will try it

i am geting error: stray ‘/32’ in program i dont why please help me in compiling

I just experienced this error. It turns out that there were strange possibly nonprinting unicode characters in the source code, that happened by accidentally switching keyboard layouts in the middle of typing the source and not properly deleting the characters. Deleting the entire line in question and the one before it, then retyping the code, solved the issue.

I hope this helps someone, it seems far too late for the OP. In any case, it took myself a good hour to diagnose this just now.

dotancohen is right, I expirienced this error, the errors occur when i tried to copy a bunch of code out of pdf file, so rewrite, do not copy

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.