You are not logged in. Please login at 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

accept rate: 0%

edited 29 Mar '12, 15:28

tojochacko's gravatar image

2★tojochacko ♦

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").


answered 27 Mar '12, 08:11

balajiganapath's gravatar image

6★balajiganapath ♦♦
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!!!


answered 03 Apr '12, 00:10

ribas1a3's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 26 Mar '12, 19:43

question was seen: 3,454 times

last updated: 24 Mar '16, 00:43