Why did this c++ program do this?

Answer Well as other have stated, it because you are only declaring the i variable as 10.#includeusing namespace std;int main(){int a=10, b=10, c=10;double d=10, e=10, f=10;float g=10, h=10, i=10;cout

Top Q&A For: Why did this c++ program do this

What is the name of this tune and/or what editing program can I find this in?

HENNI,OOPS:Please diagnose why this well-compiled C program says "Program Encountered Problem" & won't run.?

I thought it was better to rewrite this code instead of trying to fix it. It's better to learn to implement a simple linked list with only a single pointer to the head of the list before you introd... Read More »

Is this ufo footage real or is this fake I really don't know what to make of this!?

ITouch help! I keep getting the "This video can't be played on this iPod" error, anyone know to deal with this?

Hey MC.Yep, you need to convert your videos. I recommend that you download the latest version, but you can try it with your current one. All you need to do is click the video and go up to the tab m... Read More »