What do you think of PELLES C ???

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

What do you think of PELLES C ???

Post by Kwai chang caine »

Hello at all :D

I try, to begin, ...to just see, .....a little bit,.... of a piece,.... of a line ....,of C :mrgreen:
I have open my first windows....and it's really too much nice :shock: :shock:

But the difficulty of the C, begin already by choose the better for me, in the jungle of C environnements :shock:

I love the C since twenty years, and i never dare try it :oops:
I'm already so null in PB and VB...so with the C :oops: :oops:

But a love is a love...and the love don't waiting too much :lol:
Like i love PB, i want to search the more same IDE than PB IDE.

And what is my surprise, when yesterday i open the PELLES C IDE :shock:
It's nearly the same than PB IDE, in a moment i have forgotten i'm not in my lover native PB IDE :lol:
I have just replacing the blue background, by the yellow...and KCC make C :lol: :lol: :lol: (Very big humor...but very very big :oops: )

I want just ask to you, what do you think of PELLES C, is it a good choice for a beginner like me ???
I ask to you instead in a forum C because, i want use it and PB together in the same project, it's for this reason it's good to know your precious advice, you who know PB very well 8)

Thanks
ImageThe happiness is a road...
Not a destination
User avatar
Blood
Enthusiast
Enthusiast
Posts: 161
Joined: Tue Dec 08, 2009 8:34 pm
Location: United Kingdom

Re: What do you think of PELLES C ???

Post by Blood »

Pelles C is a fantastic compiler and yes, it should be just great for beginners. It is a full C99 compiler, which means it is the very latest standard of C.

To get the most from C and to learn about its features read this book: http://en.wikipedia.org/wiki/The_C_Prog ... %28book%29

This is one of the most famous programming books there are because of its ease of reading and its informational content.

Have Fun! :D
C provides the infinitely-abusable goto statement, and labels to branch to. Formally, the goto is never necessary, and in practice it is almost always easy to write code without it. We have not used goto in this book. -- K&R (2nd Ed.) : Page 65
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: What do you think of PELLES C ???

Post by Kwai chang caine »

Thanks BLOOD...that's a good news 8)

Because i don't know why ???
But when i have open the PELLES C IDE yesterday....
I had a little bit the same feeling that when i have open the PB IDE there is five years ago :shock:

The programing, and his tools, it's also much a story of feeling for me..... :D
A little bit like good shoes...if i have sore at my feets, i can't walk anymore :oops:
ImageThe happiness is a road...
Not a destination
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: What do you think of PELLES C ???

Post by Mistrel »

A 'C' compiler? Bah! Come over to the dark side where we use C++ compilers. :twisted:
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: What do you think of PELLES C ???

Post by Kwai chang caine »

OuuuuuuuOuuuuuhhh !!! You affraid me :oops:
I have not again the light of the knowledge for can go to the dark with you :lol:
But I can perhaps, still keep my feet in the light of PB, and move my head in the black C :mrgreen:
ImageThe happiness is a road...
Not a destination
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: What do you think of PELLES C ???

Post by LuCiFeR[SD] »

C++ is like nailing extra legs on a dog and calling it an 'Octopus' :)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: What do you think of PELLES C ???

Post by srod »

LuCiFeR[SD] wrote:C++ is like nailing extra legs on a dog and calling it an 'Octopus' :)
:lol:
I may look like a mule, but I'm not a complete ass.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: What do you think of PELLES C ???

Post by Kwai chang caine »

LuCiFeR[SD] wrote:C++ is like nailing extra legs on a dog and calling it an 'Octopus' :)
Apparently you don't like C++ ???
ImageThe happiness is a road...
Not a destination
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: What do you think of PELLES C ???

Post by srod »

Not even the bloke who invented C++ likes it! :)

Actually, C++ code is quite easy to read now, perhaps because I've looked through so many chunks of code.

I still can't code in it myself mind! :)
I may look like a mule, but I'm not a complete ass.
Vitor_Boss®
User
User
Posts: 81
Joined: Thu Sep 23, 2010 4:22 am

Re: What do you think of PELLES C ???

Post by Vitor_Boss® »

srod wrote:I still can't code in it myself mind! :)
I think this is common to all Basic programmers.
Sorry by bad English.
HP Pavilion DV6-2155DX: Intel i3-330m 2.13 / 4GB DDR3 / 500GB Sata2 HD / Display 15.6" LED / Win7 Ultimate x64 / PB 4.50 x86 demo.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: What do you think of PELLES C ???

Post by srod »

Vitor_Boss® wrote:
srod wrote:I still can't code in it myself mind! :)
I think this is common to all Basic programmers.
But not necessarily to advanced basic programmers! :wink:

I've never had any need to code in C++ and it's not a syntax I think I'd enjoy working with. Give me a pitcher of ale any day! :)
I may look like a mule, but I'm not a complete ass.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: What do you think of PELLES C ???

Post by Kwai chang caine »

Me..for the time i know any words in C, and the same zero number for C++.
So i can say, that coding in C or C++ is for me the same thing :lol: :lol:

In fact...when i regard a code....i don't know if it is in C or in C++
I don't can do the difference :oops:

I have Copy/Paste this great code finding in developpez.com (French forum)
That works, i believe it's C code ???
The C++ Code is it different of this, for the same function opening a windows ???

Code: Select all

#include <windows.h>

LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
    switch(message)
    {
    case WM_DESTROY:
        PostQuitMessage(0);
        break;

    default:
        return DefWindowProc(hwnd, message, wParam, lParam);
    }

    return 0L;
}
 

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
    WNDCLASS wc;
    HWND hWnd;
    MSG msg;
    
    wc.cbClsExtra     = 0;
    wc.cbWndExtra     = 0;
    wc.hbrBackground  = (HBRUSH)(COLOR_WINDOW + 1);
    wc.hCursor        = LoadCursor(NULL, IDC_ARROW);
    wc.hIcon          = LoadIcon(NULL, IDI_APPLICATION);
    wc.hInstance      = hInstance;
    wc.lpfnWndProc    = WndProc;
    wc.lpszClassName  = "Classe 1";
    wc.lpszMenuName   = NULL;
    wc.style          = CS_HREDRAW | CS_VREDRAW;

    RegisterClass(&wc);

    hWnd = CreateWindow("Classe 1","Notre première fenêtre", WS_OVERLAPPEDWINDOW,100, 100, 600, 300,NULL,NULL,hInstance, NULL);

    ShowWindow(hWnd, nCmdShow);

    while (GetMessage(&msg, NULL, 0, 0))
    {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }

    return (int)msg.wParam;
}
ImageThe happiness is a road...
Not a destination
User avatar
idle
Always Here
Always Here
Posts: 5836
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: What do you think of PELLES C ???

Post by idle »

no probably not

Pelles c is quite user friendly and C++ is fine if you like your spaghetti minced.
Windows 11, Manjaro, Raspberry Pi OS
Image
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: What do you think of PELLES C ???

Post by LuCiFeR[SD] »

Kwaï chang caïne wrote:
LuCiFeR[SD] wrote:C++ is like nailing extra legs on a dog and calling it an 'Octopus' :)
Apparently you don't like C++ ???
no, not true :P... To be honest I am just so bad at programming these days I don't think I could read/write basic anymore :P

[Edit]Removed some dull and boring stuff(tm)[/Edit]
User avatar
Blood
Enthusiast
Enthusiast
Posts: 161
Joined: Tue Dec 08, 2009 8:34 pm
Location: United Kingdom

Re: What do you think of PELLES C ???

Post by Blood »

Kwaï chang caïne wrote:
LuCiFeR[SD] wrote:C++ is like nailing extra legs on a dog and calling it an 'Octopus' :)
Apparently you don't like C++ ???
It's not his quote. Please quote sources when you use a quote or people might think you said it! Especially famous ones.
C++: an octopus made by nailing extra legs onto a dog.
--Steve Taylor
C provides the infinitely-abusable goto statement, and labels to branch to. Formally, the goto is never necessary, and in practice it is almost always easy to write code without it. We have not used goto in this book. -- K&R (2nd Ed.) : Page 65
Post Reply