Advertisement Jump to content
  • Advertisement

Brian Ko

Member
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

209 Neutral

About Brian Ko

  • Rank
    Newbie
  1. Hello, I need some help on this one operators that really confused me.... what does x >> y mean when it says that x reads y? Thank you in advance!
  2. Brian Ko

    Explanation for Repeated Word Detector

    I am already familiar with the constructs of it... I just don't know how this part works        while (cin>>current) {         if (previous == current)             cout << "repeated word: "<< current << '\n' ;             previous = current;             }
  3. Hi, I found this repeated word detector and I could get it to run but didn't understand how it ran.... Someone please explain to me (:     #include <iostream> #include <vector>   int main() {     using namespace std;          string previous =" ";     string current;     while (cin>>current) {         if (previous == current)             cout << "repeated word: "<< current << '\n' ;             previous = current;             }     }
  4. Brian Ko

    Crafting a 2D RPG

  5. Brian Ko

    Reputation System Design Rationale

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!