Search found 2 matches

Return to advanced search

getting info from another program's memory

say i have a program that has a number stored in its memory with pseudo code like this: main(){ int number = int(rand()*100000) while(input !=number){ print "wrong number try again" } print "yup that is the correct number" } and compile it and have it running but have no clue wha...
by youwin
on Sun Jul 20, 2008 12:35 am
 
Forum: Programming
Topic: getting info from another program's memory
Comments: 6
Views: 3455

Re: C: alternative to goto?

I dont see what the big deal is with people who avoid at all costs goto statements. It has its uses and i usually dont have a prblem following code used with them. theyre great for getting out of nested loops. but for the code above you may consider using continue and break statements in one main wh...
by youwin
on Sun Jul 20, 2008 12:18 am
 
Forum: Programming
Topic: C: alternative to goto?
Comments: 10
Views: 8712

Return to advanced search