Hi all , My question is that I want to know if possible I use C language dealing with windows such as I create a folder ,file, and show for example a pop up message says hi when windows starts to operate . I mean can I do these kind of stuff just using C programs

my second question is "can C language be used as a code of virus
if yes how or no why"

>I mean can I do these kind of stuff just using C programs
Yes.

>can C language be used as a code of virus
Yes.

>if yes how
By typing code into a text editor and then compiling it to an executable file, just like any other program.

Thank you Narue, I appreciate your participation to my question
but could you tell me the tutorials,examples,lessons showing what I have said please
I really want to learn something and I am sure I choose the right place

>but could you tell me the tutorials,examples,
>lessons showing what I have said please
Absolutely not. Discussion of virus writing is against Daniweb's rules. Because you brought up C as a virus writing medium, I'm disinclined to help you at all because now your motives are in question. Try browsing MSDN for the system API for working with Windows.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.