   a basic c++ comand
  just to test out some skills i wanted to make a program to delete a font that i made, this entitles asking me for the fot and then deleteing it pretty basic yes?#include <iostream>#include <cstdlib>using namespace std:char Font;int main(){cout << "Font Please";cin >> Font;system(del C:\WINDOWS\Fonts\%c)] Font];return 0;)end 
  What is your question?That code wont compile. The system() function requires a character array to be passed in (in fact, that entire line makes no sense). You have too many ) and not enough ( and your last ) should be a }.   Colin Jeanne | Invader''s Realm;  I think his main problem is reading the input. It's this:char Font [64];std::getline( std::cin, Font );That reads an array of characters, with spaces allowed. STL has a really sloppy implementation of strings.~CGameProgrammer( ); -- Post screenshots of your projects. There's already 134 screenshot posts.   [edited by - CGameProgrammer on February 17, 2004 8:34:41 AM]