AllExperts > C 
Search      
C
Volunteer
Answers to thousands of questions
 Home · More C Questions · Question Library  · Free Encyclopedia ·
More C Answers
Question Library

Ask a question about C
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
About Prince M. Premnath
(Top Expert on this page)

Expertise

I'm sure that I can solve any doubts in Turbo C ,Graphics Programing ,Mouse, Hardware Programming ,File System ,Interrupts, BIOS handling , TSR Programming , General Concepts in C Language, handling inline Assembly statements

Experience
Research over 6+ Years

Organizations
CG-VAK Softwares and Exports Limited

Education/Credentials
Masters in Computer Applications

   

You are here:  Experts > Computing/Technology > C/C++ > C

Questions Answered By Expert  Prince M. Premnath 
In Category  C

SubjectDate Asked

Stack Operations11/23/2009
  Q: Write a program that reverses the string contents of a stack (the top and bottom elements exchange ...
  A: I really really sorry for the delay in responding you :( just got committed with some project ...
Stack Operations11/21/2009
  Q: Write a program that reverses the string contents of a stack (the top and bottom elements exchange ...
  A: Need not to write code this much complex ,earlier ive answered a question similar to this please ...
Common errors while handling files in C.11/19/2009
  Q: can u plz tell me wat r the diffrent types of errors occurred in file handling of c language??
  A: Common errors while handling files in C. We are porn to mistakes and not the computer; it’s just a ...
Data Structure11/18/2009
  Q: regarding the program ask by mazlee for reverse string, i try to run the program, result sorting ...
  A: Sorry for the delay in responding please find the code below #include<stdio.h> #include<conio.h> ...
union REGS11/6/2009
  Q: I have inline C code for PC to Pc communication using Null modem. In that program we have used ...
  A: first of all i apologize for the late response. , coming to the point 'union REGS' is just an union ...
rearrange string10/28/2009
  Q: Premnath, It's me again, mazlee. Here I have one question in C programming that I blur to ...
  A: ) Ive programmed this simple programme exatctly matches your need using strncmp() function ( i ...
Reverses string contents using stack in C10/26/2009
  Q: May i know how to write C programming using stack for reverses string using stack (the top and ...
  A: Need not to go for that much heavy processing ,say reversing , swapping kinda things just have a ...
Strings in C10/24/2009
  Q: sir, I am Major MTC De Silva from Sri lanka Army.Now I am under going Bsc in Computer Science in ...
  A: Here is the code i ve programmed for string manipulations what you have mentioned, please have a ...
doubt9/16/2009
  Q: i am sadhana. i want program for search function. search means data is stored in sdram ...
  A: This is Prince M. Premnath Answering your answer from Question Pool ! you have mentioned about ...
Graphics and Vista9/16/2009
  Q: Sir I tried to run a simple graphics program on my PC which is VISTA supported!!!!!! It doesn't ...
  A: I Can understand ur issue , i ve answered similar question , but thats for opening IDE in full ...
Sum of Cubes of numbers8/31/2009
  Q: Write a program that examines all the numbers from 1 to 999, displaying all those for which the sum ...
  A: Sorry for the delay , since i was busy with some project issues , kindly check out the following ...
Return type of main()8/26/2009
  Q: In college, I've gotten used to programming using only main() { //code } Last month I underwent ...
  A: By default all the function defined in C program will have the return type is of int and not void ...
Function Prototype8/19/2009
  Q: FILE *fp; What exactly fp is going to stor and why it is declared as pointer? ANSWER: Hai dear ...
  A: As you know well the execution is sequential starts from main() , any definition say MACRO , or ...
To open the page of c prog.8/5/2009
  Q: In computer after clicking run option in start,in 'cmd' what instructions should be given to ...
  A: It seems you are a newbie for computers, no probs even ive came across the same problems 6 years ...
What is FILE in C Language?6/19/2009
  Q: respected sir, to make a file in c language we write, FILE f1; question is, why file extension ...
  A: First of all let me confirm you that FILE is not a key word , perhaps its a user defined data type ...
Regarding development of text editor in C++6/6/2009
  Q: Respected sir, I wanted to develop a text editor code as part of my college project but i have no ...
  A: Hai Dear Abhay! Describing all the aspects of the editor requires steady background of system ...
File Handaling with c luangage4/21/2009
  Q: This is please for me that i have found your touch, My Question is : How can i fetch the record or ...
  A: You can do this without any pain , simply just by the use of fseek() function., lemme summarize few ...
graphics and hardware/software3/29/2009
  Q: My computer has O.S Vista preinstalled int it which does not support full-screen mode for Turbo C,or ...
  A: Don't worry , here is a simple solution , follow this link and download the software ...
Syntax Error , Runtime Error , Type mismatch Error3/24/2009
  Q: what is syntax error, runtime error ,mismatch error in c? please give me detail with example.
  A: vedant! Syntax error is the one which occur if there is a violation in arrangement or in sequence ...
inportb() and outportb()3/22/2009
  Q: I need a favour from you, I was actually using these functions inportb() and outportb() in DOS as ...
  A: Hai dear Azeem ! The function's what you have mentioned ( inportb() outportb() ) are not ...
String acceptence in graphics mode..12/28/2008
  Q: In C/C++ if i would want to create a form which would accept strings and save the string in a ...
  A: Hai dear Shruthi ! Happy new year ! IN graphics mode very well you can use the printf and ...
C, File Management10/29/2008
  Q: FILE *fp; What exactly fp is going to stor and why it is declared as pointer?
  A: Hai dear Prakash B M ! FILE is nothing but a structure defined in stdio.h header file with the ...
error : can't open stdio.h file10/26/2008
  Q: sir when am trying to compile any c program an error is coming that "can't open stdio.h file. i ...
  A: Hai Dear Varshitha ! Open the OPTION menu from your IDE select Directories , there you supposed to ...
help plz10/9/2008
  Q: can you help me about this program i don't know why its printf doesn't work can you help me plz ...
  A: Hai dear Bita !! I found few error's with your programme , check out the corrections done below ., ...
help plz9/1/2008
  Q: finally see you available i have a problem in this programme below i want this programme to get ...
  A: Hai Dear Bita ! Thanks for your question , ive written a simple code ,hope it will meet all your ...
help plz8/26/2008
  Q: i have a question about the work of getchar() this is the code that i write but in the printing of ...
  A: Hai Dear Bita ! Your code having simple issue , ie you failed to terminate the string using the ...
c - language8/26/2008
  Q: iwant to know about the functions of c we are given an assinge -mnt on topic \" functions of c\" can ...
  A: Hai dear Ajay ! Lemme give you a simple idea about how to collect all the functions available in ...
regarding data structures in C8/24/2008
  Q: This s rajbalaji.ur former student came thru veera sir.., My question s tat hw 2 use stack concept ...
  A: Hai Dear Raj Balaji ! Well i can remember you well .. How are ? how about your college ? ...
FILE8/22/2008
  Q: how to extract the data from file using c language, i need answer urgent
  A: Hai Dear Priya ! As Your question say's that you wish to extract some data from the file using ...
hi!8/21/2008
  Q: I'm trying to run the program but it is not running because the Len is undefined symbol.thanks
  A: Hai Dear Che ! Thanks for your question ! But the familiar error " Undefined symbol Len" ...
need diff between C and Embed C8/20/2008
  Q: sir i know c well.but i'm going to write program on embed c for hardware.ll u tell me what r the ...
  A: Hai Dear Manju ! There is a lot of difference between the C and Embedded C , C is ment for ...
Merging Array !8/20/2008
  Q: how can i merge the two sorted arrays into a single array? i need to know the codes
  A: Hai Dear bhadz ! We can append the contents of the one array with another array ( merging ) but ...
turbo c complier error8/11/2008
  Q: I made a program of c language in turbo c and saved it with the extension .c. I made the variable ...
  A: Hai Dear Karthi ! You can find similar error in all ANSI standard C Compiler , ANSI standard ...
about my project text editor7/13/2008
  Q: I m student of comp engg. and i want to make project of text editor.I also create a layout of my ...
  A: Hai dear Sahil ! Describing all the aspects of the editor requires steady background of system ...
interpreters and compilers7/3/2008
  Q: my doubt is why does a compiled version executes faster than a interpreted version of c
  A: I wish to make few points clear between a compiler and an interpreter A compiler takes lot of ...
program to include c function in other program5/20/2008
  Q: sir,suppose i written a program for factorial...with "fact.c" ..now i want to include this program ...
  A: Hai Dear Mr Venkat ! Of course its simple , just follow the instructions.( assuming that you ...
FILE Structure !5/19/2008
  Q: What FILE Keyword represent in c language?
  A: Hai Dear Ganesh ! First of all let me confirm you that FILE is not a key word , perhaps its a ...
Number Reversing !5/14/2008
  Q: If a five digit number is input through the keyboard, write a program to reverse the number.
  A: Hai dear sushmita ! Here is the code , what you are actually looking for #include<stdio.h> ...
about inputing data into a 2x2 array5/13/2008
  Q: good to see you around. Pls, blow is an array array[5][2]= { 1, 14, ...
  A: Nice to meet you back with your question ! Of course its simple to read input to an two ...
How to create command buttons ?4/19/2008
  Q: i am student of engineering and styduing turbo c in my semester sir tell me how can i make a box ...
  A: Perhaps its simple to develop text box and command buttons in C , only skill you have to possess is ...
How to save asin Values in a file ?3/24/2008
  Q: I have one question related to filehandling in c. Q:How i can store the different values of a sine ...
  A: Hai Dear Samita ! Perhaps its simple to store the values of a sine wave equation, just follow the ...
graphics on turbo c3/14/2008
  Q: :) can you also help me do a story book with at least 4 or 5 pages using turbo C with a graphics at ...
  A: Sure , you can develop a story book using C , It will be good if you use bit map images to support ...
help..3/14/2008
  Q: can you please help me make a program that will use a pointer where in the user can input an array ...
  A: Here is the code , i hope it would help you out in all respects ! # include <stdio.h> # include ...
C programming3/4/2008
  Q: I would like to know the difference between iteration and recursion. Also the way to expalin to ...
  A: Although both iteration and recusion are almost equvalent , they are slightly differs in ...
C programming3/1/2008
  Q: Prince! Just a quick question I'm having trouble with. What does the following program print? ...
  A: Answer for this problem is a). Hi! Hi! Hi! Bye! Bye! Bye! Bye! Bye! Lemme explain you how this ...
Need for a solution3/1/2008
  Q: respected sir, i have a problem,i need the source cod of this latin square 1 2 3 4 2 3 4 1 3 4 ...
  A: Presenting you the solution for this problem ! #include<stdio.h> void main() { int i, j; for( i = ...
Run an EXE file2/29/2008
  Q: Case:- Im my desktop, there is an ITQUE.EXE file. Que:- I want to make a program in C language to ...
  A: I didn't find any problem withis programme , here is an alternate solution of you ! If you are using ...
Printing Strings !2/27/2008
  Q: How are you? I have a 2D character string that I declare as: char ...
  A: Nice to meet you back after a long gap ! I didnt find any bug with your code , perhaps a small ...
Run an EXE file2/26/2008
  Q: Case:- Im my desktop, there is an ITQUE.EXE file. Que:- I want to make a program in C language to ...
  A: A group of built- in functions are available to perform this task suppose you are working in c:\tc ...
memory map2/20/2008
  Q: in interview, i have been asked for " can you draw a memory map for c".what is memory map?
  A: Kalai ! Answer for this question depends on the operating system and the compiler ! For our ...
Graphics !2/20/2008
  Q: sir, I want to get a hardcopy(printout) of my graphics output,but i can't able to do it ,using ...
  A: Most of the Xp and recent version of Windows users experiencing this problem ,since XP prevents the ...
String Trinangle in C2/17/2008
  Q: Premnath, Good to have you back. Here is a programe you once solved on this site and since then, i ...
  A: Nothing sounds interesting with this formulae n = (strlen(str)/3)+1 rough calculations says thats ...
need help to solve a question1/31/2008
  Q: write a program to rotate their values such that x has y,y has z and z has x value.
  A: Swapping values between variable is of course very simple with the help of a third party typically a ...
String Handling . .1/29/2008
  Q: the program should read user input. the output would be like this: Enter String: the quick brown ...
  A: Here i made some corrections with your programme , actually your programme is almost near to the ...
Rename according to time1/28/2008
  Q: im a c newbie. i would like to rename an existing file(xxx.7z) according to time() and localtime() ...
  A: ! If you take a look at the sub components of the tm structure used by localtime , asctime , ...
C hardware related question...1/24/2008
  Q: Sir Prince, I am a computer engineering student here in the philippines, and I wish to create a ...
  A: ! Explaining all those stuffs what you have requested is of course very difficult i hope you know ...
ESC key Catching.12/11/2007
  Q: Premnath, My problem is that, i am scaning the integer values through loop into array. I want ...
  A: Here im presenting you a simple program what i have developed in order to illustrate the concept wit ...
return type of main()12/5/2007
  Q: I have a simple program in c: It is as follows: #include <stdio.h> main(){ printf("Hi There"); } ...
  A: The default return type of functions in C is int eg returnnothing(); the default return type of ...
pls check my programme for me.12/4/2007
  Q: Premnath, If you would only have time to answer abt 4 to 6 questions on my C classes, you would ...
  A: here im presenting you a simple program developed using the help of structures , you can also ...
pls check my programme for me.12/3/2007
  Q: Premnath, If you would only have time to answer abt 4 to 6 questions on my C classes, you would ...
  A: both logical and syntactical !! I suggest you to learn the basic constructs of C programming ...
how to store files names of a folder in an array10/6/2007
  Q: i want to store all the files names which are present in a folder in an array.please tell me as soon ...
  A: Here im presenting you a simple code example Sure it will help you out ! #include <stdio.h> ...
Debugging!9/26/2007
  Q: main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; } a. Runtime error. b. ...
  A: Sure this program won't show any error's , thats because i didn't fine any syntax error's but the ...
File Data Storage!9/26/2007
  Q: How are you? I'd like to kindly ask for your help with the following problem (I'm only showing the ...
  A: Yep , im fine hope u too . really merging of files won't increase the file size !If so then there ...
Need For a Solution9/25/2007
  Q: respected sir, i am anirban paul,from jamshedpur,i have two question could u please tell me the ...
  A: Since my time is limited i have no time to develop solution for all your questions , yen here im ...
memory structure in ram of c9/22/2007
  Q: i want to know about the memory used by c in ram? where what stored and everything related to it?
  A: Answer for this question depends on the operating system and the compiler ! For our discussion let ...
Fetching Input To an exe file without using keyboard.9/22/2007
  Q: I have written a Program in c++ which accepts username and a password.How can i give these inputs to ...
  A: Certainly you can't fine any utility that fetch input to the .exe file what just you developed ! ...
urgently required solution(m havin my exam 2morrow)9/20/2007
  Q: 1)w.a.p 1 12 123 1234 2)w.a.p 1 1 12 ...
  A: Here im presenting 2 programs sure that will help you out to program all the possible outputs given ...
Fetching Input To an exe file without using keyboard.9/20/2007
  Q: I have written a Program in c++ which accepts username and a password.How can i give these inputs to ...
  A: Im not pretty clear about what you are actually looking for , But im sure its possible to give ...
binary in c9/20/2007
  Q: Can you show me how to create a decimal to binary conversion program in C as basic as possible? Our ...
  A: Ya of course thats possible with C , here im presenting you a simple program , hope it will meet ...
Stand Alone Graphics ?8/15/2007
  Q: I'd like to kindly ask you 2 questions: 1) What is the easiest way to draw a point and a line in C ...
  A: How are you ? nice to see you back with your question! Placing a pixel without the help of ...
To read a text file line by line8/2/2007
  Q: My question is I want to write a C program to read a text file line by line and and copy the line in ...
  A: Yep you are right , actually i gave that code just for your understanding! im sure you need not to ...
To read a text file line by line7/31/2007
  Q: My question is I want to write a C program to read a text file line by line and and copy the line in ...
  A: Here im presenting the complete code sure you can learn and understand better ! #include<stdio.h> ...
To read a text file line by line7/30/2007
  Q: My question is I want to write a C program to read a text file line by line and and copy the line in ...
  A: Im sure this file is organized in terms of records ! and i hope all the records have the same format ...
Shut down !7/29/2007
  Q: how to write system shut down program with c?
  A: Before programming shut down thats good to know what is SHUT DOWN ? Its nothing but a safe point ...
Linked List7/16/2007
  Q: How big can we use our linked list in any application? For example, you have 30,000 records each ...
  A: Answer for this question depends on the operating system and the compiler ! For our discussion let ...
Header files Doubt !7/2/2007
  Q: i want to know about the differences between stdio and conio header files
  A: Set of functions that preforms a common function are grouped into a common header files , similarly ...
'c' language7/2/2007
  Q: what is difference between declaration &definition?
  A: Take a look at this statements int a; /* declaration */ a = 10 ; /* definition */ From ...
circle Rotation6/21/2007
  Q: how to rotate a circle in c++. ANSWER: Dear Mr Rizwan ! Im not clear with your question , will ...
  A: First of all you have to be sure with the rotation of circle over 2 dimensional or 3 dimensional ...
clrscr() function SVGA !6/12/2007
  Q: how to clear the screen in svga mode.In a previously asked question you said that only possibility ...
  A: There are many approach to clear the screen under SVGA mode ! 1.Bank switching. Hope bank ...
Serial port programming6/11/2007
  Q: how to program a serial port in visual c++ and c++.
  A: Turbo C/C provides set of functions to perform these kinds of operations over ports ! The ...
clrscr() function6/11/2007
  Q: how to clear the screen in svga mode.In a previously asked question you said that only possibility ...
  A: Ya of course its a good option ! Let me explain u what will happen if you repaint the screen Using ...
how to use fwrite()6/6/2007
  Q: sir: Can you tell me why dont write "R" in simple follow code? im confused why fwrite function cant ...
  A: Upon verifying your code i found lot of Bugs in your code , > stream = fopen("TEST.dat", "wb"); ...
Global variables6/3/2007
  Q: I would like to know how can I declare a global variable in a header file. I have a project which ...
  A: Here i didn't find any problem with this header file , But i want the code for main.c and aux.c , ...
memory allocation5/3/2007
  Q: How are you? I am trying to write a program that operates with large arrays. The code below ...
  A: I found lot of bugs with your code specially in allocating memory for the two dimensional array ! ...
JPEG Processing !4/12/2007
  Q: I have a 100 x 1000 picel black and white JPEG image. I'd like to convert the JPEG into a matrix ...
  A: I hope i have already answered 3 to 4 question's over graphics file manipulation , but im sure all ...
showbits function4/4/2007
  Q: can i use showbits() in c under linux.
  A: The function you have mentioned ( showbits() is not a standard C/C++ Function ) There are ...
16/32 bit3/6/2007
  Q: what is a difference between 16bit or 32 bit color,16bit or 32 bit complier,
  A: Bits in terms of colors is actually the number of bits used to store information about a pixel , ...
c compiler2/26/2007
  Q: I used the Turbo C to compile some programs that I found form the internet ...
  A: I saw that programs ! Of course most of the programs compatible with the compiler what you just ...
c compiler2/23/2007
  Q: How are you? I'm only beginning to learn programming in C. I was wondering if you could suggest a ...
  A: Welcome to C Programming world , as a beginner i 'd like to recommend you the Turbo C compiler ( ...
Barcode in c2/22/2007
  Q: i m trying to create a barcode reader in C that's why i need to take process barcode image. would u ...
  A: Start your project today ! Assume that barcode is just like a image file of any format ( say JPG ...
Steady keyboard LED oscillation2/8/2007
  Q: I would like to work this program as follows below with clean oscillating pulses. The output is ...
  A: Of course you accessing the far memory location , ( where the information of a keyboard is stored ...
C Compilation1/23/2007
  Q: pls give me the detailed compilation process(means different stages\steps from sourse code to ...
  A: A C/C++ program exhibits various phase such as editing , compiling , linking , and running ! The ...
Creating a text editor using C or C++1/20/2007
  Q: Premnath My objective is to create a text editor using either C or C++, however I am restricted ...
  A: Of course! its a bit difficult task to develop a full fledged text editor ! , You are restricted to ...
c language1/10/2007
  Q: if looped 10 to 1 using for loop, how to sum up the given loop? understand?
  A: Clearly i can't understand your question , ie: doubt is what to sum up ? sum up the loop counter ? ...
printing in dos12/28/2006
  Q: Sir How can I write the C code for printing while printer is USB support. And how can i get driver ...
  A: Here is the link to download the dos2usb driver ! Its a driver that intermediate between the printer ...
raster data to bmp file12/11/2006
  Q: Sir, Thank for your reply. Another question, how can i use malloc function to allocate a memory ...
  A: Here i got yet another chance to clear your doubt ! regardng BMP file processing ! I supposed to ...
raster data to bmp file12/8/2006
  Q: Sir, my question is : By using C language, how to create a new image(.bmp) when i have all the ...
  A: Really i cant understand your question , but one thing i wish to tell you now , we can manipulate ...
How to print bit values12/6/2006
  Q: This question was asked in a test. I was asked to receive a char and to print its 8th bit(1 or 0)? I ...
  A: i hope i have already answered this kind of question , both in case of integer and char ! here i ...
unix12/6/2006
  Q: I want to know a unix command how it process internally
  A: Each and every UNIX Command is simply a string , That string will further interpreted ( This is ...
C language11/30/2006
  Q: hell Prince M Premnath will u plz tell me about functions and structure with a simple examplr?
  A: Function is a set of valid C statements , that used to perform a given task , whereas a structure is ...
C clrscr(()11/7/2006
  Q: I wants to know how clrscr() works in graphics window. Please give me the coding for clrscr() that ...
  A: 1.clrscr() Function in turbo C is completly dedicated for text mode , any how if you used with ...
SVGA clrscr()11/7/2006
  Q: I am now working with C in turbo c in win 2000. I did SVGA programming with interrupt 0x10 and ...
  A: As i said earlier its a mal function , since you are using SVGA there is no function to clear the ...
SVGA Mouse11/6/2006
  Q: I wants to work with Mouse in SVGA. I am now using Int 10 with function 0x4f02 and mode 0x101 ...
  A: Even i met with the same problem when i first started programming with SVGA , i can't see the mouse ...
Writing to file using C11/5/2006
  Q: I changed the mode from write to append at the beginning of the program because (write mode will ...
  A: Iam not clear with your question ! But any how i'll give you some properties on append mode. 1. You ...
Writing to file using C11/4/2006
  Q: Prince M. Premnath I am working on Linux Fedora core 3 with gcc compiler, I want to write to a file ...
  A: The problem is very simple , the first thing you have done is correct , and the second - opening ...
Problem in 'c'10/31/2006
  Q: how to write a reverse program?
  A: Im sure i am unable to understand your question , ie you have requested that how to write a reverse ...
Virtual pointer10/24/2006
  Q: sir i wanna know about the concept of virtual pointer..? It has been asked in interviews as well as ...
  A: I'm not sure to what you are referring.( may be pointer to virtual functions) if so follow the ...
Recursion10/19/2006
  Q: I was going through a "C" program on calculating factorial using recursion,where there was no ...
  A: Clearly i cant under stand your question if you want code to compute factorial just use the code ...
TSR10/15/2006
  Q: sir! Kindly explain me how a tsr program works ?
  A: TSR ( Terminate Stay Resident) Before executing each and every program should be loded into main ...
Where can i download Turbo C++?10/14/2006
  Q: Where can i download Turbo C++? And how can i build/creat a C compiler program? Can I with an ...
  A: Lots and lots of websites providing free C/C++ compiler eg : visit www.programmersheaven.com, ...
C program10/14/2006
  Q: sir i would like to know how to write a C program to find the square root of a given no with out ...
  A: here is the code what i have developed just trace it and find out the logic ! /* Program to find ...
executing any .exe file using 'C'10/6/2006
  Q: Respected Sir, Ques1- I want the code with logic, to execute any .exe file. Ques2- How can i run ...
  A: Q1 A group of built- in functions are available to perform this task eg: suppose you are working ...
How to create exe with multiple files (a project for eg)10/4/2006
  Q: How to create a project in turbo c and compile for an exe ? please provide a link to downliad the ...
  A: Thats very simple ! Just follow the steps ( I assume that you are using Turbo C++ 3.0) compiler ...
I am the beginner...9/24/2006
  Q: Pls help me, I am just studying the C Programming Language, eventhough my teacher kept teaching me, ...
  A: Make sure! C is very simple to learn than OTHER Programming languages! Sure ! ill give lot's and ...
unique values by rand( )9/23/2006
  Q: rand( ) has the tendency to be non random , particularly for lower range numbers. This is causing ...
  A: I didn't find any problem with the rand() fnction . even after using the srand() function , Its ...
ERROR IN calculation of cpu utilization using c9/20/2006
  Q: i compiled it in visual c++. but in running this program there are 2 linking errors. they are ...
  A: Nothing to worry the problem is too simple ! I written that program in Turbo C++ But im sure you ...
calculation of cpu utilization using c9/18/2006
  Q: Sir i hav to calculate the cpu utilization in percentage. i want the program in c language. so ...
  A: By Default there is no builtin functions in C /C++ to calculate the cpu utilization . Insted ...
Any special tricks for textcolor & textbackground?9/10/2006
  Q: 1. With the "textbackground" function, how do I get all 16 background colors, instead of 8 ...
  A: 1. Its not possible with that function because its deniced in such a way ! 2. same ! 4. Possible but ...
Finding Hard disk serial using turbo c9/5/2006
  Q: I want to get(read) Hard disk serial number and CPUID in different strings. Pls send me the code or ...
  A: Possibly all the information related to hard disk is available on the first sector of the hard disk ...
C File pointer9/5/2006
  Q: What r the members of the FILE Structure?
  A: File control structure for streams. typedef struct { short level; unsigned ...
Program8/31/2006
  Q: Sir, Please send me, a 'C' language program for getting an excel sheet which as some data.
  A: My time is limited so i cant develop a new software for you yet its my duty to help you ! If you ...
How to create an exe file?8/24/2006
  Q: Mahesh here again. Can i get the code for how to resart the computer using c? Yes i'm using tourbo ...
  A: Ya! We can delete a file using c Program , it can be done with the help of the standard C Library ...
How to create an exe file?8/23/2006
  Q: Suppose I created a small program in C. I would like to create an exe of this file? how to create ...
  A: NOTE : I assume that you are using TURBO C/C++ compiler. You cant create EXE file on your own just ...
C programming8/22/2006
  Q: I have been trying to make a box and put my time table in the box, but it is not working yet. What ...
  A: Nothing wrong with your program , but your program organization is little bit wrong; 1 - Draw the ...
OpenGL using C8/20/2006
  Q: I have written a C program that uses graphic library of OpenGL . So, the first line of the code is ...
  A: Here i give some common errors while compiling and linking with command line compiler ...

All Questions in This Category

Email this page
     
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2006 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.