Switchkick
Switchkick

Reputation: 2796

What is the most simple way to assign an icon to my program?

Here is my program:

#include <stdio.h>

int main(int argc, char **argv)
{
    printf("hello world\n");
    return 0;
}

I have my hello.ico file too. What I wish to do is compile my program (in codelite) to run in Windows XP with the hello.ico as it's icon.

How do I achieve this in the most simple way?

Upvotes: 0

Views: 187

Answers (1)

Rohit Vipin Mathews
Rohit Vipin Mathews

Reputation: 11787

write your program as VC++ in visual studio. the C++ code will work fine and in the resource folder you can set icon, draw or edit icon

Upvotes: 2

Related Questions