Sorry but i really dont know where should i put this thread :shy:
This is my homework assigment, but i really dont know the last few answears. Im using putty to get an acess to another computer.
1. With editor called vi i need to make a file called smtn.c and with programming language C (not C++) i need to write a function for multiplication of two int variables with help of sumtotal(not really shure about the word but you know 1+1
) , without the use od division(/) or multiplication(*) . In main program i must demonstrate this function so that the program takes two parameters in command prompt. For conversion from string to int use function atoi and then write out the produkt. Run program with command ./a.out . Then with a program valgrind check if the program is working correctly.
2. In file 'smtn2.txt'write down the name of the process pid 2.
3.ant the last one is to get the file from that computer and put it back on mine.