General :: Created On Making C Programing Lang?
Feb 11, 2011problem created on making c programing lang.
View 1 Repliesproblem created on making c programing lang.
View 1 RepliesI doing malloc and getting the chunk of dynamic memory. Now I want it to align that memory to 64KB. This means that the address of the memory starts from 64KB or multiple of 64KB.
View 3 Replies View RelatedI have list of programs which I have created during the past few days, all the programs are attached in txt files, and if anyone can do favor, and double check if they work, and what changes I can make to make it look different, or to improve it.
View 9 Replies View RelatedDifference between shell and c programing
View 4 Replies View RelatedDoes somebody recommend some good forums about linux programing?
View 6 Replies View RelatedI am facing problem with the following script. Could you please look into this.echo 'Enter Staging number' case $STGNUM in
1)
for i in {'stg1-greg','stg1-marsha','stg1-peter','stg1-jan','stg2-greg','stg2-marsha','stg2-peter','stg2-jan'};do echo $i; ssh $i sudo -u dev /opt/usr/apps/workflow/stopwf.sh;done;
[code]....
I am bussy with a litle bash script but i have now a problem.I have a file on the server with every time different text.Somewere in this text the is the following line:PHP Code:<BR><DIV CLASS='itemTotalsTitle'>2 Matching Service Entries Displayed</DIV> I want to make a bash script that replace this line when it says:"0 Matching Service Entries Displayed"To a other text like:"There a no knowing problem(s) on this moment."]If there is a other number than "0" than replace this line with:2 problems have been found on this moment, whe are bussy to fix this problem
View 3 Replies View RelatedI am looking for a powerful command line tool to send and receive data via socket I mean define IP , port and data other options for command to send and receive data from sender.(like a high level socket programming)
View 4 Replies View RelatedI'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies View Relatedenum argu {
send = 0x0001
, receive = 0x0002
};
what is the meaning of the 0x0001 and 2.
ince Ubuntu 11.04 the "LANG" environment variable keeps getting overruled somewhere. The result is that the date notation in the indicator area and the GRUB boot menu is in a different language compared to the rest.At login I have selected the language en_GB, the same language is at the top in the "Language support" dialog. However, I have set my "Regional format" to "nl_NL".When I check "env" in the terminal LANG is set to "nl_NL" as well.I tried forcing it to "en_GB" by adding "LANG=en_GB" in "/etc/environment" but this did not help.
View 6 Replies View RelatedI have been install LAMP ok. ware i want to write php lang in nano , vi or vim. how to host the website
View 1 Replies View Relatedimplementing hamming code in c: Calculating the Hamming Code The key to the Hamming Code is the use of extra parity bits to allow the identification of a single error. Create the code word as follows:
Mark all bit positions that are powers of two as parity bits. (positions 1, 2, 4, 8, 16, 32, 64, etc.)
All other bit positions are for the data to be encoded. (positions 3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, etc.)
[code]....
I need a code for a multi client and server
where a client need to login to server after a connection has been established if login is not sucessfull connection should be terminated I need it in c language
server asks client name and password if authenticated , a connection is established . and if client is new can also register its name
I have done it using files but its not working when asks for user name it searches a file with that username if a file is found and password with same as username it opens the username file check for the string if it matches with the string login is ok
openSUSE-11.3-Addon-Lang-i586.iso and openSUSE-11.3-GNOME-LiveCD-i686.iso
Index of /distribution/11.3/iso
And what is openSUSE-11.3-Addon-NonOss-BiArch-i586-x86_64.iso ?
I use Fedora 10.When I use Firefox , the following message appear with the dialog box.java.lang.SecurityException:Changing the SecurityManager is not allowed.:I click OK button.How can I do for it.
View 1 Replies View RelatedI installed Fedora 11, but i can't do programing
teh fedora seems not to include anything IDE for free like previous version
I can not search on installed desktop what software were included
it asks me to connect to the Internet to view the installers and install new things
I'd also like to compile latex to have a Qt IDE installed but none are there for me
i am in the process of learning bash programming,i have a any problem,about call my own C language functions directly or runtime from bash shell?
[Code]...
I am in the process of learning bash programming,i have a any problem,about call my own C language functions directly or runtime from bash shell?
example :
each functionCalltobash1 and functionCalltobash2 have many other function inside themself.
Is bash shell support invoked my C function?
The automatic updater cannot install bundle-lang-gnome 2233: "A protected system package cannot be removed" ("Ein geschtztes System-Paket kann nicht entfernt werden.")Detail info: "Subprocess failed. Error: RPM failed: error: package bundle-lang-gnome-extras-de-11.2-19.21.1.noarch is not installed"
View 1 Replies View RelatedThe first is Mp3 which is no problem for Ubuntu. The second is WMP, also no problem. The third format is WMA, which uses an Overdrive Media Console designed to run in Windows. This has stumped me. I was hoping to run it in Wine, but the media console refuses to download into Ubuntu. Then I tried downloading the audio file straight into Ubuntu. What I get is a text file in some programing language, parts of which are in readable english describing the book and lines of code refering actual audio files(HTML tags?).So Can anybody tell me how to play WMA audio books in Ubuntu. The rest of the media is installed and works perfectly.
View 1 Replies View RelatedI was messing around trying to be able to download minecraft to my computer (it's very confusing for Linux, and I know nothing about this system!) Now when I try to install apps in the Software Center I get this error:
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
return depends, self._cache.required_download,
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the sun-java6-jre package. This might mean you need to manually fix this package.
I've seen a solution that seemed to work for someone else but when I go into the Terminal and type in the commands it asks for my sudo password and I have no idea what that means/is because I never set any kind of password like that.
working on a script to update .Jar file, I have tried jar xf to unpack and jar cf to repack it is giving me java.lang.NoClassDefFoundError exception at main class. I also tried jar uf, which is also not working for me Basically my jar file requires to update date, which i do from "winrar" Manual it works fine, but now to remove "Donkey work", i want to make an script which does this all automatically, and the last stage is to update jar file which is not happening.
View 1 Replies View RelatedThere's a folder on my Linux desktop which shouldn't exist. The first time I saw it, I thought I'd accidentally copied it from somewhere else, so I deleted it. Now it's back again. So it must have been automatically created by some process, but what can I do to figure out which program is creating it? I think it's likely that if I delete the folder it'll eventually be created again, so I should be able to catch this program in the act if anyone can suggest a technique for doing so. By the way, there are no files in this mystery folder, and its name is the same as another folder I created months ago to hold my personal documents, not something that a program would create to hold its own configuration files or the like.
View 2 Replies View Relatedi want to know who created the user(this user was created 1yr ago).Is there any process or command to know who created the user and which date he was created
View 1 Replies View RelatedI have 1TB of USB drive in which i have created 2*500gb partitions and i want to use it in linux-5 on single mount point with 2partitions.
View 3 Replies View RelatedIm a new user of Linux, for my present activity, I was able to create a new partition in my terminal using fdisk.So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problm is, how can I use that partition or how can I save files or install applications on it? I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it,but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though
Thanks
Is there a command to list all of the users I, as an administrator have created? It is difficult to tell the users I created from those created by the system by reading /etc/passwd. I thought 'man 5 passwd' would shed some light on this but is wasn't so
View 3 Replies View RelatedI guess in most cases when extracting a tar achive ,we will get a directory with the same name as the archive file but different suffix. but in some unlucky case, as I met today, after extract a tar bar I find lots of files spread in the working directory, which is really nuisance.so what I want to learn from you is that how can I move thoes newly created files ? I know it should be some "find plus rm" fancy approch there, but I don't know exactly how.
View 3 Replies View RelatedI have an image of the entire disk created using dd. The disk structure follows:
The image was created using:
How would I, if it is possible, mount /dev/sda1 from the image so that I'm able to read the contents?
It's not an option to clone the HDD again, I know how to do it if I had only cloned the single partition by itself. I hope it's still possible with the current image.