Jump to content
  • Advertisement

derek_nofsinger

Member
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

122 Neutral

About derek_nofsinger

  • Rank
    Newbie
  1. derek_nofsinger

    c2679: Not sure what to do.

    Thanks! That did the trick!
  2. derek_nofsinger

    Problem with c2679

    I'm upgrading code from Visual Studio 6 to Visual Studio 2005 and I'm absolutely stumped on what the compiler is complaing about. C2679. I've been reviewing the code over and over. error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Position *' Not exactly sure how to overload the vector '=' operator either and hopefully I can just fix the bug in the code that gives me the error. Here it is: void Graphics::RemoveDuplicatePositions(){ Vector<Position>:: pos_it; int vec_size = positions.size(); for(int i = 0; i < vec_size && vec_size != 1) { pos_it = &positions; //ERROR HERE: C2679 'Position *' if(positions == positions[(i + 1) % vec_size]) { positions.erase(pos_it); vec_size = positions.size(); } else { i++; } }//end loop } What do I need to do to fix this problem? (I wish I could copy and paste this but, I'm typing it by hand from referring to the computer that has Visual Studio yet no internet connection)
  3. derek_nofsinger

    c2679: Not sure what to do.

    I'm upgrading code from Visual Studio 6 to Visual Studio 2005 and I'm absolutely stumped on what the compiler is complaing about. C2679. I've been reviewing the code over and over. error C2679: binary '=' : no operator found which takes a right-hand operand of type 'Position *' Not exactly sure how to overload the vector '=' operator either and hopefully I can just fix the bug in the code that gives me the error. Here it is: void Graphics::RemoveDuplicatePositions(){ Vector<Position>:: pos_it; int vec_size = positions.size(); for(int i = 0; i < vec_size && vec_size != 1) { pos_it = &positions; //ERROR HERE: C2679 'Position *' if(positions == positions[(i + 1) % vec_size]) { positions.erase(pos_it); vec_size = positions.size(); } else { i++; } }//end loop } What do I need to do to fix this problem? (I wish I could copy and paste this but, I'm typing it by hand from referring to the computer that has Visual Studio yet no internet connection)
  4. derek_nofsinger

    Issue with c2678 (String comparing) in VS2005

    Thanks guys! :) But I have another compiler error on the line after that. Here's what the code looks like now.: if(*(buffer.end() - 1) != '\n') buffer.append('\n'); // Getting error c2664 c2664: cannot convert parameter 1 ("buffer") from 'char' to 'const std::string &' (Highly shortened message to get it on the computer that is connected to the network) Again buffer is declared (as a parameter of a function) as std::string & If I can get some more help on this issue, it would be great!
  5. Hello, I'm currently working on upgrading code on a Visual Studio solution that I haven't created. I'm basically upgrading the code so that it will compile with Visual Studio 2005 and I'm stumped on a error with the VS2005 compiler: c22678: binary '!=' : no operator defined which takes a left-hand operand of type 'std::_String_iterator<_Elem,_Traits,_Alloc>' or there is no acceptable conversion) Am I right in using #include <string.h> (I haven't seen the bug go away with just <string>)? The bug appears on this line of code: if((buffer.end() - 1) != "\n") The "buffer" variable is a reference declared as type std::string I hope this will be enough information to provide for an answer. I can't copy the code or errors easily since the computer I'm working on isn't connected to a network. Any help is appreciated!
  6. derek_nofsinger

    Senior Research Topic Help

    I had a bad feeling that my title would be too abstract. I like the sound of your title even better than mine. I've been researching into my project for about 8 weeks now and I only have a few more left before it's due. I still plan on researching about the earliest of games and how 2D sprites were generated in Atari, NES and older video games, becuase this is something that really interests me. Then I will talk about how games today can use Maya to create their 3D Models. Cel-Shading really interests me as well and I will keep it since the deadline is only about five weeks away. I don't think I'll be looking into "automating workflow", "how to manage assets and coordinate team development " or anything about controlling the game project. Thank you very much for your opinion. Derek
  7. derek_nofsinger

    Senior Research Topic Help

    I'm a college student and I'm really excited about my senior research topic that I will be writing a huge paper on. I will also be giving a half an hour presentation on my topic. My topic is called : Graphic Software Used in Game Design. I'm working mostly with Maya at the moment and I'm beginning to learn polygonal modeling. Could someone add on a few topics to my research that they would find interesting to learn about creating graphics for games? Here are the topics that I want to discuss in my paper so far. They mostly revolve around Maya. -Two Dimensional Graphics (Sprites used in 2D and 3D games) -Three Dimensional Graphics (Polygonal and NURBS Modeling) -Cel-Shading -Hardware specifications and constraints for detail in graphics (Ex. How much memory is necessary for today's graphic complex games?) -Maya -My Personal Experience with Maya -Video Games that have used Maya for their graphics -The Legend of Zelda: The Wind Waker -Resident Evil 4 -Maya’s MEL Scripting Thanks!
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!