Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Program wont work right.  (Read 3162 times)

0 Members and 1 Guest are viewing this topic.

Zach7

  • Guest
Program wont work right.
« on: July 14, 2006, 08:32:47 AM »
Could you guys please check out this link: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=552053&SiteID=1

It has a question at that I cant get answered.

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Program wont work right.
« Reply #1 on: July 14, 2006, 09:34:22 AM »
I don't really do C, but this line:
if ((insert == "leave") && (y=0))
- you're using the assignment operator ('=') rather than the equality operator ('==') --> y=0.  Is that intentional?
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

Zach7

  • Guest
Re: Program wont work right.
« Reply #2 on: July 14, 2006, 10:17:25 AM »
Yes it is international. I cant believe I didnt see that. Thank you very much.