• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Anyone LOVE C++ and wanna do my homework for me? :D

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
I just read your lab, and I got a question about it:

your lab description said: "The second line will contain three integers, representing B, I and O", and the example file gives you 3, 2, and 3 to represent B, I and O... how the hell can you use the same number to represent two different things. Your program has to be a super genius to figure that one out 😀
 
Originally posted by: GiLtY
I just read your lab, and I got a question about it:

your lab description said: "<STRONG>The second line will contain three integers, representing B, I and O</STRONG>", and the example file gives you 3, 2, and 3 to represent B, I and O... how the hell can you use the same number to represent two different things. Your program has to be a super genius to figure that one out 😀

I think you are understanding it wrong........It's not any different. If a square has 3 adjacent squares filled and it's currently empty then it gets filled. If the square was already filled, kill it off.
 
Utterly usless post follows:

When I was in CS, my senior year I tutored CS & Math. Well, since it was a small school, there weren't any major challenges to get admitted into the CS Program, but the program itself....if you did the work, it was slightly challenging for the upper level classes (mostly on the math side though).

Anyway.....I mostly tutored 100 level people, and the occassional graphics person who decided that taking some random programming class was going to add $$$ to their prospects. One night a girl came in whom i completely dind't percieve as a computer person. She was asking me to help her on a end of semester programming project. One that was fairly simple, but the mundane details I don't remember. So, as she got setup in the lab....I noticed already that she was having a tough time even navigating windows (well, 0S/2)...and finding how to open her project off her floppy. Finally, she was able to get it up and running (with a kick in the right direction). As I was looking at her code/assignment.....I said, "Well the error in your code, is that you need to implement a "While Loop" when reading from the console.

I kid you not. The next thing she typed into the compiler was:
Wild Loop

Proof enough that she had cheated her way through the class so far. I kid you not, it took every ounce of me biting my toungue to keep from laughing. Not at her, but just at the moment (had to be there, I know). So.......I quickly ducked outside for a cig, and gathered myself. I later told her to either retake the class and learn it herself, or to consider changing majors...because the higher classes all required her to learn this language.

Anyway. The thought of it makes me laugh 🙂


 
Originally posted by: calpha
Utterly usless post follows:

When I was in CS, my senior year I tutored CS & Math. Well, since it was a small school, there weren't any major challenges to get admitted into the CS Program, but the program itself....if you did the work, it was slightly challenging for the upper level classes (mostly on the math side though).

Anyway.....I mostly tutored 100 level people, and the occassional graphics person who decided that taking some random programming class was going to add $$$ to their prospects. One night a girl came in whom i completely dind't percieve as a computer person. She was asking me to help her on a end of semester programming project. One that was fairly simple, but the mundane details I don't remember. So, as she got setup in the lab....I noticed already that she was having a tough time even navigating windows (well, 0S/2)...and finding how to open her project off her floppy. Finally, she was able to get it up and running (with a kick in the right direction). As I was looking at her code/assignment.....I said, "Well the error in your code, is that you need to implement a "While Loop" when reading from the console.

I kid you not. The next thing she typed into the compiler was:
Wild Loop

Proof enough that she had cheated her way through the class so far. I kid you not, it took every ounce of me biting my toungue to keep from laughing. Not at her, but just at the moment (had to be there, I know). So.......I quickly ducked outside for a cig, and gathered myself. I later told her to either retake the class and learn it herself, or to consider changing majors...because the higher classes all required her to learn this language.

Anyway. The thought of it makes me laugh 🙂

bwhahahaha that's hilarious 😀
 
Originally posted by: calpha
Utterly usless post follows:

When I was in CS, my senior year I tutored CS & Math. Well, since it was a small school, there weren't any major challenges to get admitted into the CS Program, but the program itself....if you did the work, it was slightly challenging for the upper level classes (mostly on the math side though).

Anyway.....I mostly tutored 100 level people, and the occassional graphics person who decided that taking some random programming class was going to add $$$ to their prospects. One night a girl came in whom i completely dind't percieve as a computer person. She was asking me to help her on a end of semester programming project. One that was fairly simple, but the mundane details I don't remember. So, as she got setup in the lab....I noticed already that she was having a tough time even navigating windows (well, 0S/2)...and finding how to open her project off her floppy. Finally, she was able to get it up and running (with a kick in the right direction). As I was looking at her code/assignment.....I said, "Well the error in your code, is that you need to implement a "While Loop" when reading from the console.

I kid you not. The next thing she typed into the compiler was:
Wild Loop

Proof enough that she had cheated her way through the class so far. I kid you not, it took every ounce of me biting my toungue to keep from laughing. Not at her, but just at the moment (had to be there, I know). So.......I quickly ducked outside for a cig, and gathered myself. I later told her to either retake the class and learn it herself, or to consider changing majors...because the higher classes all required her to learn this language.

Anyway. The thought of it makes me laugh 🙂

A blonde I bet... 😉
 
The more you wait/cheat/copy, the more you are getting yourself into trouble. Try working with your classmates. Groupwork programming is the most efficient way to have your questions answered, not to mention that things get done faster.
 
That's actually one of the most popular labs around for C++ class 🙂 Basically you start out by laying an array of whatever perameters, then you basically have two counters (prolly while-loops) one going across and down, stopping by each number, and checking the neighboring of each while maintaining a counter to determine how many neighbors that particular number is (i'm, guessing with some 'if' loops) and replacing the original number if necessary. Since its been so long since the last time I touched C++, i wouldn't be able to do it now, but i can probably type it out in matlab =\
 
Originally posted by: calpha
Utterly usless post follows: When I was in CS, my senior year I tutored CS & Math. Well, since it was a small school, there weren't any major challenges to get admitted into the CS Program, but the program itself....if you did the work, it was slightly challenging for the upper level classes (mostly on the math side though). Anyway.....I mostly tutored 100 level people, and the occassional graphics person who decided that taking some random programming class was going to add $$$ to their prospects. One night a girl came in whom i completely dind't percieve as a computer person. She was asking me to help her on a end of semester programming project. One that was fairly simple, but the mundane details I don't remember. So, as she got setup in the lab....I noticed already that she was having a tough time even navigating windows (well, 0S/2)...and finding how to open her project off her floppy. Finally, she was able to get it up and running (with a kick in the right direction). As I was looking at her code/assignment.....I said, "Well the error in your code, is that you need to implement a "While Loop" when reading from the console. I kid you not. The next thing she typed into the compiler was: Wild Loop Proof enough that she had cheated her way through the class so far. I kid you not, it took every ounce of me biting my toungue to keep from laughing. Not at her, but just at the moment (had to be there, I know). So.......I quickly ducked outside for a cig, and gathered myself. I later told her to either retake the class and learn it herself, or to consider changing majors...because the higher classes all required her to learn this language. Anyway. The thought of it makes me laugh 🙂
OMFG~!!!!! hahaha.....

is she fine though 😉:evil:
 
Back
Top