Author Topic: [my stupid BUG][SVN7040] Break lines with printf  (Read 2425 times)

Offline Baluarte

  • Multiple posting newcomer
  • *
  • Posts: 16
[my stupid BUG][SVN7040] Break lines with printf
« on: March 11, 2011, 11:30:54 pm »
Codeblocks SVN 7040
TDM Dragon MinGW gcc4.5.1

Windows XP SP3
CBLauncher Portable 0.16

Probably it is a expected behaviour in standard C but... I am surprised...  :?

    is it imperative the literal string of printf() must be in the same line?  :D

    Image attached: The famous hello world sample with the line breaks (carriage return among hello and world)


Baluarte


Sorry for my terrible english.




Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11932
    • Travis build status
Re: [my stupid BUG][SVN7040] Break lines with printf
« Reply #1 on: March 12, 2011, 01:39:39 am »
By a book or read the C/C++ standards, there you can find the syntax is explained...
This site doesn't teach programming, just using C::B...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: [my stupid BUG][SVN7040] Break lines with printf
« Reply #2 on: March 12, 2011, 09:33:50 am »
By a book or read the C/C++ standards, there you can find the syntax is explained...
This site doesn't teach programming, just using C::B...
And that's why the post violates our forum rules.

Topic locked !!