Like Tree1Likes

assign string to the string variable inside structure!

This is a discussion on assign string to the string variable inside structure! within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by manasij7479 That's somewhat extreme! Sure, but to a newbie, it is the best advice possible....

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,014
    Quote Originally Posted by manasij7479 View Post
    That's somewhat extreme!
    Sure, but to a newbie, it is the best advice possible.
    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.

  2. #17
    Registered User
    Join Date
    Oct 2012
    Posts
    34
    nevermind i download the new version of codeblock and now it works
    tnx for answers...

  3. #18
    Registered User
    Join Date
    Oct 2006
    Posts
    2,588
    Quote Originally Posted by king_zart View Post
    is it c++11 code ?
    yes

    how can i use it in codeblock?!!!!!
    I haven't used code blocks in a while, but I remember seeing an option for it in project settings.

  4. #19
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,014
    Code::Blocks comes with an outdated version of gcc, too. You should upgrade gcc by downloading the newest one for your OS and extracting it to the path where gcc exists in the code blocks folder.
    Also, C++11 needs be enabled in the compiler settings for the IDE.
    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.

  5. #20
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,528
    Code blocks got an upgrade yesterday !
    I think it enables c++11 by default .
    (And uses the system default compiler anyway....)

  6. #21
    Registered User
    Join Date
    Oct 2012
    Posts
    34
    Code blocks got an upgrade yesterday !
    I think it enables c++11 by default .
    (And uses the system default compiler anyway....)
    i download v12.11
    but the c++11 wasnt enable by default
    i change compiler settings...
    Last edited by king_zart; 12-09-2012 at 11:41 AM.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. string inside of a structure?
    By dyelax in forum C++ Programming
    Replies: 8
    Last Post: 06-17-2010, 08:09 PM
  2. assign value to string
    By rahulsk1947 in forum C Programming
    Replies: 3
    Last Post: 04-06-2006, 04:40 AM
  3. Assign string to variable?
    By 98dodgeneondohc in forum C Programming
    Replies: 8
    Last Post: 04-24-2005, 02:51 PM
  4. Replies: 12
    Last Post: 10-14-2003, 11:17 AM
  5. Replies: 4
    Last Post: 01-22-2002, 11:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21