General :: Programme With Grammar Mistake [ Can't Find Out
Apr 25, 2011
i just can't know how to get it work.
Code: #include<stdio.h>
main()
{
int _res;int i=3;int b=5;
asm_ ("add %1,%0"
:"=d"(_res):"a" (b),"0" (i));
printf("%d",_res);
}
View 4 Replies
ADVERTISEMENT
May 23, 2010
I was playing around with the default panel that has the power icon (wrong lingo maybe) and the network/sound icons, etc.I deleted some items including the power icon and now for the life of me can't find it in the panel applets list in lubuntu.Is there a way to restore the default panel with the settings as when I first installed lubuntu.I also played with some spacings and other settings so would rather just get it back to normal/restore it vs add all the items back on and then play with the spacings again.
View 9 Replies
View Related
Aug 31, 2009
1) Write a C program using the fork() system call that that generates the Fibonacci sequence in the child process. The number of the sequence will be provided in the command line. For example, if 5 is provided, the first five numbers in the Fibonacci sequence will be output by the child process. Because the parent and child processes have their own copies of the data, it will be necessary for the child to output the sequence. Have the parent invoke the wait() call to wait for the child process to complete before exiting the program. Perform necessary error checking to ensure that a non-negative number is passed on the command line.
2) Repeat the preceding exercise, this time using the CreateProcess () in the Win32 API. In this instance, you will need to specify a separate program to be invoked from CreateProcess(). It is this separate program that will run as a child process outputting the Fibonacci sequence. Perform necessary error checking to ensure that a non-negative number is passed on the command line.i have done with Fibonacci sequence .but i dont know how to include tht fork() function and win32 api .any one can help to finish?
View 4 Replies
View Related
Sep 21, 2010
When opening ubuntu live cd it appears to me as an operative system. Can it replace an os OR SHOULD IT BE USED ALONG WITH A SUITABLE OS? If it is the second option then what system to adopt? At present Ihave an XP prf.
View 3 Replies
View Related
Dec 21, 2010
I accidentally type mv command wrong.actually it supposed to be mv SNAP-20101215* dec10/week3_dec10/but i type the below insteadmv SNAP-20101215* dec10/week3_dec2010/Note: there is a folder name "dec10/week3_dec10/"but there is no folder name "dec10/week3_dec2010/"as a result of it, instead of having those files under dec10/week3_dec10 but it merge those files into one file name "week3_dec2010" , is there any way to change it back to orginal files?
View 6 Replies
View Related
May 15, 2010
i want to transpose "$ bash man" to "$ man bash" using <alt-t> on the command line in ubuntu 10.04. however, doing this in the bash shell activates the "Terminal" menu.in a bash shell <alt-t> is suppose to transpose the two words to the left the cursor but the menubar is not passing <alt-t> up the tree to the bash shell.
View 2 Replies
View Related
Dec 15, 2010
perhaps I've been typing for 20m and, in command mode, I accidentally press a key that undoes all of my work. What would be one of the more elementary undo commands
View 4 Replies
View Related
Nov 6, 2009
I'm running OpenOffice.Org 3.1.1 out of the Fedora repositories. I'm using the UK locales and settings where possible. I can't seem to get the interface in en-gb, and my dictionary keeps recommending the Americanisation of words to me.
Also finally, is there not a grammar checker in OpenOffice.Org? I'm looking in the Language Settings - > Writing Aids and there isn't anything listed under grammar?
Finally, I might as well ask this in case anyone knows why. In the Writer settings I changed the default fonts to the Liberation font family however OpenOffice keeps attaching the Windows equivalents to the end e.g. 'Liberation Sans; Arial' it's really annoying and I don't know why it's doing this.
View 1 Replies
View Related
Mar 21, 2010
Anyone know any good word programs with a good grammar checker? i tried language tool with OOo but it is still buggy lags to find grammar, and unless the sentence is quite simple, it misses alot. tried lightproof too, it has yet to find any error, even in hyphenation which is what it is specifically meant to do. This would be nice to have so I can ween myself entirely off windows.
View 2 Replies
View Related
May 4, 2011
I have been going crazy trying to get some sort of grammar checker working in Libreoffice on Maverick. I installed language support-fr -en and -de through terminal but they only check spelling. I then installed the extension "languagetool" in libreoffice and while it does work a little bit it is very unstable. It makes libreoffice crash on start and randomly while in use. Is there any solution to getting a stable grammar checker with libreoffice or are my attempts useless?
View 4 Replies
View Related
Jun 4, 2010
I am getting shift/reduce and reduce/reduce conflict in my yacc grammar code. yacc generates (i.e yacc -d -v parser.y) its grammar and state information in the parser.output file.
How can i interpret the below information and understand which grammar state is conflicting with other grammar state? Please help me to understand.
State 159 conflicts: 1 shift/reduce
State 1863 conflicts: 1 shift/reduce
State 1865 conflicts: 1 shift/reduce
State 1960 conflicts: 1 shift/reduce
View 6 Replies
View Related
May 12, 2011
Probably a stupid sounding question, but bear with me please. I need to use the link grammar parser in order to do some part of speech tagging. It's freely available and works once you run the makefile or 'make' it or however it's correctly said. Thing is, it has a C API which I intend to use. And once I ran a bit of the sample code given in the documentation it gave a whole host of errors. This is very confusing because I'm including the path for the folder that has all the header files.
gcc -I/path/include/ filename.c. But it still gives me errors about not being able to find things that are clearly defined there. An hour of trudging around the internet tells me I need to 'compile' the API first. I'm not exactly sure how or if I'm supposed to do that. If someone could just shed light on this it would be greatly appreciated. I grow increasingly cynical to the musical swell of my tiny brain rattling in my skull.
View 5 Replies
View Related
May 13, 2011
I am new to linux. I want to make use of an ".so" module in my python programme. I have successfully installed the ".so" module by a setup file. But when I try to import the ".so" module in my python programme I am getting an error like ImportError: /usr/local/lib64/python2.5/site-packages/_first.so: undefined symbol: __fread_chk.I am working on opensuse server. Please let me know if you require any further information.
View 2 Replies
View Related
Jul 19, 2011
Is that possible to ssh to a box and launch a programme, say firefox, have the session disconnet when not using it and then you can reconnect to the same session again?
View 2 Replies
View Related
Dec 31, 2010
I've written a simple program in C++ that I want the system to launch each time I turn the ubuntu system on. Any idea how to do this?(I'm not an expert either so please be explicit )
View 3 Replies
View Related
Sep 23, 2010
i want to spawn the browser in c programme like qtp & selenium.
View 1 Replies
View Related
Aug 20, 2011
I am new at Centos. Sometimes my programme gives segmentation fault. This line is from it:./hlds_run: line 321: 5680 Segmentation fault $HL_CM
View 1 Replies
View Related
Nov 20, 2009
I m newbie in Linux os & i need help from all of you so please help me on this issue.i'm Unable to see minim ize programe on desktop bar.please have a look on image.9 programes running but
View 7 Replies
View Related
Aug 11, 2010
I have a programme known as OpenRep which can be launched by executing the file named OpenRep.jar by OpenJDK Java 6 Runtime programme This programme can also be launched through terminal by the command
Code:
java -jar OpenRep.jar
The location of the programme is in my Home folder. Well I would like to create a launcher for that programme.
View 9 Replies
View Related
Oct 23, 2010
good programme that the volume control on the keyboard can work on the master control?
View 1 Replies
View Related
Oct 13, 2010
I discovered that if you install directFB (a framebuffer display library magic thing) you can run "links -g" which makes an attempt to be graphical, but it's still not quite the same as a normal browser... I was wondering if there was any way to run an X server for a single programme, or an equivalent solution. Essentially, what I'd like to be able to do is run, say, "startx firefox [URL] and for an X server to be created solely to run my firefox instance. Obviously, the current behaviour (at least, in Ubuntu, as I haven't installed X on Gentoo) is to bring up a graphical login screen, allowing me to start an entirely new X session. Is there a way to do this, or is it just "not how X works"?
View 2 Replies
View Related
Nov 24, 2009
I am trying to download a programme from the BBC iplayer, using get_iplayer version 2.48. I get an error message saying that it needs rtmpdump >= 1.5, or flvstreamer. I have rtmpdump version 1.4 installed, but can't find either rtmpdump>=1.5 or flvstreamer for opensuse (11.1).
View 9 Replies
View Related
Jan 20, 2010
Occasionally my mouse and touchpad freeze. How can I kill an open programme with the keyboard (in Karmic Koala)?
View 4 Replies
View Related
Mar 31, 2011
I was wondering if any free, small, portable, cross platform programme exists for encrypting/decrpyitng simple txt files?
I know a couple of small ones for windows systems (nosee, dscrypt) but i wonder if there is any i could use on both linux and windows OS. the idea is to be able to carry it on USB key and the programme (or probably there will have to be 2 versions of it) would run either on windows or linux os and i could decrypt and encrypt the file if i needed to. no matter on what system i plug the USB key to.
View 9 Replies
View Related
Oct 26, 2009
So I installed FC11 and it seemed to be working ok I was having an issue configuring sendmail so I decided to use Yum to remove it and to re-install sendmail.I type yum remove sendmail and it asked me if I wanted to remove 39 dependancies. I said yes and it removed way more than just sendmailIt even removed Yum itself
HELP...I do not even have any way in the GUI for software installs, and YUM is no longer present.It even removed all but 7 items in my administration drop down. Can I fix this with the install CD of Fedora
View 1 Replies
View Related
Aug 25, 2010
Environment: Ubuntu 9.10 Karmic, 64 bit I was doing some maintenance on the machine and tried to delete everything under /var/lib/hudson. By mistake, I deleted everything under /var/lib. I know, I know, I must have taken an extra dose of stupid pills. Questions: Is there any way to recover without a full rebuild of the machine? Could I install Karmic to a VM, install all the same packages, and then copy over the /var/lib directory? Maybe a better question to start off is, which directories need attention (and what type) and which directories are not needed? Very soon before the delete, I did a directory listing in /var/lib. Here is what was in there:
[Code]....
View 5 Replies
View Related
Jan 15, 2011
By mistake i deleted the /usr/bin/dpkg.exe file.Now i am unable to install anything .when i tried to install ssh i got the following error message. Reading package lists.DoneBuilding dependency tree Reading state information... Doneopenssh-server is already the newest version.openssh-client is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 386 not upgraded.2 not fully installed or removed.After this operation, 0B of additional disk space will be used.Could not exec dpkg!E: Sub-process /usr/bin/dpkg returned an error code (100)
View 14 Replies
View Related
May 30, 2011
had upgraded from slackware 13 to 13.1 and finally 13.37.After this I noticed that 'dmesg' could only be executed as root. So inorder for a user to execute 'dmesg' I executed 'ln -s /bin/dmesg /usr/bin/dmesg'.What happened next is the symlink was created but the dmesg executable was deleted.I do not want to reinstall the OS (very time consuming on a P3 with 512MB RAM) so I want to know which package provides dmesg so that I can reinstall it.The dmesg man page indicated that klogd will provide the package but then when I reinstalled it it was a no go.
View 7 Replies
View Related
Oct 24, 2010
I was accessing my box externally (ssh) and accidentally deleted my crontab. I never used crontab before and issued the command "crontab -d" instead of "crontab -e" to edit and add my cronjobpretty useless because I had no back up of my crontab of course First question, is there going to be any direct issue on my box because of the crontab being erased ? (I am assuming so but do not know what type of problems..) Lastly, would I be lucky enough so that there is a way to recover my crontab ? (having gone through Google and whatnote, I doubt it)
View 10 Replies
View Related
Dec 2, 2009
I am not certain of the cause (it may have been after I updated my ATI video drivers, or instructed my system to use a dual-head configuration, which in hindsight was perfectly dumb) but regardless of the reason--now when I "startx" my monitor freezes with a few stray motionless pixels. Nothing I've done helps: tried "sax2 -r -m 0=fglrx"; tried "aticonfig --initial"; tried to revert to an earlier xorg.conf; but I don't really know what I'm doing, so I hope someone who far surpasses my knowledge of SuSE on the command line can help me out.
How do I get my desktop back?
View 9 Replies
View Related