Thread: Im so dumb

  1. #1
    Registered User ytaipsw's Avatar
    Join Date
    Mar 2006
    Posts
    41

    Im so dumb

    hey guys i have a question about compiling
    when i download a program's code
    and i open a folder
    and theres like 8 files in there
    am i supposed to assume that they go together and complie them all
    how do i complie 8 files that look like they go together
    i don't have any instructions

    im trying to use AIM custom client
    if anyone knows about this or is willing to help me lot send me your screen name or let me know

    thanks
    -Ytaipsw

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Are these files .cpp's and .h's?

    Add them to a project, and compile.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    ...and i open a folder and theres like 8 files in there...
    You have 8 source code files or header files? (Files that have a .C, .CPP or .H suffix?)

    Or, did you download a compiler?

    If these source code files, you are probably going to need some instructions from the program author.

    First off, there is probably some non-standard code. In that case you'll need to use the specified compiler (and libraries). Very few real-world programs are pure standard ANSI/ISO C++.

    If you do get a different compiler, make sure to try "Hello World" first... Make sure the compiler is working before you load an unknown program.

    If you can't get the "correct" compiler, you may need to re-write the non-standard parts of the code... That could be a BIG job.

    Take a look at the Multiple Source File FAQ. That won't tell you how to use your compiler, but it might be helpful.

    Whenever I have to modify some old program, I'm never surprised if it takes me a day to get to the point where I can re-compile... In fact, I'm quite happy if I can get everything working in the first day.
    Last edited by DougDbug; 12-13-2006 at 07:36 PM.

  4. #4
    Registered User ytaipsw's Avatar
    Join Date
    Mar 2006
    Posts
    41
    this is much more helpful that i thought it would be

    im using Dev-C++
    but....... i dont' know how to add them to a project *smacks self in face

    i could figure this out myself but if you tell me it would be faster

    thanks am ton
    -ytaipsw

  5. #5
    Registered User
    Join Date
    Jan 2005
    Location
    Estonia
    Posts
    131
    i think a right click on the project tree will do the trick(atleast I think it will). The option should also be avaible under the File menu. But first, you have to CREATE a project and then you can add files.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Do you have any other files, like

    proj.dsw
    proj.dsp
    These are project files for VC6

    proj.dev
    This is a project file for dev-c++

    Makefile
    This is a project file for Linux

    It's pretty rare for a multi-file project to be distributed without any kind of readme.txt or a project to make the whole thing.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  7. #7
    Registered User ytaipsw's Avatar
    Join Date
    Mar 2006
    Posts
    41

    Ahhhhhhhhhh

    AHHHHHHHHHHHHHHHHHHHHHHHHHHHH IM SO FRUSTRATED

    i put them all into a project and i got 500 errors, i don't know why, it think it has something to do with where they are located but i really have no idea

    if someone was willing to download the AIM custom client and make it work, and then help me make it work, i would appreciate it A LOT!

    im using windows, devc++
    im trying to write a chatbot

    and i saw no project files
    thanks

    -ytaipsw

  8. #8
    Insane Game Developer Nodtveidt's Avatar
    Join Date
    Nov 2006
    Location
    Isabela, PR
    Posts
    105
    Got a URL for the sourcecode?

  9. #9
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    A search for "AIM custom client" returned this, which seems to imply that you need the SDK (Software Development Kit) and a registration key. I have no idea what's in this one, but a software development kit will usually include one or more libraries, documentation, and some sample code.

    If you are missing the libraries, then your code is calling library functions that you don't have. That might cause "500 errors". There probably aren't really 500 errors... Once the compiler gets lost & confused, funny things can happen.

    They also have a forum. Maybe somebody there can get you started.

    I don't know how much programming experience you have, but I'm getting the impression that you are getting in over your head. That's up to you to decide, but if that's the case, maybe you should work on something simpler for awhile...

  10. #10
    Registered User ytaipsw's Avatar
    Join Date
    Mar 2006
    Posts
    41
    The AIM fourm is like... dead

    i got microsoft visual cPp

    i needed it because it was a .vcproj file

    so i opened the project and it said i had to convert it because the project was made with an earlier version of MVC++

    so i converted it and then i tried to 'build' it which i assume is the same as 'compile'
    and heres that the log said:

    1>------ Build started: Project: accbot, Configuration: Release Win32 ------
    1>Compiling...
    1>StdAfx.cpp
    1>c:\documents and settings\ytaipsw ewypt\desktop\cciam\include\AccBase.h(16) : fatal error C1083: Cannot open include file: 'oaidl.h': No such file or directory
    1>Build log was saved at "file://c:\Documents and Settings\Ytaipsw Ewypt\Desktop\CCIAM\distobjs\release\clients\accbo t\BuildLog.htm"
    1>accbot - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


    so i guess 'oaidl.h' either has somethign wrong with it or it isn't there

    so i tried looking around the MVC++ directories for the include files
    and i found some so i tried to copy the 'oaidl.h' file from my Dev-c++ include files into there and i got a bunch of errors that said something about default int type, and my friend told me that meant it somehow got included twice, but i dunno.......

    can anyone help?

    thanks
    -ytaipsw

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dumb Terminals
    By samudrala_99 in forum Linux Programming
    Replies: 2
    Last Post: 08-08-2002, 04:10 PM
  2. dumb beckham joke for stevey
    By C_Coder in forum A Brief History of Cprogramming.com
    Replies: 44
    Last Post: 06-08-2002, 08:23 AM
  3. Im new and dumb :)
    By Prodigy in forum C++ Programming
    Replies: 1
    Last Post: 05-04-2002, 11:27 AM
  4. Dumb Consumer-information instructions !!!
    By stevey in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 04-24-2002, 06:22 PM