Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / PLS help the compiler gives a bracket error

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 20th Dec 2006 00:41
Please help the compiler gives the error that there is a missing bracket in the following code in the functions scramble and un scramble.



Theres bound to be a few errors as i havent touched c for a while now but what i dont understand is why i get the errors i do when i compile i know im not using namespace or malloc but am a little confused with the errors.

Thanks any help would be greatly appreciated

fubar
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 20th Dec 2006 22:05
The problem from what I can see are the lines



If you remove the ; from after both lines, it should work

fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 21st Dec 2006 00:18
Thanks Kentaree your solution fixed it.

fubar
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 21st Dec 2006 00:44

The Working code for anyone interested it. (Encryption Algorythm)

fubar

Login to post a reply

Server time is: 2024-11-19 10:24:07
Your offset time is: 2024-11-19 10:24:07