Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
8
Posts with Downvotes
7
Downvoting Members
3
1 Commented Post
0 Endorsements
~18.6K People Reached
Favorite Forums
Favorite Tags

19 Posted Topics

Member Avatar for pvbhargav

With reference to ur query, If You are getting Error in Windows XP that Undefined symbol initgraph in module then follow the Steps : Go to Console Go to Options Go to Linker Go to Libraries Make "X" Mark on Graphics Library

Member Avatar for Sun_5
-1
15K
Member Avatar for naveen1993

#include<stdio.h> #include<conio.h> #include<graphics.h> #include<dos.h> void base() { int k,l; for(k=0;k<20;l=l+16,k++) { rectangle(100+l,400,116+l,418); //square box line(107+l,418,107+l,413); //middle down to up line line(107+l,413,100+l,409); //middle to left side line(107+l,413,112+l,400); //middle to up side rectangle(100+l,418,116+l,436); line(107+l,436,107+l,431); line(107+l,431,100+l,427); line(107+l,431,112+l,418); } } int main() { int gd=DETECT,gm; int i,j,k,l,ch1,ch2,x=90,y=389; initgraph(&gd,&gm,"c:\\tc\\bgi"); //base(); ch1=getch(); while(ch1==32) { base(); if(ch1!=32) …

Member Avatar for naveen1993
-1
128
Member Avatar for inspire_all

With reference to ur query, #include<stdio.h> #include<conio.h> int main() { char eng[26]; clrscr(); //scanf("%s",&eng); gets(eng); puts(eng); getch(); return 0; }

Member Avatar for rory.starkweather.7
0
397
Member Avatar for parth2911

With reference to ur query, int main() { char ch='a'; clrscr(); printf("%c",ch); getch(); return 0; } as u said use character for output. here ch is a variable. a is stored in ch variable. ch is holding the result of a. that variable is used as input for printing data …

Member Avatar for David W
-2
107
Member Avatar for SerenityG

With reference to ur query, i think u need to manually to change the source code to c by changing header files, printing and reading statements,etc.

Member Avatar for David W
0
240
Member Avatar for ferizhandi

With reference to ur query, FILE*fp; int fopen(fp,char*filename,"w"); fp is FILE*, char*filename is filepath, w is file mode i.e., read, write, read and write.

Member Avatar for naveen1993
0
255
Member Avatar for Razahcy

With reference to ur query, heap is also called as dynamic memory. When we are creating the memory using malloc(),calloc(),realloc() functions it will create the memory in heap area. It acts as a permanent memory if we are not deallocated the memory using free() funcion. stack the no. of arguments …

Member Avatar for Schol-R-LEA
-1
239
Member Avatar for daniel.benniah

With reference to ur query, int main() { char str[6]; clrscr(); strcpy(str,"Hello\0"); printf("%s",str); getch(); return 0; } whenever we are passing the string (normal string without \0) to another string with the help of strcpy() function it will print as it is. if ur using \0 at end of the …

Member Avatar for naveen1993
0
568
Member Avatar for infatuate

With reference to ur query, int main() { char ch='a'; char*ptr=&ch; clrscr(); printf("Converting character to hexadecimal format"); printf("%p",ptr); getch(); return 0; }

Member Avatar for naveen1993
0
163
Member Avatar for smdjilani

With reference to ur query, malloc() is a pre-defined function which is available in <alloc.h>. We can also create memory without this function. But, whatever the program without this header file will occupies static memory allocation.For example, if you want to create the memory in dynamic memory allocation then go …

Member Avatar for naveen1993
0
182
Member Avatar for shahzeb C

With reference to ur query, #include<stdio.h> #include<conio.h> int main() { char ch='a'; char*ptr=&ch; clrscr(); printf("%d %c",*ptr,ch); getch(); return 0; }

Member Avatar for naveen1993
0
120
Member Avatar for inspire_all

With reference to ur query, int main() { char str1[50]; char str2[50]; int n; clrscr(); printf("Enter str1"); scanf("%s",&str1); puts(str1); printf("Enter str2"); scanf("%s",&str2); puts(str2); printf("Enter location in digits"); scanf("%d",&n); strcpy(str1+n,str2); puts(str1); getch(); return 0; }

Member Avatar for naveen1993
0
213
Member Avatar for naveen1993

Hi everyone, I have 16GB pendrive (Transcend) v3.0. When i inserted into my pc its detecting and showing drive also but when iam trying to copy the files its not copying...... How to solve this problem..

Member Avatar for rubberman
0
92
Member Avatar for Prashant_4

With reference to ur query, char c='b'; char d; d=toupper(c);//Here it will convert the b letter into B with the help of ASCII values printf("%c",d);

Member Avatar for naveen1993
0
243
Member Avatar for COKEDUDE

With reference to ur query, malloc() is a pre-defined function which is available in <alloc.h>. We can also create memory without this function. But, whatever the program without this header file will occupies static memory allocation.For example, if you want to create the memory in dynamic memory allocation then go …

Member Avatar for deceptikon
0
353
Member Avatar for mcsreerag

With reference to ur query, U may proceed like this also if u like it.. int num,n; printf("Enter the numbers"); for(i=0;i<=n;i++)//U can enter n numbers. scanf("%d",&num);

Member Avatar for naveen1993
0
166
Member Avatar for Subhasis giri

With reference to ur program, Nice to meet you... Actually the printf() statement will work according to the stack mechanism i.e., the evaluation (execution) will starts from right side to left side... printf("%d %d %d %d %d",i++,i--,--i,++i,i) ; value of i is 2 follow the procedure right to left first …

Member Avatar for deceptikon
0
118
Member Avatar for naveen1993

this program is working fine.. As i was moving the object with the help of ASCII values. But i want to move the object towards right as per my input (through keyboard,right arrow). But it is moving with the same x and y axis..

Member Avatar for naveen1993
0
99
Member Avatar for naveen1993

Help me with ur inputs, how to insert and move the image using C language.. we can use by using "Type Argument Approach" to move the image??

Member Avatar for Ancient Dragon
0
115

The End.