LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

memory allocation

Posted 03-30-2010 at 12:01 AM by amused

How do we allocate memory of struct?

what i did was

Code:
int main()
struct amp
{
    string z;
    char y;
    float x;
    int w;
};

cout <<"The size of 'struct' is"<< sizeof(struct amp)<<"and it is located at"<<struct amp*s = malloc(sizeof(struct amp))<<endl;
it gives me an error---

In funtion 'int main()':
...
LQ Newbie
Posted in Uncategorized
Views 1159 Comments 1 amused is offline
Old

Histwi — Powerful twitter tools

Posted 03-29-2010 at 09:07 AM by sridhar11

Histwi is linux desktop program for Twitter account management.

Full Story
Member
Posted in Uncategorized
Views 909 Comments 0 sridhar11 is offline
Old

How to Set Up a High Performance Cluster (HPC) Using Debian Lenny and Kerrighed

Posted 03-29-2010 at 09:06 AM by sridhar11

There are many guides found on the net describing Kerrighed and how to set it up using Ubuntu and others.
However, to the best of my knowledge there isn’t a step by step guide specifically designed for Kerrighed using Debian Lenny. So here it is. You can set up your own Beowulf Cluster using Debian Lenny and Kerrighed in about 50 steps. Many of the steps described here are taken straight from other guides because there are applicable
here (see sources at the bottom.) Many other...
Member
Posted in Uncategorized
Views 2612 Comments 0 sridhar11 is offline
Old

stevos bogg

Posted 03-29-2010 at 01:52 AM by mecelec415

A bit about me . I first tried mandrake back in the days of dail up I could never get it to work my win modem.around mandriva 2005 i got into mandriva and havent really had a windows computer since.
i would like to use autocad but yet to get it to work on linux.
wanna know more about me or talk with me
http://hadagutfull.net/hada_blog/
you gotta love linux its all free.
am i correct in my thinking using mandriva one and any software from the package manger is...
Member
Posted in Uncategorized
Views 909 Comments 0 mecelec415 is offline
Old

stevos bogg

Posted 03-29-2010 at 01:52 AM by mecelec415

A bit about me . I first tried mandrake back in the days of dail up I could never get it to work my win modem.around mandriva 2005 i got into mandriva and havent really had a windows computer since.
i would like to use autocad but yet to get it to work on linux.
wanna know more about me or talk with me
http://hadagutfull.net/hada_blog/
you gotta love linux its all free.
am i correct in my thinking using mandriva one and any software from the package manger is...
Member
Posted in Uncategorized
Views 711 Comments 0 mecelec415 is offline

  



All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration