Thread: Problem with compiling

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    7

    Problem with compiling

    Well this is just really frustrating
    My program didnt work to the way I am designing it to but I was just going through the test stages to get all my functions working.

    Well when I finally got my program to compile and give me the output I wanted I decided to tweak something. I went to go see if tthe character x existed in a string in my Poly.cpp file.

    Now after I did that I compiled it and go extremley weird erros so now I removed it and it is back into its original state and now it STILL does not compile and after looking for hours I just have no clue why?

    Can any of you assist me becase I am in a bind?

    THanks
    Chris

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    *shakes head in disappointment*

    two words : back up

    ...always, no matter how minor the change

    if you find yourself compiling as you go (which you should get out of the habit doing)..write your own back up program that will do it automatically....

    everytime i compiled is a different stage in the program and i backed that up with a nifty little tool that i wrote until i lost it (ha ha, shutup)...that way you also have a spare..that and if you run into a big design problem, you may be able to revert back to an earliar stage instead of writing everything from scratch again
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    by the way...i suggest you post your files as .txt's....i'm abit weary of unknown .zip files...
    ecspecially when most projects around here are rarely even half the size of the zip file you posted...and zip files are compressed....

    not only that, but i'm pretty sure the *nix folks aren't to fond of them either
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  4. #4
    Registered User
    Join Date
    Dec 2004
    Posts
    7

    Text Files

    Yup no problem here are the attached text files

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659

  6. #6
    Registered User
    Join Date
    Dec 2004
    Posts
    7
    yah this is my only my first semester of sophmore year programming so I learned the hard way. Does anyone know atleast what the compile errors mean?

  7. #7
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    sorry dude.....i'm not in *nix tonight....i'm not going to go through and change 0A to 0D 0A
    everytime there's a new line.
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  8. #8
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    For all those of us that don't have a compiler right here or don't have the time to make a project from your files, please post the lines of the error, the five lines above and below and the compiler error message.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Running Program After Compiling
    By kristentx in forum C++ Programming
    Replies: 13
    Last Post: 09-12-2007, 10:46 AM
  2. Problem compiling simple code examples
    By Wintersun in forum Windows Programming
    Replies: 8
    Last Post: 08-14-2007, 10:30 AM
  3. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 02:51 PM
  4. compiling problem
    By tinkerbell20 in forum C++ Programming
    Replies: 6
    Last Post: 06-21-2005, 12:12 PM
  5. simple compiling problem
    By waxydock in forum C++ Programming
    Replies: 2
    Last Post: 03-26-2005, 10:33 AM