Thread: struct and string

  1. #16
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Try this...

    #include <iostream>
    #include <cstream>
    using namespace std;

    P.S. - I used to live in NW Florida, pretty much LA (Lower Alabama)
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  2. #17
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Yay!

    It worked with cstring. But the wierd part is my headers are like this

    Code:
    #include <iostream>
    #include <cstring>
    
    int main()
    {
    }
    no .h at the end... if i try that with namespace std it doest work... if I remove the namespace it runs fine o0?
    What is C++?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  2. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 06:55 PM
  3. Linked List Help
    By CJ7Mudrover in forum C Programming
    Replies: 9
    Last Post: 03-10-2004, 10:33 PM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM