Jump to content

Help!!! With c programming!!!!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
russian777

russian777

    Newbie

  • Members
  • PipPip
  • 29 posts
So we got a project at school , we're supposed to design a software in module format to calculate a whole heap of stuff so neeed some help with a few things here using C :

1.Write an algorithm for a module called dataSort( ) that will be used to sort the arrays
sLengthArray, rSlopeArray and speedArray using selection sort.

WTF is selection sort and how to use it?



2. CD should auto run with the executable file from the program when inserted into the computer????????????/
Is there a special code or setting or something to mke the comptuter automatically run it?

Plz help

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
1) Selection Sort

2) Autorun

3) Use Google, it will answer many of your questions
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
lucuis

lucuis

    Newbie

  • Members
  • PipPip
  • 21 posts
Take a look at Selection sort tutorial

Edited by lucuis, 18 November 2008 - 09:30 AM.


#4
russian777

russian777

    Newbie

  • Members
  • PipPip
  • 29 posts
Ok so the selection sort thing hlped tnx for that, but i need like the exact source code for the autorun in C , as the google search is helping cuz apparntly alot of ppl have posted anti virus ans etc on a file called autorun inf.

so an exact source code would be nice

Also i cant seem to find how to add colour to text , or atleast the format in which to go about printing text in colour

Edited by WingedPanther, 20 November 2008 - 02:21 AM.
double post


#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Autorun.inf is a text file. If you click on the link I provided, it will give you info on how to set it up.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog