Thursday, 20 October 2016

PROGRAMMING AND COMPUTER MANIA: The instructions that a beginner programmer must f...

PROGRAMMING AND COMPUTER MANIA: The instructions that a beginner programmer must f...: Hello friends in this post i am going to share The instructions that a beginner programmer must follow while making a C program.If we are a...

The instructions that a beginner programmer must follow while making a C program

Hello friends in this post i am going to share The instructions that a beginner programmer must follow while making a C program.If we are able to drive these problems out then we can be a good programmer.These problems are very common and sometimes they frustrate the students.Consequently, students think that programming is very difficult.So if you are a beginner then you should think programming is very easy and you can do it .The most important thing in learning programming is the interest of domain.You are interested then you will learn easily.So generate your interest ....

Here are the key points....

1.ALWAYS START WITH ZERO LEVEL

If you  want to learn somethig and you dont know the abc of that thing then  you must start with the basics and gradually you will learn more and more concepts till the advanced topics.Now a days the students want to learn the advanced concepts before learning the basics.

2.READABILITY

Use tab in the program so the you will find it easy to counter errors in your program . Don't make the code complex.

3.ALWAYS FIND THE ALTERNATE SOLUTION

If you are making a program then you must find the alternative way to solve the problem.This will boost your logical skill.


4.SEARCH AND RESEARCH 

Search and research on internet so that you will aware of the new things .you will come across a lot of things that will help you in learning the typical things.

5.PRACTICE 

Do practise a lot to get experience in coding.You will learn key concepts and will be aware of errors .

6.CREATE INTEREST

Create interest in making program then you will learn fast and grab the things easily.
                     
                         Search the querry that you have on internet or ask your teachers without any hesitations.

Thank you for visiting us ......happy coding.......

we will come  with new facts and figure ,tips and tricks so visit again...

 

Monday, 17 October 2016

How to create a C program without main function

              C PROGRAM WITHOUT MAIN FUNCTION

Hello friends... 
we always create a program in C and C++ programming language and the most important thing is that we create a main function in every program.We are also taught by the teachers that we can not create a C program without main function .As we know main is a user defined function so can we make a C program without main function?
Yes we can....


So in this post i will show you how to achieve this task.
here is the code...

#include<stdio.h>
#include<conio.h>
#define begin main
int begin()
{
              clrscr();
              printf("This program is without main function");
              getch();
              return 0;
}

This program will  compile and run successfully .

So this was all for this post we will come with new and interesting typical programmming in C that make a lot of fun.








Tuesday, 4 October 2016

How to make a folder with no name

Hello friends ,

Today we are going to create a folder which has no name in window operating system.In window operating system there is a facility or feature which is Unicode Control Character .They are invisible and represented as non printable characters.

Unicode Control Characters(by computerhope.com)-non-printing character, also called a control character, is a number that represents a non-written or non-printable character (letter, number, or symbol). Some control characters represent audible or silent signals to be sent or received. Other control characters (ASCII code) include the backspace, line feed, form feed, carriage return, escape, and delete.






 Here are the steps to make a folder with no name:

step 1-Create a new folder          

step 2-delete the default name which is 'New Folder' then right click 

step 3-select insert unicode control characters

step 4-now you can select any of the options except the last two options.


And now we have successfully created the folder with no name.


We will come with new tips or new coding of typical C programs, So visit again ...........





Monday, 3 October 2016

how to create a 3d animation in C language

HOW TO CREATE A 3D ANIMATION IN C LANGUAGE

Hello friends we always want to do something new so that we can improve ourselves in every field of our lives.
Here i have created a program of 3d animation in C language .I have used turbo C++ compiler for this and also recommend you to use if you are running this program.Its ouput is pretty much cool and you can customize it your own so enjoy it....
Here is the code.....
ALSO SEE:TYPING GAME PROJECT IN C


#include<conio.h>
#include<stdio.h>
#include<graphics.h>
void happy();
int main()
   {
happy();
return 0;
}
void happy()
{
int x,y, gd = DETECT, gm;
     char arr[]="HAPPY TEACHER'S DAY 2016",arr1[]="They say that...'Experience is the best teacher'";
     int i;
     initgraph(&gd,&gm,"c:\\tc\\bgi");//used to initialised the graphics
     settextstyle(SCRIPT_FONT,HORIZ_DIR,3);//used to change the text style and size
    setcolor(4); // used to set the color of the output text
     outtextxy(50,170,arr1);  //used to print msg at the given position cursor
     outtextxy(50,190,"But for us...");
     outtextxy(50,210,"Having you as our teacher is the best experience!");
     settextstyle(TRIPLEX_FONT,HORIZ_DIR,1);
     setcolor(GREEN);
outtextxy(300,350,"Created By :: Shashi Kumar");
settextstyle(TRIPLEX_FONT,HORIZ_DIR,5);
     while(!kbhit())
{
     for(i=100;i<110;i++)
     {
outtextxy(50,i,arr);
setcolor(i);
delay(200); // pause the program
     }
}       getch();
     
system("cls");  // substitution for CLRSCR();
closegraph();
}
ALSO SEE::HOW TO CHANGE THE BACKGROUND COLOR OF TURBO C++ EDITOR'S BACKGROUND