View Single Post
  #1  
Old 03-23-2011, 01:08 PM
C++ C++ is offline
Senior Member
 
Join Date: Jun 2009
Posts: 18,248
Default Strings and strtok and replacing

Hi Could somebody help me with my homework. Use functions and structures. Strings in input file 'AND', 'OR' ja 'NOT' must be replaced with symbols '&', 'v' ja '-' and saved into output file. Example of input: C = A AND B D = A OR C E = NOT (C OR D) Output:
__________________
C++
domain name forum
Reply With Quote