|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
C programming help? |
|
Posted: Thu Jan 17, 2008 5:59 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
hey guys, i got a book called "C programming for dummies" and was doing pritty good, intill i got to a point where it was telling me to make gcc to work with command prompt, do ineed to download GCC or somthing? because every time i would go through the steps, it would never work |
|
|
|
|
Posted: Thu Jan 17, 2008 6:19 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
What operating system you are using? GCC is usually available by default in *nix boxes. |
|
|
|
|
Posted: Thu Jan 17, 2008 6:36 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jan 17, 2008 8:17 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jan 17, 2008 10:05 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
yep i have backtrack and vmware. man do i love backtrack |
|
|
|
|
Posted: Thu Jan 17, 2008 10:12 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
so does cygwin do the same thing as gcc? |
|
|
|
|
Posted: Thu Jan 17, 2008 10:35 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
slain wrote: | so does cygwin do the same thing as gcc? |
GCC is just one of the many packages coming with CygWin. So be sure, that you install GCC with CygWin and that's all. |
|
|
|
|
Posted: Thu Jan 17, 2008 10:47 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Thu Jan 17, 2008 11:44 pm |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
so how do iinstall the gcc when iget cygwin? |
|
|
|
|
Posted: Fri Jan 18, 2008 12:01 am |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
ima bout to just program in backtrack because everything is already there. is this a good idea for a beginner? |
|
|
|
|
Posted: Fri Jan 18, 2008 12:08 am |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
|
|
|
|
Posted: Fri Jan 18, 2008 12:46 am |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
ok i went to backtrack and coded this goodbye.c
#include <stdio.h>
int main()
{
printf("Goodbye, cruel world!\n");
return(0);
}
but when i try to compile it says: warning no newline at end of file.
any help? |
|
|
|
|
Posted: Fri Jan 18, 2008 1:12 am |
|
|
slain |
Regular user |
|
|
Joined: Jan 17, 2008 |
Posts: 11 |
|
|
|
|
|
|
|
goodbye.c:7:2: warning: no newline at end of file |
|
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|