Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SpeakerForTheDead

    Don't use gets

    I've heard often that one should never use gets. I've been told to use cin.getline instead. Does anyone know if gets could seriously mess up one's compiler if used frequently?
  2. SpeakerForTheDead

    Problems with cin.getline

    I'm trying to write a program that frequently prompts for char arrays. I've been told to stay away from the gets function. Yet when I run the progam, it does something very strange. It skips the cout command that precedes it and then displays the text AFTER the prompt. And there are other...
  3. SpeakerForTheDead

    How Can You Manipulating Strings In Older C++ Versions?

    Okay. I'm used to using Microsoft Visual C++ v6.0, but I have v4.0 at home. I'm used to adding strings the way you'd add numbers. I'm used to using string.assign() and string.find() for all of my purposes. But I can't use them any more. So I was wondering what tools for manipulating strings...
  4. SpeakerForTheDead

    How do you use strings in old C++?

    Okay. I have C++ 4.0 at home and I can't get strings to work. From what I've heard, this because at the time 4.0 came out, string wasn't "standard." At first I thought this had to do with the header files I was using. But does it have something to do with namespaces? Do I have to...
  5. SpeakerForTheDead

    Translating A Program from 6.0 to 4.0

    Okay. I have version 6.0 at school and 4.0 at home. I brought home a program, fixed the obvious translations (getting rid of "using namespace std;" and adding ".h" to everything) yet it STILL has 36 errors and 15 warnings. I think it's a problem with my string variables...
  6. SpeakerForTheDead

    Crash Course on Arrays & Pointers

    I need a crash course on Arrays & Pointers. Can anyone direct me to a FAQ or site that can help me out? Thanks.

Part and Inventory Search

Back
Top