LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

how to compile c program in linux

Posted 03-15-2011 at 01:25 AM by sumeet inani

In windows , I used to run borland C++ compiler which also provides help on all functions defined in various libraries.

In ubuntu 10.04 I do
Code:
gcc c_program.c
It will provide error output , if any. Otherwise produce a.out in current folder which can be executed
Code:
./a.out
In one of my threads I learnt that you should end printf with '\n' so that buffered output is flushed on screen.
You can also use 'fflush(stdout);'...
Member
Posted in Uncategorized
Views 2242 Comments 1 sumeet inani is offline
Old

black stripes around mouse pointer + monitor out of range

Posted 03-15-2011 at 01:12 AM by sheyer

Hallo,

i have seen that for some years another person has the same question already ask, but does not received any answer.

I have also for some days receive very irritating black vertical lines spaced equally closely surrounding the mouse pointer, which does not disappear. I use the operating system Linux Debian. Under Windows ( i have both operating system on my PC) this problem does not appear.

Some more details about the appearance:
I have first...
LQ Newbie
Posted in Uncategorized
Views 2643 Comments 1 sheyer is offline
Old

no

Posted 03-14-2011 at 10:52 PM by MrCode
Updated 04-02-2011 at 03:28 PM by MrCode (Major program revision)

Code:
#include <stdio.h>
#include <string.h>
#include <malloc.h>

int main(int argc,char** argv)
{
    char* str = malloc(1);
	
    if(argc >= 2)
    {
        int i;
        for(i = 1; i < argc; i++)
        {
            strcat(str," ");
            strcat(str,argv[i]);
        }
        
        int len = strlen(str);
...
Member
Views 747 Comments 0 MrCode is offline
Old

windos installer to install vinux on your systom

Posted 03-14-2011 at 05:36 PM by shade sole

hi i am trying to find a windos installer , that will install the vinux iso beside my sistom iso, or my windos iso i tryed woo by, but it did not have vinux as wone of its choises does some one no of another installer that can do that and it must work with screen readers and it must have vinux as one of its choises i might of spelled woo by rong but i am

shore that some one will know what i am talking about it is so hard finding a installer that can do this
LQ Newbie
Posted in Uncategorized
Views 378 Comments 0 shade sole is offline
Old

My path to linux

Posted 03-13-2011 at 03:10 PM by Animal X

hi,
i am a noob
so im writing this for other noobs
i started out on a trs-80 color computer(and learned some basic as a teen, just for fun)
an IDS intelect ibm compatible that we loaded dos into from a floppy(the real ones), this was so i could play Flight Simulator
apple iie(very little on this, it was my parents, lol)
then win 95 (got me into dealing with spreadsheets)
then win 98 (got me into internet chat and gaming, no kidding)
then win...
LQ Newbie
Posted in Uncategorized
Views 397 Comments 0 Animal X is offline

  



All times are GMT -5. The time now is 07:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration