Thread: more then 100errors in header

  1. #16
    Registered User
    Join Date
    Sep 2006
    still 'string' : undeclared identifier
    i did #include <string>

  2. #17
    Registered User
    Join Date
    Sep 2006
    Quote Originally Posted by Joelito View Post
    If you are noob, shouldn't you reading tutos, like WndProc, CreateWindowEx.... I think you are trying to run when you can't do baby steps...sorry dude for me comment, but I think is the true.
    I am following a tut , and i am now playing with the windows and buttons

  3. #18
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    I just start typing stuff , so just reopen the project as C++ and see what errors i get?
    Keep on typing, if you type long enough you may just get there

    At this point, you need to choose one and learn it well: C or C++. Windows programming is currently out of your league either way.

    I am following a tut
    Ah, now it is different. What tutorial are you following?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #19

  5. #20
    Registered User Joelito's Avatar
    Join Date
    Mar 2005
    Tijuana, BC, México
    I'm reading your code, and based on C++:
    1. Add globally using std::string to be on scoop.
    2. You can't return a temp var, like in char *getCookiesPath(), either way use a heap or, easier, use param buffer, like void getCookiesPath(char *pszBuffer).
    3. Cast HMENU to be use in controls IDs, with reinterpret_cast<HMENU>(someID)
    At least with this you can get compilable code. But, but, I think you can do the same with clean and less lines code
    * PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
    * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

  6. #21
    Registered User
    Join Date
    Sep 2006
    thnx !!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 03:25 PM
  2. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 02:49 PM
  3. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM