I have to make a program in c++ for plotting a sine curve..using arrays ..in horizontal direction not vertical ..
can I have an alogarithm or just a hint how to go on making ...thanks :)
Jump to Post
It depends how sophisticated you want to get. If it is a simple text based console program, you can make an array of strings. Each string contains let's say eighty characters, all spaces but for one asterisk. It will be your genius to place the lonely asterisk at the right …
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.