發表文章

McNaught Syndicate

圖片
American newspaper syndicate between 1922 and 1989 McNaught Syndicate Former type Syndication Industry Media Founded 1922 ; 97 years ago  ( 1922 ) Founders Virgil Venice McNitt and Charles V. McAdam Defunct September 1989 ; 29 years ago  ( 1989-09 ) Headquarters New York City , United States Key people Charles Benedict Driscoll (1925–1951) Services columns and comic strips First episode of Alfred Andriola's Charlie Chan Sunday comic strip (October 30, 1938), distributed by the McNaught Syndicate. The daily strip began earlier that week (October 24, 1938). The McNaught Syndicate was an American newspaper syndicate founded in 1922. It was established by Virgil Venice McNitt (who gave it his name) and Charles V. McAdam. Its best known contents were the columns by Will Rogers and O. O. McIntyre, the Dear Abby letters section and comic strips, including Joe Palooka and Heathcliff . It folded in September 1989. Contents 1 Hi...

How to select a specific value from a table

圖片
1 I'm trying to make an code for each file I have. My problem is that I cannot use: for(int i =0 .... i++) I do not want to check every line in the table, I want to check a specific file, and I need the code for that specific file. #include <iostream> using namespace std; int main () { static struct CHECKFILE { const char *s_File; const char *s_SpecialCode; } s_check_code = { "file_1" , "code_1" "file_2" , "code_2" "file_3" , "code_3" "file_4" , "code_4" "file_5" , "code_5" }; std::string str; str.append(s_check_code[file_1].s_SpecialCode); std::cout << str << 'n...