Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: C compiling help!

                  
   
  1. #1
    DCEmu Coder BrooksyX's Avatar
    Join Date
    Feb 2006
    Location
    Washington, U.S.
    Age
    35
    Posts
    1,336
    Rep Power
    88

    Default C compiling help!

    Okay i have decided i want to learn to program in c. I am going to start with windows and then move my way to the psp.

    Anyways right now I am using "Visual C++ 2005 Express edition" and i can not figure out how to compile what i have. Can anyone please help?


  2. #2
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    like you are having errors? are you trying to compile it for psp? if so, make sure you do not make a windows form. Also, you can easily write your programs in a text editor. I havent really gotten very deep into c programming because i thought I would learn lua first instead. But yeah, explain a little better, i may be able to help.
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  3. #3
    DCEmu Coder BrooksyX's Avatar
    Join Date
    Feb 2006
    Location
    Washington, U.S.
    Age
    35
    Posts
    1,336
    Rep Power
    88

    Default

    no i am not having any errors, i just want to know how to do compile what i have?

    Yeah i also tried the whole lua thing but i decided to forget it due to that fact that it is not as powerfull and well rounded as c.


  4. #4
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    I just needed somewhere to start so i went with lua. But anyway, you want to compile it into an eboot? or a windows form? Eboot is more complicated, but if your program is for windows, then its as simple as pressing F5 from within Visual Studio. As for an eboot, you would need to have the psp toolchain and SDK installed along with a makefile that is made specifically for your program.
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  5. #5
    DCEmu Coder BrooksyX's Avatar
    Join Date
    Feb 2006
    Location
    Washington, U.S.
    Age
    35
    Posts
    1,336
    Rep Power
    88

    Default

    yeah i know eboot is more complicated that is why i am trying to learn windows first. When i press f5 i get nothing but oh well.

    Does anyone know of any free,good windows based c compiler?


  6. #6
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    yeah, try DevC++ i think they might have DevC as well, if not, i think it is built into DevC++. This is what I had used for a while when i was learning to program in C++. Also, the reason you might not be getting anywhere is the fact that there might be errors in your code. there should be a dialog box at the bottom of the screen that has information from your compilation. Of course, the only things I ever made in C++ and Visual Basic were in windows forms, which are pretty easy. I made a calculator with a GUI and a Music player with a GUI (i also made a version of pong). Anyway, i wouldn't really know what to do unless i were there. If you can find out what errors are occuring or if you forgot some code, let me know.
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  7. #7
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    try using different F buttons instead of F5, maybe i was wrong, but it seems like that was the button it said to press.
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  8. #8
    DCEmu Coder BrooksyX's Avatar
    Join Date
    Feb 2006
    Location
    Washington, U.S.
    Age
    35
    Posts
    1,336
    Rep Power
    88

    Default

    i am just going to restart with that dev c++ and find a better tutorial.


  9. #9
    DCEmu Coder MasterChafed's Avatar
    Join Date
    Jul 2005
    Location
    Colorado
    Age
    34
    Posts
    832
    Rep Power
    94

    Default

    ok
    http://one.revver.com/watch/170516
    http://one.revver.com/watch/167200

    Please click the links above to watch my stick figure animations,
    and please, if you have the time, click the ads at the end to earn me some money.

  10. #10
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    If you are using the VC++ EE, a makefile project would probably be the easist routeto compile an eboot.

    Code::Blocks is a good IDE (the nightly builds) that uses the same MinGW compiler as DevCpp but boasts more features in the IDE. It is also a lot more lightweight then VC++ EE.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •