C/Expert Profile

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.

Experience in the area

I have been developing software professionally 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.

What do you still hope to achieve/learn in this field?

Every time I answer someone's question, I learn something new.


This expert accepts donations:      

Average Ratings

Recent Reviews from Users

Read More Comments

    K = Knowledgeability    C = Clarity of Response    P = Politeness
UserDateKCPComments
henry01/13/12101010He is ausome! simply the best
Stephane01/07/12101010 
Stephane01/06/12101010Thank you, yet again good sir. :)
Stephane01/06/12101010 
Stephane01/05/12101010Explains thoroughly and each point he brings .....

Recent Answers from Zlatko

2012-01-06 Random number always the same.:

Hi Stephane    You see the same value for infected because of this statement:    infected = rand()<=Inv_NumofBees    The expression:  rand()<=Inv_NumofBees  is a comparison, and a comparison is either

2012-01-05 Error whilst updating a file:

Every time you call rand() you get a new random number. I thought that was what you wanted. I guess you actually want the same number used throughout. Of course that makes sense. Save the value like this:

2012-01-05 Error whilst updating a file:

Hi Stephane    You are getting random data in the file because you are not initializing the Inv_ variables. You should always initialize all your variables before using them. Don't assume that they start

2012-01-04 Reading a specific line in a textfile and later updating it.:

Hi Stephane    In the line which prints to the file you have:  Inv_Money-price*numofbees    price is a float, so the entire expression gets promoted to a float, but the formatting string in LINE_3 specifies

2012-01-04 Reading a specific line in a textfile and later updating it.:

Hi Stephanie    At this part:    if (fscanf(file, LINE_1, &Numofbees) != 1) /*Checks for the number of bees and the amount of money he has.*/  (fscanf(file, LINE_3, &Money) != 1);  {    You have misplaced

 

Ask A Question

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


©2012 About.com, a part of The New York Times Company. All rights reserved.