I started programming just few months ago.
I have an important project soon, so I programmed one so hard(helped by many people also)
anyway, I can't find my errors.
this program is changing DNA.
for example)
agct -> gtca (for random)
my computer says "'sth' was not declared in this scope."
can anyone find out the wrong parts? ;(
this is what my computer says
C:\Users\sec\Desktop\changing dna.cpp In constructor 'DNA::DNA(char*)':
18 27 C:\Users\sec\Desktop\changing dna.cpp [Error] 'strlen' was not declared in this scope
20 22 C:\Users\sec\Desktop\changing dna.cpp [Error] 'strcpy' was not declared in this scope
C:\Users\sec\Desktop\changing dna.cpp In member function 'void DNA::ChangeDNA()':
27 29 C:\Users\sec\Desktop\changing dna.cpp [Error] 'strcpy' was not declared in this scope
35 19 C:\Users\sec\Desktop\changing dna.cpp [Error] 'rand' was not declared in this scope
C:\Users\sec\Desktop\changing dna.cpp At global scope:
66 11 C:\Users\sec\Desktop\changing dna.cpp [Error] '::main' must return 'int'
C:\Users\sec\Desktop\changing dna.cpp In function 'int main()':
68 31 C:\Users\sec\Desktop\changing dna.cpp [Error] 'srand' was not declared in this scope