Ask your own question, for FREE!
Mathematics 8 Online
OpenStudy (anonymous):

Anyone in here good at programming in C?

hartnn (hartnn):

ummm. yes, but please ask programming related questions in computer science section.

OpenStudy (anonymous):

I did, nobody answered :)

hartnn (hartnn):

whats the question anyway....if i can i will answer.

OpenStudy (anonymous):

I have to do a programme that prints out a matrix m x n and i have no idea how to do it

hartnn (hartnn):

is your doubt related to printing new line ? because you can print numbers using printf()

OpenStudy (anonymous):

no, i did that already. But everytime i try to compile it says that i have to put something before "printf"

hartnn (hartnn):

before ? hmm...syntax error ? can u describe the error more ?

OpenStudy (anonymous):

one sec

hartnn (hartnn):

example code :

OpenStudy (anonymous):

thank you so much :)

hartnn (hartnn):

what was the error u faced ?

OpenStudy (anonymous):

first it said that <studio.h> did not exist. then it said this: 'printf' undeclared (first use this function) Eachundeclared identifier is reported only once for each function i appears in

OpenStudy (anonymous):

now i see what i did wrong hehe thanks

hartnn (hartnn):

ok, spelling mistake ! ;)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!