No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
There is a piece of code in Linux Device Driver 3rd edition: #undef PDEBUG /* undef it, just in case */ #ifdef SCULL_DEBUG # ifdef __KERNEL__ /* This one if debugging is on, and kernel space */ # define PDEBUG(fmt, args...) printk( KERN_DEBUG "scull: " fmt, ## args) # else … |
|
When I plug in my headphone, the speaker still sounds, how to solve this problem please, I can use alsamixer to adjust the total volume, but I just want the speaker stopped making sound after I plug in my headphone...Thanks for helping...:-) |
|
Suppose I wrote a code like this from pylab import * t1 = text(1, 1, "Hello") draw() t1.remove() draw() How do I suppose to show t1 again in my figure? Thanks for help |
|
They stole my gmail account for spam.Why? Isn't Linux and firefox safe? I don't know how did they do that? Through a background virus or through steeling the information in my network? I don't understand how. Any body can tell me why? |
|
Re:
Hi All, I am working with a Software company and I have got an opportunity to work on Unix server but I just have basic knowledge of Unix and Linux. And I have to learn all the commands within a week. Is there any online tutorial or any website? Please … |
|
This may be quite out of business... while, this is my favorite forum, so i have no where else to go. So, I have a gmail account for my technical letters a hotmail account for my personal emails, and a yahoo account for my business mails, and a junk account … |
|
Recently, I am looking up some information about virtualization. I found it's so hot, while i don't think it worth it. Virtualization is done! Let's say that virtualization is feasible now. We have to consider these things. First, it just transfer the hardware cost to the service provider, while we … |
|
can anybody help me? thanks |
|
1.I am wondering since the kernel is open source, how can RHEL ask for money? Why is it legal to charge since it's based on open source code. 2.If I wrote a prgram based on GPL software or library, can I ask for money and didn't distribute the code?Is there … |
|
the same as tiltle. is that exit() just end the function and abort() end the program? |
|
For example, I want to write a minesweeping. I know the interior algorithm, but I don't know how to start creating a gui. How should I get started? Thanks. |
|
I am looking for some websites which carry news upon the most updated and advanced computer science and technical advance. Can anybody give me an advice? thanks a lot^~^ |
|
What's wrong with the program? It went wrong when i print the numbers in the lists. After i prints the last number, it didn't stop, and the program went into wrong memory. Eager for your answer: [CODE] #include <stdio.h> #include <malloc.h> #define NULL 0 typedef int ELEMNT_TYPE; typedef struct node … |
|
How can i relate a source file in a gdb command... Provided that i have two files: test.c test(executable) How?thx for answering |
|
as the title. how to learn vi, bash, and i just cannot open vim. and ... what is ex in vi. |
|
As the title, type M-C-y, can use it, but what if i want to use the argument to recall the nth argument in the previous command...Thanks for answering... |
|
A ignorant question, suppose i type "fc 89" in a terminal, which will take me into a text editor, after i modify the command, how can i exit the editor and execute the command? Thanks for answering... |
|
In the help of less in bash, it says tha we can mark a position with m<letter>, then go to the mark with '<letter>. it seems that the m<letter> doesn't work at all, suppose i type ma, while if i type ' , a line "go to mark: " shows … |
|
Suppose I have these two functions: [CODE]template<class T> bool largerthan(T a, T b) { if(a>b) return true; return false; } template<class T> int reduce(T ar[], int n) { list<T> buffer; buffer.insert(buffer.begin(), ar, ar+n); [COLOR="Red"]buffer.sort(largerthan);[/COLOR] buffer.unique(); copy(buffer.begin(),buffer.end(), ar); return buffer.size(); } [/CODE] I have two kinds of arrays for reduce(): string … |
|
I want to read some books about data structure written in c++, can anybody recommend some good books for me?Thx. |
|
I am a beginner in c++, I taught myself c++ through the book "c++ primer plus", it really took me a lot of will to finish the book. Now i just want to use the thing i learned to do some pratical things in my life, can anybody tell me … |
|
I upload a picture to be my avatar, but it just shows a '?', how to make my picture displayed? |