Charles Eldis Foster, 68, a retired Washington lawyer who specialized in veterans affairs, died of cancer Tuesday at Georgetown University Hospital.

He had been assistant to the general counsel of the Veterans Administration from 1969 until retiring in 1974. He then move to Sarasota, Fla., but continued to spend his summers here.

Mr. Foster was born in Washington. He was a graduate of National Law School and earned a master's degree in law from George Washington Univeristy.

He had a private law practice here until entering the Army in 1940. He participated in the World War II invasion of Okinawa in the Pacific and was awarded the Bronze Star with two Oak Leaf Clusters. He remained in the Army Reserve as an officer until 1970.

Mr. Foster was national director of legislation for the Disabled American Veterans from 1947 to 1955. He then became director of legislation for Kaiser Industries here until joining the VA.

He was a member of the University Club, the Kenwood Golf and County Club and Capitol Hill chapter of the DAV.

He is survived by his wife, Alma Hinkle Foster, of the home; three children, Ann McCrossen, of Tonga, the Pacific Catherine Cammermeyer, of Springfield, and William, of Silver Spring; a sister, Catherine E. Foster, of Santa Cruz, Calif., and four grandchildren. His first wife, Ann Macon Carlin Foster, died in 1972.