Thread: got a problem

  1. #16
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    Quote Originally Posted by Cesar Vega View Post
    this forum is awesome!
    Because i started using it much this Summer i have to agree with you Some user's know C/C++ in depth

  2. #17
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by smokeyangel View Post
    Whoops, sorry, I forgot this was the C++ forum not the C forum. You can use "==" for comparing strings. Sorry about that misinformation.
    To clarify:
    This holds for C++-style strings (eg std::string), but not C-style strings (eg const char*, string literals, which are legal in C++ too).


    Btw, this is an extremely simple question which we should not have had to answer.
    You simply lack the thinking of a programmer, and this we cannot help you with. You must learn this.
    I'd suggest you learn to use flowcharts and use them as an aid when writing your code to get your logic mixed into the code correctly.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 10-16-2008, 07:30 PM
  2. sturct/pointer problem, and fscanf problem
    By hiphop4reel in forum C Programming
    Replies: 6
    Last Post: 07-28-2008, 09:40 AM
  3. Replies: 27
    Last Post: 10-11-2006, 04:27 AM
  4. Visual Studio Linker problem or my problem?
    By OOPboredom in forum C Programming
    Replies: 2
    Last Post: 04-13-2004, 12:32 AM
  5. syntax linked list problem & struct problem
    By beely in forum C Programming
    Replies: 5
    Last Post: 11-11-2002, 09:14 AM

Tags for this Thread