Full Version: Ms Visual C++ How To?
ducky
well...i decided to learn compiling myself today..with this softie smile.gif

Tried the buttons and all...but i cannot find anything about making .c txt to .exe file...


anyone can help me or guide me for the solution ??



THNX in advance smile.gif
l0wkey
I am having that same issue myself. Can't figure out how to compile c in win32. Tried cgywin, nada. If this was linux I would be fine. I have tried a few win32 gcc clones none work for me either.
GSecur
when you say yout tried cygwin and naadaa what do you mean?
gros_tony
You just have ton open your .c file with ms vc++, create an active workspace, then you compile, and if here's no error you build the file.

(I can't explain with mroe précision VC isn't install any more on my computer...)
Jackson
kewl yet can i compile the exploits lol nice heheh
i must check that

what can i make when i have an error ??
supafly
hahahah nubs
Hexboy
Okay, I don't have vc++6 installed, but heres what i remember from years of use.
If you're talking about vc++.net, no clue.

you go file->new then PROJECT (win32 console app)
..
okay, now you go file->new source file , select c++ file or whatever and name it and be sure its added into current project.

code. compile and run with ctrl+f5. enjoy

a quick and easy way to add libs to the project is to add the code

#pragma comment(lib, "ws2_32.lib")
if i'm not mistaken.

cheers.
ducky
Thanks for the help...gonna try it right away smile.gif
gros_tony
QUOTE (Jackson @ Dec 29 2003, 10:41 PM)
kewl yet can i compile the exploits lol nice heheh
i must check that

what can i make when i have an error ??

many possibilities :

1) Your c file is for linux
(you can see withthye includes files :
for example include sys/socket.h is a linux source,include winsock.h winsock2.h s a win source)

2) You had to include libraries.

3) Be sure it's c and not cpp !!

4 every compilators are not always compatible when there are sockets.
For example, dev-c++ don't recongnise the winsock.h header (if I good rememer...)
Bye, hoping I helped you !


PS :for supafly, your post was reaaly important, do you never was a newbie ???
Or you just want to make your countpost bigger.... ?

PS2 : sorry for my abd english.
headbanger
i prefer lcc-win32 the best
dev-c++ is good too
zola
i ask my friend to compile my *.c file. Must i format(in the linux component) it to enable it to open in window (example: to enable Linux Office writer)? or it is ok if i didn't format my diskette? if you did not understand my question, please ask, i'll elaborate.

one more thing, i could not do .h file in different source file. if i want to make class, ihad to declare it above the implementation code. anybody know how to separate header files from implementation files. i use both visual c++ and borland. unsure.gif
pdf
hey m8 learn from books an toturials smile.gif

http://www.governmentsecurity.org/forum/in...wtopic=704&st=0
metrox
thanks i have msvc allready last weekend installed, i want also learned more about coding, thanks

metrox
zola
tongue.gif Yo pdf, i don't think you're any better than me. i'm sure you understand my question but yet you don't know the answers. did you know creating separate header files in visual c++ and borland is different although the concept is the same?
--> i want specific answers, not a lot bunch of articles which i had known. Sorry, i'm pissed off because your reply isn't relevant.
Hawk12
I'm new ,too and I compil with Visual C++ 6.0
I think it's easy but I can only compil in windows but many exploits are for Visual C++


sorry for my bad english
Niekos
QUOTE (headbanger @ Jan 6 2004, 06:34 AM)
i prefer lcc-win32 the best
dev-c++ is good too

I think LCC is the easiest for people who are beginning with compiling source code. Just read the LCC help files or search www.google.com for a guide. It's real simple. The diffiicult part is to edit source or even write code from scratch. Succes !!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.