char* bname[] = { "Unix Environment",
"Programming in Perl",
"Comp. Architechture",
"Operating System",
"Java Programming",
"DIstributed OS",
"Database Management",
"J2ME","Operating Systems",
"Algorithms in C++"} ;
thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75
Depends what you want to do. The best way in C++ to do this would be like this:
#include <iostream>
#include <string> // useful for string manipulation
std::string bname[] = { "Unix Environment", "Programming in Perl", "Comp. Architechture", "Operating System", "Java Programming", "DIstributed OS","Database Management", "J2ME","Operating Systems", "Algorithms in C++"};
John A
Vampirical Lurker
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339