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. 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++

Questions Answered By Expert  Zlatko 
In Category  C++

SubjectDate Asked

doubt in pointers11/22/2009
  Q: i am basically reading a txt file and making a link list database. i read all the elements in the ...
  A: I will need to see your program before I can help you. I cannot tell what can be wrong from your ...
c++11/22/2009
  Q: could u pls help mi.i realli hv no idea on hw to start.i hope u could guide mi on tis program.i will ...
  A: Your choice of a map for the STL container was excellent. You need to add a function to convert a ...
c++11/19/2009
  Q: ! what is the code in c++ for finding square root of a number without using the function sqrt() in ...
  A: Edit: When I was a student, I learned the Newton's method for finding the roots of an function. The ...
c++11/18/2009
  Q: could u pls help mi.i realli hv no idea on hw to start.i hope u could guide mi on tis program.i will ...
  A: Do you have a sister named Lisa ? I'll help you but I don't have too much time at the moment. What ...
where can i f ind information for my compiler11/17/2009
  Q: please, i am currently using a dev c++ compiler but often times, i have read about statements like ...
  A: I believe that DevC++ is an IDE which uses the MinGW port of the GCC compiler. The gcc web page is ...
Sorting and Searching Array Problem11/16/2009
  Q: My name is Ernest. I am trying to teach myself C++. I am currently working on a C++ problem that I ...
  A: I'm not sure I understand the problem, especially since you did not have processing of student names ...
c++11/15/2009
  Q: could u pls help mi.i realli realli need alot of help frm u.i still cn't seems to do the interest ...
  A: Lisa, you should only display the account if the account's customer ID is the same as the customer ...
c++11/15/2009
  Q: could u pls help mi.i realli realli need alot of help frm u.i still cn't seems to do the interest ...
  A: If I understand correctly, for each customer, you have to print out the accounts and investments ...
Sorting and Searching Array Problem11/15/2009
  Q: My name is Ernest. I am trying to teach myself C++. I am currently working on a C++ problem that I ...
  A: I really appreciate you making an attempt at solving the problem. It shows you are serious, and have ...
what could be wrong with my code?11/14/2009
  Q: i am not sure but could it be that i already deleted the memory to store the object cuz i cant ...
  A: Yes, you are freeing memory when you don't want to. When you call int neg(dyna ob) { return ...
c++11/14/2009
  Q: could u pls help mi.i realli realli need alot of help frm u.i still cn't seems to do the interest ...
  A: Lisa, where you have //////////////////////////////////////////////////////// // Print out ...
GCC vs MSVC++ compilation11/13/2009
  Q: I am about to lose my mind and hoping you can prevent it. Background: As part of a much-too-low ...
  A: I'm glad I could help. I'll address your questions. 1) File scope: The vector rundata was ...
Graphics initialising error11/13/2009
  Q: Sir,I am using Turbo c++. While running the graphics programs I am getting BGI error as "graphics ...
  A: Perhaps you are not calling initgraph correctly. initgraph(&gd,&gm,"..//bgi"); The // indicates a ...
GCC vs MSVC++ compilation11/13/2009
  Q: I am about to lose my mind and hoping you can prevent it. Background: As part of a much-too-low ...
  A: Hang on to your mind. When you're dealing with this quantity of data, you should stay away from the ...
c++ switch, and functions11/12/2009
  Q: My syntax for the switch statement looks correct but I get case 2, 3, ... label not in switch ...
  A: Chris, if you consider a word to be characters delimited by spaces, then this function will do what ...
c++ switch, and functions11/12/2009
  Q: My syntax for the switch statement looks correct but I get case 2, 3, ... label not in switch ...
  A: Chris, I corrected the syntax errors. My comments start with //--- I did not check any logic. I'm ...
Career Opportunity11/11/2009
  Q: I've almost finished my first year at university and I want to know if I should try find an ...
  A: I think getting practical experience is an excellent idea. It gives you a chance to learn, and to ...
c++11/10/2009
  Q: i did nt gt frustrated.it is veri hard.i am trying veri hard to understand the program. i hv ...
  A: This assignment is certainly getting complicated. Here are my comments for your latest code. I have ...
c++11/9/2009
  Q: could you pls help mi,i realli realli need your help.i'm hving a veri hard time doing it.i'm trying ...
  A: Please make sure you read my suggestion at the end before making changes to your code. Here are ...
c++11/7/2009
  Q: could you pls help mi,i realli realli need your help.i'm hving a veri hard time doing it.i'm trying ...
  A: Your program does not compile. I have made corrections to the program to make it compile. The code ...
computing the area of a triangle11/7/2009
  Q: i have an assignment due on computing the are of a triangle using 3 functions...my teacher really is ...
  A: The toughest part of this sort of assignment is handling the user's input. You have to handle ...
c++11/6/2009
  Q: could you pls help mi,i realli realli need your help.i'm hving a veri hard time doing it.i'm trying ...
  A: You've made a good start defining the types of classes you need but you are having trouble reading ...
problem in c++ project11/3/2009
  Q: i had prepared following project in c++.suppose if i enter 10 accounts than delete any account ...
  A: I commend you for doing so much of your assignment. I've tested all of the functions and made slight ...
which language to use for developing apps10/31/2009
  Q: I've a strong attitude towards programming, software engineering. I want to develop some cool apps ...
  A: That is a good question. I've never used Java professionally so I don't know how it's used in ...
maze algorithm10/30/2009
  Q: I was taken an experiment that is the solution of maze problem, but I cannot solve it.I can find ...
  A: I'm happy to help but I cannot say why you are finding only one solution without seeing your code. I ...
I am confused with my program10/28/2009
  Q: I am trying to write a program that will read students names and 3 grades from a file. then the 3 ...
  A: You have not told me what part of your program is giving you trouble. I will give you a bit of code ...
8 Queens10/26/2009
  Q: my problem is about 8 queens problem by Using an exhaustive technique,my problem is that what ...
  A: Bita, I cannot say what the problem is from this code fragment. Please post the entire program. If ...
c++10/26/2009
  Q: could u pls help mi,i realli need your help.i am trying to do a simple addition of using class ...
  A: If you have not done so, make sure you have declarations of your new functions in the myVector ...
c++ input check10/25/2009
  Q: I am a beginner programmer and I've been trying to code a small game (something similar to PONG). In ...
  A: Alex, the problem is that if (kbhit) does not call the kbhit function, it simply returns the ...
c++10/25/2009
  Q: could u pls help mi,i realli need your help.i am trying to do a simple addition of using class ...
  A: That's very strange. I cannot reproduce the problem. No matter what I do, it allows me to enter both ...
c++10/24/2009
  Q: could u pls help mi,i realli need your help.i am trying to do a simple addition of using class ...
  A: That's pretty good. But you need a few changes to make it compile. In C++ you cannot have a variable ...
to accept characters and cost of a node10/23/2009
  Q: ....am supposed to submit this on monday. the problem am facing is to accept a character instead of ...
  A: I am trying a little experiment. I've written a short tutorial on binary trees on google documents. ...
linking loader...no errors but it doesn't produce the right output10/23/2009
  Q: ....i have some problem with the code below. it has no errors but does not produce the right ...
  A: I'm certain that you don't intend your first program to read pass1.c. Maybe it's supposed to read ...
to accept characters and cost of a node10/23/2009
  Q: ....am supposed to submit this on monday. the problem am facing is to accept a character instead of ...
  A: I am having some difficulty understanding your question and I'm not sure what your program is to do. ...
BMP in c++10/22/2009
  Q: i am a university student and i want to Write a C/C++ program that extracts the width and height of ...
  A: You need to know the format of the bitmap file. I assume you are asking about the windows bitmap ...
C++ Perfect Numbers10/22/2009
  Q: I just joined a programming club and we have to do problems to improve our knowledge from time to ...
  A: A computer club is fantastic! I suppose you like puzzles and don't want the answer given right away. ...
linking loader...no errors but it doesn't produce the right output10/21/2009
  Q: ....i have some problem with the code below. it has no errors but does not produce the right ...
  A: Perhaps I misunderstood what the program is supposed to do when I said that the input file should be ...
linking loader...no errors but it doesn't produce the right output10/21/2009
  Q: ....i have some problem with the code below. it has no errors but does not produce the right ...
  A: The program has a number of problems. At the end of my message is a list of warnings produced by the ...
Simple program C++ one small problem10/20/2009
  Q: Im putting through this program and its running but it ends with this "error" The thread 'Win32 ...
  A: Andrew, I'm not getting that behavior. I see The program '[1208] Test.exe: Native' has exited with ...
C++ classes10/19/2009
  Q: I am trying to ask user for input which is string type. Then I use pointer to point to that string ...
  A: Hey bro! In the line string* UI_ptr; you are declaring that UI_ptr is a pointer to a string. Later ...
hi10/17/2009
  Q: what does they do?and how can i remember them easily? also how can i remember for,while,and do while ...
  A: The c++ string is an object that represents a sequence of characters. You can add characters to it ...
process and thread priority10/13/2009
  Q: In my application, there are two threads. I want to set one of them the highest priority, and the ...
  A: Xiyuan, I am just responding to this follow up to remove it from my pending list. As I said in the ...
process and thread priority10/13/2009
  Q: In my application, there are two threads. I want to set one of them the highest priority, and the ...
  A: According to the documentation the actual priority of a thread is a combination of the priority ...
process and thread priority10/12/2009
  Q: In my application, there are two threads. I want to set one of them the highest priority, and the ...
  A: According to the documentation, the pseudo handle is interpreted as the current process for ...
Simple program i just cant get10/11/2009
  Q: I have an online class and i just cant get the hang of how this is supposed to work, ive tried some ...
  A: Andrew, the problem is that C/C++ does not use the words "then" or "and" as part of the "if" ...
process and thread priority10/11/2009
  Q: In my application, there are two threads. I want to set one of them the highest priority, and the ...
  A: In my experience, SetPriorityClass and SetThreadPriority are the only two functions you need to ...
hi9/29/2009
  Q: hi can you explain to me in detail whats a pointer and array with examples and how they work?
  A: This is a big open question, so my answer may cause you to have more questions, but that's OK. Just ...
help me!!!!9/28/2009
  Q: Write a program that computes the cost of a long-distance call. The cost of the call is determined ...
  A: I will try to help you, but you have not told me what you have tried or what you are having trouble ...
help me!!!!9/28/2009
  Q: A public utilities company in in a city wants to track the status of its power service throughout ...
  A: Sir, I'll help you with the get_grid and display_grid, and you can then finish your assignment using ...
C++ Doubt9/27/2009
  Q: How to increment the empid e001 to e002 by using the coding? Please mail me the coding to my ...
  A: I am not sure that I understand your question. If you have a variable called empid and it is an ...

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.