You are not logged in. Please login at www.codechef.com to post your questions!

×

Any difference in output for Codeblocks on Windows or Ubuntu?

I have been wondering for a while that does it make any difference to the output or to anything else if I am using CODEBLOCKS on WINDOWS 7 or UBUNTU ?? I have been using c++ and a GNU GCC Compiler. Does UBUNTU make a difference to the runtime/compile time errors I get??

Any help would be greatly appreciated ! Thanks !

asked 26 Mar '12, 19:43

rohilsethi's gravatar image

2★rohilsethi
1111
accept rate: 0%

edited 29 Mar '12, 15:28

tojochacko's gravatar image

2★tojochacko ♦
560101924


First of all Codeblocks is an IDE. The output you get is based on the compiler you use. The Codeblocks IDE itself is same in ubuntu and windows (except it feels a little bit sluggish in ubuntu). If you use GNU gcc in ubuntu and its equivalent MinGW gcc in windows, there may be some tiny differences. For example there is a bug in the way long long is input in MinGW when you use scanf("%lld", ...) (use "%I64d").

link

answered 27 Mar '12, 08:11

balajiganapath's gravatar image

6★balajiganapath ♦♦
75542742
accept rate: 77%

I believe there are a lot more difference between them lots of programs give different output/errors on d same IDE(codeblocks) on Different OS(windows,Ubuntu)! Better to Use UBUNTU as Codechef has all the signals(SIGSEGV) or any other runtime errors sent which are actually UNIX signals!!!

link

answered 03 Apr '12, 00:10

ribas1a3's gravatar image

2★ribas1a3
1
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×151
×9
×7

question asked: 26 Mar '12, 19:43

question was seen: 3,454 times

last updated: 24 Mar '16, 00:43