cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
error: expected primary-expression befor
error: expected primary-expression before ']' token
Mar 9, 2011 at 9:25am UTC
Brocktanor
(2)
Hello folks, I can't find the problem in my code. It tells :
expected primary-expression before ']' token
at line 24
thanks for your help ^^
[output]
#include <fstream>
#include <iostream>
#include <time.h>
# include <cmath>
/*
Mar 9, 2011 at 12:00pm UTC
hamsterman
(4538)
couleur(Chiffres[],80);
[] operator is used to retrieve nth element from an array or to declare one. Here you aren't doing either. It's just
couleur(Chiffres,80);
Topic archived. No new replies allowed.