- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
11 Posted Topics
I am newbie in controllers' programming. Recently, reading manual about ADSP controllers, I saw the key word ".section" in the c code. In another books I saw just "section" without dot. What do these directives mean? And is there any difference between these cases? My compiler works fine with "section," … | |
Hello everyone, I have c++ function whose the only argument is an array. Also I have a matrix. How can I pass say third column of this matrix as a array into the function without creating a mediated array in the loop. Is there c++ analogue of M(:,3) existing in … | |
Hello everyone, I am trying to use gnuplot for visualization of data stored in a file which is dynamically changed during computations. My aim is visualization of data from this file every several seconds during computations. How can I refresh gnuplot output produced in the bash script (usually i call … | |
Hello everyone, I am trying to call gnuplot in c++ code using pipe in linux. There is no errors during compilation, building and excecution. However, window with the plot does not appear. Below is the code. [CODE] FILE* Gplt = popen("gnuplot -persist","w"); fprintf(Gplt,"plot '/home/mk/nh1.dat' using 100 with lines"); pclose(Gplt); [/CODE] … | |
I have problem with kernel sources compiling NVIDIA driver. The kernel-devel and kernel-headers are installed, but intstallation program points that the sources are not mutch the kernel. Both the kernel and sources are updated in last version. Have you such a problem in Fedora 14? How can I fix this … | |
Re: First of all take a look on manuals or books. There are a lot of them in internet. Here is a good example in my opinion [url]http://books.google.com.ua/books?id=f-hv_THIV7EC&pg=PA242&dq=linux+kernel+compilation&hl=ru&ei=RZgATbfwIYzIswa0nuXyDg&sa=X&oi=book_result&ct=result&resnum=3&ved=0CDAQ6AEwAg#v=onepage&q=linux%20kernel%20compilation&f=false[/url] Also, after extracting kernel sources from archive, you can find in the folder the README file. There are brief overview of main steps. | |
Re: Maybe following will be useful for c++ learning. In procedure harmonic, you can pass argument h by reference. In this case, the code you have written in first post is correct excepting the argument list in the function. Correct version reads: [CODE] void harmonic(int x, int y, float &h) [/CODE] … | |
Re: what programming environment do you use (bash, c++)? Here is solution for bash (read last post there). [url]http://www.linuxforums.org/forum/programming-scripting/66737-bash-replace-string-file-another.html[/url] | |
Hello, I have a problem using the member function attach several times. Compiler does not find error, however only one curve appear that does not satisfy me. Is it possible to attach several curves to QwtPlot object? | |
Re: I do not understand what type of application do you want to create. Is it console or window application. In the second case, you can use qwt library. | |
Re: Maybe it is not best solution. Try to use random number generator for integers. Generate randomly the number from 1 to 9. Then generate second number and compare it with previous one. If it coincide, generate one more and so on till you get four different numbers. After that repeat … |
The End.