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 Zlatko
(Top Expert on this page)

Expertise
I can answer questions about C / C++ programming, software design, algorithms, and interprocess communication. I have access to Microsoft Visual Studio and gcc as my development platforms. I regret that I cannot answer questions about Turbo C/C++ graphics. If I'm maxed out here, try me in the C++ category.

Experience
I have been developing software professionally in C and C++ for UNIX and Microsoft Windows since 1991.

Education/Credentials
I have a Bachelor of Applied Science in Computer Engineering from the University of Waterloo located in Waterloo, Ontario, Canada. I hold the IEEE Certified Software Development Professional designation and SUN Java Programmer and Java Developer credentials.

   

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

SubjectDate AskedExpert

Reverse satck .11/22/2009Zlatko
  Q: Write a program that reverses the string contents of a stack (the top and bottom elements exchange ...
  A: Here are the changes you need to make: 1) change stackNode to have: char* data; as the data type. ...
Reverse satck .11/22/2009Zlatko
  Q: Write a program that reverses the string contents of a stack (the top and bottom elements exchange ...
  A: There are 2 ways that I can read your problem. 1) You want to read one string into the stack so ...
Data Structure11/18/2009Prince M. Premnath
  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> ...
arrays11/16/2009Zlatko
  Q: first i wanted to thank you for the last response..it helped out a lot. now i have an assignment ...
  A: Edit: Sorry, there was an error in the code I sent you. The corrected is below. Hello Christopher. ...
arrays11/15/2009Zlatko
  Q: first i wanted to thank you for the last response..it helped out a lot. now i have an assignment ...
  A: Well OK You can have a loop in the main to enter the answers like this: cout<<"Please enter the ...
arrays11/15/2009Zlatko
  Q: first i wanted to thank you for the last response..it helped out a lot. now i have an assignment ...
  A: If I understand correctly, you have 2 arrays. One array has the student's answers, and the other ...
array of structure11/14/2009Joydeep Bhattacharya
  Q: sir, i m pawan getting a problem in the follwing program . my problem is when i ask a user to ...
  A: There are many errors in the code u have sent please remove the same and try again struct student { ...
header files11/13/2009Zlatko
  Q: if i save my program with .c extension, my program run successfully with printf(), scanf(), getch(), ...
  A: If the correct header files are not included, the C compiler will make assumptions about the ...
constant pointer11/13/2009Joseph Moore
  Q: Is there any difference between *ptr and &ptr in following codes code 1 ------ int x = 10; ...
  A: Ajay. First, looking at your code, it appears to be mis-categorized. Your second piece of code is ...
C programming11/12/2009Zlatko
  Q: Actually i am trying to solve this question. "B. Write a program to enter two dates as shown, and ...
  A: Please post a follow-up question and show me what you have done so far. I will be happy to help you ...
Merging char-arrays11/11/2009Zlatko
  Q: I need answer to the following program in C/C++. You are required to write a program that takes ...
  A: The easiest way to do this is to input the two arrays, create one large array with the data of both ...
Merge Sort11/11/2009Zlatko
  Q: n log 2n Solve via merge sort & get the complexity..
  A: I will think about your problem. Have you tried to write a merge sort yourself? It would be good for ...
What would the following print?11/9/2009Joseph Moore
  Q: Joseph, I've come across this program the other day, and I just can't get the answer for this one, ...
  A: Angela. The problem is that you have declared a global variable called ctr and used this in both ...
union REGS11/6/2009Prince M. Premnath
  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 ...
C++ File manipulation11/5/2009Zlatko
  Q: I am using windows XP and DEV C++ I want to make a program used in file transfer. How do you copy ...
  A: The functions you are looking for are CopyFile and MoveFile. The MoveFile does the renaming. The ...
RSA Encryption in C11/5/2009Zlatko
  Q: I have recently written a program in c for the demonstration of the RSA encryption. for some reason ...
  A: You can send me the code as an attachment to zlatko.c.help at gmail.com or you can post it as a ...
question11/3/2009Joseph Moore
  Q: explain the function of fflush<stdin>?
  A: Ankit. Please don't use the fflush function. The function is intended to flush the buffer provided ...
c programe for prime number11/1/2009Joseph Moore
  Q: First, i need to calculate, and print out all the prime numbers less than or equal to the number 17 ...
  A: Ming. You are very, very close with your answer already. I've made a few changes to the program ...
rearrange string10/28/2009Prince M. Premnath
  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/2009Prince M. Premnath
  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/2009Prince M. Premnath
  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 ...
Stuck on a problem using c10/17/2009Zlatko
  Q: I'm doing some work at the moment, in which i've hit a brick wall. I'll post what i've done to begin ...
  A: You have to keep track of each box's capacity and decrease the capacity as you put items into the ...
Stuck on a problem using c10/16/2009Zlatko
  Q: I'm doing some work at the moment, in which i've hit a brick wall. I'll post what i've done to begin ...
  A: Derrick, I can understand the use of int box[numberOfItems][numberOfBoxes]. You have an array of ...
Stuck on a problem using c10/16/2009Zlatko
  Q: I'm doing some work at the moment, in which i've hit a brick wall. I'll post what i've done to begin ...
  A: I commend you for doing as much of your assignment as possible. My aim is to help you get your ...
simple club membership program10/9/2009Zlatko
  Q: how to create simple club membership program in c??
  A: Philip, the first thing you should do is make a clear list of what you want your program to do. I ...
'malloc' function10/8/2009Zlatko
  Q: My C code compiled on a MAC station gives me a segmentation fault when it tries to go through the ...
  A: Alex, there is nothing in the code you posted that would normally cause a seg fault. You should, ...
c program10/5/2009Joseph Moore
  Q: C program that computes and prints out the sum of all natural numbers below 100000 that are ...
  A: What compiler are you using, and can you copy/paste the specific warnings? What happens when you ...
c program10/4/2009Joseph Moore
  Q: C program that computes and prints out the sum of all natural numbers below 100000 that are ...
  A: Coco. You are very close in your attempt. There are a few semantics issues, but your algorithm is ...
PROJECT10/2/2009Zlatko
  Q: Write an ANSI C program to implement a doubly-linked self organising list.A self-organising list is ...
  A: According to the problem, the node count is incremented whenever a node is found using the search ...
PROJECT9/29/2009Zlatko
  Q: Write an ANSI C program to implement a doubly-linked self organising list.A self-organising list is ...
  A: Yes, I can help you but you have not told me what you are having trouble with. I understand your ...
c program9/28/2009Joseph Moore
  Q: C program that computes and prints out the sum of all natural numbers below 100000 that are ...
  A: Coco. I prefer people to try the code for themselves to begin with, so I'll go over what operations ...
Read line whole line from the console in linux9/24/2009Smitha Renny
  Q: I was trying to read a line from the standard in put console with the string limited by the length ...
  A: but in order for me to be able to help you, I would need the code that you are working with. Kindly ...
Reading line from the standard console9/24/2009Joseph Moore
  Q: I was trying to read a line from the standard in put console with the string limited by the length ...
  A: The problem you're seeing is a very common problem experience by beginners. It has to do with the ...
Problem of skiping a address in structures.9/24/2009Joseph Moore
  Q: I made the following programe: #include<stdio.h> #include<conio.h> #include<string.h> void main() ...
  A: Kshitij. The problem you're seeing is a very common problem experience by beginners. The problem ...
C programming9/23/2009Joseph Moore
  Q: how do i declare an ESC button, so that when user presses it the program terminates?
  A: Tumelo. The simplest way to do this is to use the exit function. The format of the exit function ...
string and charecter manipulation using strings9/20/2009Joseph Moore
  Q: i have to work on two functions one to replace and another one to match strings using pointers. ...
  A: Nick. I generally prefer not to just give code, but I'm a little tired right now and it's easier to ...
charector and string manipulation using pointers9/20/2009Zlatko
  Q: i have to work on two functions one to replace and another one to match strings using pointers. ...
  A: I'm glad to help, but I have to remind you that thinking about the strmatch algorithm is a good ...
array9/19/2009Smitha Renny
  Q: Good dAy!!i'm a freshman student of i.t here in the Philippines.. i would like to know what ...
  A: That is simpler still. You'll have to provide the char array the values at the time of declaration ...
c++ programing9/17/2009Joseph Moore
  Q: i have a C++ project which i am to submit very soon, i am not good at programing. what is that i ...
  A: Thao. Your first question, "what is it that I need to become a good programmer," is a bit difficult ...
array9/17/2009Smitha Renny
  Q: Good dAy!!i'm a freshman student of i.t here in the Philippines.. i would like to know what ...
  A: For this situation the normal thing would be to think of an array of names. But 'C' in its ...

Page:   1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  |  Next      All


Questions by
Active Experts:
Smitha RennyPrince M. PremnathJoydeep Bhattacharya
NarendraKaustav NeogyJoseph Moore
Zlatko  

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.