Bonjour,
je travail avec visuel C++ j'ai copier un petit code en C++
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
#include "stdafx.h"
#include <stdio.h>
int i = 0;
int main()
{
for (int i = 0; i < 10; i++)
printf("%5d%5d\n", i, ::i);
return 0;
}
mais il ne fonctionne pas
si je fais start debugging affiche une page printf.c
si je fais start withaout debugging il m'affiche
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0