jcl
Linux Experts-
Content Count
1299 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Everything posted by jcl
-
FWIW, ENIAC was converted into a stored-program machine in 1948. Details are in the Wikipedia article and elsewhere.
-
Ah, well in that case it's fine Yeah, I noticed the documentation was a bit skimpy when I went looking for timers. It looks like they expect you to RTFS and figure it out. Nice of them.
-
Thread cancellation is not for the faint of heart. The first thing do to is make sure you absolutely need the extra thread. Timers aren't exactly a rare commodity in multimedia software; Freevo should (haha) provide a timer API that you can use. Or even better, an event interface that let you register your shutdown function as a callback. The second thing you should do is forget about cancelling the thread by force and instead look at notify it when it's no longer needed. For example, add a (lock-protected) flag that it checks at every update. When you want to kill the thread, toggle the flag.
-
Dunno about IG, but GMail, Google Suggest, and Google Maps are AJAX applications. And you can use AJAX with SOAP
-
If-else. Or switch-case, ?:, && and ||.... The last character you read from the input file and the output filestream, respectively. You can reuse this do { input_value = fgetc(read_file_pointer); if(!feof(read_file_pointer)) { fputc(input_value, write_file_pointer); } } while(!feof(read_file_pointer)); but with the extra code to select between the two output streams.
-
This will be easier with line numbers. // snip 12 int main() 13 { 14 char read_filename[65], write_filename[65]; 15 FILE *read_file_pointer, *write_file_pointer; 16 int input_value; 17 /* Get filenames from user */ 18 printf("Enter the read File Name "); 19 gets(read_filename); 20 printf("Enter the write File Name "); 21 gets(write_filename); 22 /* Open files in binary mode */ 23 if(read_filename[0] !=0) read_file_pointer = fopen(read_filename, "rb"); 24 else read_file_pointer = NULL; 25 if(read_file_pointer == NULL) exit(1); 26 if(write_filename[0] !=0) wri
-
Intertwined catch-22s. Your school obviously has an extemely competent and efficient bureaucracy; if it offers business or administration classes, I recommend taking them.
-
He's still in the shallows of the language if I'm not mistaken. It is very deep. The kind of language that you study for years to master. But I don't want to discourage anyone (hah!). It's not increadibly difficult to get started and it's not absolutely necessary to learn everything. There are a lot of successful C++ programmers who don't understand the entire language. (Not coincidentally, Java and C# are pretty similar to the well-understood subset of the C++.)
-
This is an old topic here.
-
Learning C++ is always difficult. It is in its full glory is one of the most complex programming languages in history. Java and C++ have little in common except some syntax and support for procedural OOP.
-
Link to the image in question. Methinks that all is not as it seems.
-
It's only happened to me a few times and it was almost certainly an issue with the sites. Wish I could remember what the sites were so I could investigate. Hmm, I wonder what would happen if the images were served as text/html but the pages that included them set the filetypes correctly in the img or object elements. IINM the former would determine the filetype when the images were loaded directly (resulting in a page of garbage) but the latter might override the server-supplied type when the images were viewed as part of the page (resulting in the correct display). That would explain it.
-
Standard guerilla marketing. IBM used sidewalk chalk graffiti four years ago to market Linux, Microsoft used decal graffiti the next year to market MSN, Time gave a graffiti artist (cough) one of their billboards this summer as publicity stunt.
-
HTML-gibberish or gibberish-gibberish? Firefox sometimes insists on saving images as files with an .html extension. Renaming the file fixes it.
-
Want To Try To Edit My Keyboard Drivers
jcl replied to Sir_Siddy's topic in Windows 10, 8, 7, Vista, and XP
The buffer he's referring to is a software buffer managed by the keyboard driver. It stores input from the keyboard until it's requested by an application. There is a way to increase the size of the input buffer but it involves editing the registry. And I doubt that's your problem anyway. -
It's hard to imagine how the information she requested could be considered sensitive. There is a possibility that it could be used maliciously, but if we're going to refrain from posting any information that could be used maliciously BT may as well shut down the site.
-
Input from the user? If so, something like REAL, DIMENSION(3,3) :: mat READ(*,*) mat
-
FWIW the brace expansion isn't necessary.
-
You know I actually thought it might have been a slight misquote. In a sense, everything Microsoft has done is founded on the early Basics they sold. For what it's worth, I heartily approve of BSing your way through school. I conned my way through high school, earned (*cough*) a 4.0 GPA my last couple years and graduated despite only doing about one year of work and skipping all but one of the required subjects. Fun times.
-
Since we're nitpicking, as far as I know Bill's only experience with systems programming was MS's early micro Basics, Windows is definitely not based on Basic, and while Bill may well be a great programmer, I've never heard him described as such.