CODEBLOCK

Discuss Computer Science and Programming related problems

Moderators:Labib, bristy1588

Dipan
Posts:158
Joined:Wed Dec 08, 2010 5:36 pm
CODEBLOCK

Unread post by Dipan » Tue May 03, 2011 11:32 pm

প্রোগ্রামিং শুরু করার জন্য CODEBLOCK সফটওয়্যার টা দরকার । এটার ডিসক টা পাচ্ছি না । যে সাইজ তাতে নেট থেকে ডাউনলোড করাও অসম্ভব । কেও কি হেল্প করতে পারেন?

novice
Posts:31
Joined:Sun Dec 12, 2010 12:34 am

Re: CODEBLOCK

Unread post by novice » Fri May 06, 2011 4:59 am

I think the latest Codeblocks is only 22 MB. Anyway,why dont you use DEV C++ ? Its only 5 MB and I have been using it for a very long time. If you use UBUNTU you can try Geany too ( i dont know how to run Geany in windows :( )

HandaramTheGreat
Posts:135
Joined:Thu Dec 09, 2010 12:10 pm

Re: CODEBLOCK

Unread post by HandaramTheGreat » Sun May 22, 2011 12:55 am

firstly, download a compiler, mingw from here http://sourceforge.net/projects/mingw/files/

then you can download codeblocks without mingw ('bout 23 MB) from here http://prdownload.berlios.de/codeblocks ... -setup.exe

or you can use geany which is only 'bout 8 MB http://www.geany.org/Download/Releases#windowsBinaries

or dev c++ http://wxdsgn.sourceforge.net/?q=node/4

first, install mingw and then go to my computer-->right click, properties-->advanced system settings-->environment variables-->system variables-->PATH-->double click on it-->variable value-->যেটা আছে ওটার শেষে mingw এর ঠিকানা দেখিয়ে দিতে হবে, অর্থাৎ যদি আমি C ড্রাইভে ইন্সটল করে থাকি তবে ওটার শেষে লিখতে হবে

;c:\mingw\bin

Ok.

then install your IDE and configure compiler options if it is needed.

(পোস্টটা লিখার পরে দেখি টপিকটা আসলে অনেক আগের। দুঃখিত, আসলে অনেকদিন ফোরামে আসা হয়নি।)

Ruhshan
Posts:5
Joined:Thu Mar 10, 2011 9:48 am

Re: CODEBLOCK

Unread post by Ruhshan » Wed May 25, 2011 10:19 pm

আমি কোড ব্লক্স এ কোন কোডই কম্পাইল , রান, বিল্ড কিছুই করতে পারছিনা। এক্সপিতে ইউজ করছি।

novice
Posts:31
Joined:Sun Dec 12, 2010 12:34 am

Re: CODEBLOCK

Unread post by novice » Thu May 26, 2011 10:00 pm

@theGreat Thanks :)
@ruhshan just use Dev C++.

HandaramTheGreat
Posts:135
Joined:Thu Dec 09, 2010 12:10 pm

Re: CODEBLOCK

Unread post by HandaramTheGreat » Thu May 26, 2011 11:03 pm

Ruhshan wrote:আমি কোড ব্লক্স এ কোন কোডই কম্পাইল , রান, বিল্ড কিছুই করতে পারছিনা। এক্সপিতে ইউজ করছি।
এর আগের পোস্টে যেভাবে mingw ইন্সটল করতে বললাম, ওভাবে এগুনোর পর code::blocks ইন্সটল কর/করুন। ( :P )
1.PNG
1.PNG (46.35KiB)Viewed 7635 times
Next>
2.PNG
2.PNG (67.47KiB)Viewed 7635 times
I Agree
3.PNG
3.PNG (67.84KiB)Viewed 7635 times
Next>
4.PNG
4.PNG (54.83KiB)Viewed 7635 times
Choose your destination folder and then click on "Install"
Last edited by HandaramTheGreat on Thu May 26, 2011 11:19 pm, edited 1 time in total.

HandaramTheGreat
Posts:135
Joined:Thu Dec 09, 2010 12:10 pm

Re: CODEBLOCK

Unread post by HandaramTheGreat » Thu May 26, 2011 11:07 pm

5.PNG
5.PNG (64.1KiB)Viewed 7635 times
6.PNG
6.PNG (73.74KiB)Viewed 7635 times
Yes
7.PNG
7.PNG (44.19KiB)Viewed 7635 times
Select GNU GCC Compiler and Ok
8.PNG
8.PNG (140.01KiB)Viewed 7635 times
Close

HandaramTheGreat
Posts:135
Joined:Thu Dec 09, 2010 12:10 pm

Re: CODEBLOCK

Unread post by HandaramTheGreat » Thu May 26, 2011 11:09 pm

9.PNG
9.PNG (140.53KiB)Viewed 7635 times
OK

Minimize the window and finish the installation.

Back to Code::Blocks and Press Ctrl+Shift+N
10.PNG
10.PNG (74.77KiB)Viewed 7635 times
Save the new file with Ctrl+S
11.PNG
11.PNG (134.25KiB)Viewed 7635 times
Edit the file name, give it .c extension if it's a C file and .cpp if it's a C++ file and "Save"
12.PNG
12.PNG (81.56KiB)Viewed 7635 times

HandaramTheGreat
Posts:135
Joined:Thu Dec 09, 2010 12:10 pm

Re: CODEBLOCK

Unread post by HandaramTheGreat » Thu May 26, 2011 11:11 pm

Build->Ctrl+F9
13.PNG
13.PNG (81.48KiB)Viewed 7635 times
Run->Ctrl+F10
14.PNG
14.PNG (108.21KiB)Viewed 7635 times







simple, isn't it? ;)

Ruhshan
Posts:5
Joined:Thu Mar 10, 2011 9:48 am

Re: CODEBLOCK

Unread post by Ruhshan » Fri May 27, 2011 4:44 pm

হইলনা তো ভাই। Build Log e এই মেসেজ এসে থেমে যায়ঃ [ 50.0%] Compiling: C:\Documents and Settings\Onik\Desktop\hello.c
Execution of 'mingw32-gcc.exe -c "C:\Documents and Settings\Onik\Desktop\hello.c" -o "C:\Documents and Settings\Onik\Desktop\hello.o"' in 'C:\Documents and Settings\Onik\Desktop' failed.
Nothing to be done.

আরেকটু হেল করেন, এর আগে তো এটাও আসতোনা।

Post Reply