.:.:.:.:
RTTP
.
Mobile
:.:.:.:.
[
<--back
] [
Home
][
Pics
][
News
][
Ads
][
Events
][
Forum
][
Band
][
Search
]
full forum
|
bottom
Reply
[
login
]
SPAM Filter:
re-type this
(values are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, or F)
you are quoting a heck of a lot there.
[QUOTE]blah blah blah[/QUOTE] to reply to ShadowSD.
Please remove excess text as not to re-post tons
message
[QUOTE="ShadowSD:420393"]eddie said:[QUOTE]i have a bit of code that should work that doesn't, me and my teacher have been puzzling over it for 2 classes now. i have a while loop that contains 2 if statements and after that i have a call to a structure. The problem is the while loop completely skips over the structure and just continues to repeat the if statements.[/QUOTE] Logically, I would assume that the structure is skipped over because the call to it never occurs, which means that the if condition which leads to the call is never satisfied. The first approach would be to look at the code and test whether the condition in that if statement is ever true, for example by changing the second half of it to print a character on the screen when the condition is true. If the character doesn't ever print when you run the program, there's your problem: the if condition is never true, so the function is never called. If it does print the character on the screen, the problem must be something else (mostly likely a simple, hard to see typo hidden somewhere) That's my best guess without seeing the code.[/QUOTE]
top
[
Vers. 0.12
][ 0.004 secs/8 queries][
refresh
][