Lesson 02 : C Programming

SAN_APIIT

Well-known member
  • Mar 8, 2007
    4,611
    196
    63
    In a Chip !!!
    ICE said:
    Dev-C++

    Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler.

    Free downlaod

    This is a very easy to use IDE for windows for C and C++...

    This is my favorite tool for C++, even though u can code c coding here don't use this for c. some bugs when using pointers.... :(
     

    SAN_APIIT

    Well-known member
  • Mar 8, 2007
    4,611
    196
    63
    In a Chip !!!
    x-pert said:
    #include <stdio.h>
    int main()
    {
    printf("No worries machang\n ElaKiri\n");
    return (0);
    }

    Well first of all really great writing... :yes:
    I think u need to publish a book...:)
    Elakiri, this will help lot of members, keep it up...:D


    PS- why did u use a int main() if u have nothing to return....? :lol:
     

    x-pert

    Member
    Jun 13, 2006
    20,952
    77
    0
    SAN_APIIT said:
    Well first of all really great writing... :yes:
    I think u need to publish a book...:)
    Elakiri, this will help lot of members, keep it up...:D


    PS- why did u use a int main() if u have nothing to return....? :lol:


    Wait wait.... still learning... After getting my PhD will deffa publish some books :) :lol:

    No machang... Int main and return o I use as a standard method bro...
    Or else its kinda confusing...
    You will get to know why I did it after a while...
     

    SAN_APIIT

    Well-known member
  • Mar 8, 2007
    4,611
    196
    63
    In a Chip !!!
    x-pert said:
    Wait wait.... still learning... After getting my PhD will deffa publish some books :) :lol:

    No machang... Int main and return o I use as a standard method bro...
    Or else its kinda confusing...
    You will get to know why I did it after a while...

    I was talking about ur writing skills. fattane..;)

    No need to do it... just use a void ne. :lol: ,
    I can hardly think of a main returning to a function unless u use a recursive...
    Any way we have c in our first year....:)
     

    x-pert

    Member
    Jun 13, 2006
    20,952
    77
    0
    SAN_APIIT said:
    I was talking about ur writing skills. fattane..;)

    No need to do it... just use a void ne. :lol: ,
    I can hardly think of a main returning to a function unless u use a recursive...
    Any way we have c in our first year....:)


    Yes machang... But this is the standard way of doing it bro... Earlier we used void. But now due to the portability and re-engineering aspects we standardised it to use it as int and return 0.

    :)

    Glad to have you here machang... Correct me if I do some mistake bro ok...

    hmmm.. writing skills... hehe First one was not my writing... most of them are from a book. But second one I did.... Glad you like it bro...
    From now on... Its completely my writing... Comment on them later...
     

    SAN_APIIT

    Well-known member
  • Mar 8, 2007
    4,611
    196
    63
    In a Chip !!!
    x-pert said:
    Yes machang... But this is the standard way of doing it bro... Earlier we used void. But now due to the portability and re-engineering aspects we standardised it to use it as int and return 0.

    :)

    Glad to have you here machang... Correct me if I do some mistake bro ok...

    hmmm.. writing skills... hehe First one was not my writing... most of them are from a book. But second one I did.... Glad you like it bro...
    From now on... Its completely my writing... Comment on them later...

    Ela machchang... :yes:
    keep it up bro... :D
     

    ICE

    Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    SAN_APIIT said:
    This is my favorite tool for C++, even though u can code c coding here don't use this for c. some bugs when using pointers.... :(

    thanx for the info machan.....:yes: :yes:

    i havent used this software for many programs since im always using linux for programming...

    i post about this for windows users who r not familiar with linux environment.
     

    SAN_APIIT

    Well-known member
  • Mar 8, 2007
    4,611
    196
    63
    In a Chip !!!
    ICE said:
    thanx for the info machan.....:yes: :yes:

    i havent used this software for many programs since im always using linux for programming...

    i post about this for windows users who r not familiar with linux environment.

    Elane... open source kollec wage...:lol:
    Any way the best compiler i found for C is BorlandC 3.1. witch has a dos mode compiler and a windows IDE. (Graphic.h supported)

    For C++ borland 5.5 and DEV-CPP thama. :D
     

    ICE

    Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    x-pert said:
    Yes machang... But this is the standard way of doing it bro... Earlier we used void. But now due to the portability and re-engineering aspects we standardised it to use it as int and return 0.

    :)

    ohh z that the reason....

    i thought i was for the OS 2 determine the program executed correctly.

    thank u weva machan..
     

    x-pert

    Member
    Jun 13, 2006
    20,952
    77
    0
    ICE said:
    ohh z that the reason....

    i thought i was for the OS 2 determine the program executed correctly.

    thank u weva machan..


    Thats another reason... Then we can use another wrapper program above the C program to catch the exception and stop crashing the program due to an error...

    You are correct too.... :cool:
     

    ICE

    Active member
  • Mar 26, 2007
    6,152
    1
    38
    41
    x-pert said:
    Thats another reason... Then we can use another wrapper program above the C program to catch the exception and stop crashing the program due to an error...

    You are correct too.... :cool:

    happa math harida....

    ela ela....:lol: :lol: