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
~17.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for pvbhargav

Hi all, I have already used InitGraph and have given the path(C:\\TC\BGI) in Initgraph and checked the Graphics option in Linker Options. Still Iam getting this error. I want a solution. Can somebody pls help me. Its urgent.

Member Avatar for Sun_5
-1
14K
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
127
Member Avatar for inspire_all

#include<stdio.h> #include<conio.h> int main() { char cyp[150],eng[26]; scanf("%s",eng); gets(cyp); getch(); return 0; } eng is accepted but only one letter is accepted for cyp.

Member Avatar for rory.starkweather.7
0
379
Member Avatar for parth2911
Member Avatar for SerenityG

Hello, I have this program that runs in C++ that I need to run in C. This is my program in C++: #include <iostream> #include <string> #include <cctype> using namespace std; char encode (char plaintext) { if (isupper(plaintext)) { if (plaintext > 'M') { plaintext += 13; } else { …

Member Avatar for David W
0
217
Member Avatar for ferizhandi

hi all i want to open a file but this file in other directory.and i want to use this function: int open( char *filename, int access, int permission ); i can not use other function, because i have use only system call function. when file exists beside of my code, …

Member Avatar for naveen1993
0
245
Member Avatar for Razahcy

what is difference between heep and stack memory give simple consept.

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

I tried to enter the following code and the compiler says "[Error] expected ')' before string constant" char string[6]; strcpy(string,"HELLO\0"); can somebody please help me

Member Avatar for naveen1993
0
548
Member Avatar for infatuate

So I'm trying to write a program that will read a program that will be reading characters/strings in regular text and will output the information in hexadecimal format. An example of such is this "UNAME" = "55 4E 41 4D 45 28 31 29" in hexadecimal format. I just don't …

Member Avatar for naveen1993
0
155
Member Avatar for smdjilani

we have both malloc() and calloc(),both work as same then why they introduced two differen functions?please

Member Avatar for naveen1993
0
176
Member Avatar for shahzeb C
Member Avatar for naveen1993
0
117
Member Avatar for inspire_all

suppose there are two strings str1 and str2. suppose i filled str1 with some characters.Now what i want to do is copying string str2 at some specified location in str1. How can i do it?

Member Avatar for naveen1993
0
198
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
89
Member Avatar for Prashant_4

dear friends, I am a beginner in c programming and I have learned the c++, java as well, In C I have been asked for a question about how to convert lower case string like any name into uppercase, and i have read a program for it by pointers and …

Member Avatar for naveen1993
0
225
Member Avatar for COKEDUDE

Can I please have a good detailed explanation on the differences between malloc and calloc? I always have trouble understanding that.

Member Avatar for deceptikon
0
347
Member Avatar for mcsreerag

I need help in reading numbers using scanf functions. A range of numbers have to be scanned.No array should be used.No limiting condition for reading is given.What shall i do.?

Member Avatar for naveen1993
0
157
Member Avatar for Subhasis giri

void main() { int i=2; clrscr(); printf("%d %d %d %d %d",i++,i--,--i,++i,i) ; getch(); }

Member Avatar for deceptikon
0
111
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
95
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
110